Commit Graph

242 Commits

Author SHA1 Message Date
Roland Geider
2ea922fa27 Fix yaml file... 2023-08-09 09:08:52 +02:00
Roland Geider
c1779f820e Correctly tag the docker images 2023-08-09 09:07:43 +02:00
Roland Geider
51f89154c0 Allow to manually trigger building docker images 2023-08-07 16:19:58 +02:00
Roland Geider
3e4bf03b13 Split building the demo image
This doesn't need to be kept exactly in sync with master
2023-07-19 08:56:38 +02:00
Roland Geider
ec7ee17990 Dummy commit 2023-07-12 12:08:12 +02:00
Roland Geider
4615460bf1 Set builder 2023-07-12 11:28:13 +02:00
Roland Geider
1445d14ccb First attempt at caching the image builds 2023-07-11 21:15:03 +02:00
Roland Geider
d91e32c46d We might want to auto build more things, other than the latest and the current version 2023-07-11 20:41:27 +02:00
Roland Geider
f965b2b433 Manually set the latest tag, since we only build for master 2023-07-11 20:32:35 +02:00
Roland Geider
9864f7cb20 Enable "latest" for the default branch (master) 2023-07-11 20:29:31 +02:00
Roland Geider
cc1a8757b0 Set the tag element in the correct place 2023-07-11 20:25:21 +02:00
Roland Geider
01f7fc15f0 Set the correct tags 2023-07-11 20:23:38 +02:00
Roland Geider
d200788aba Don't set the tags at this step 2023-07-11 19:45:35 +02:00
Roland Geider
5267798e45 Set the path to the dockerfile 2023-07-11 19:37:10 +02:00
Roland Geider
2165f699df Build prod images in parallel 2023-07-11 19:31:18 +02:00
Roland Geider
02697acdf0 Update installed packages
* remove git, which was not used
* use the base image for building, which saves us installing one or two things
* add a bunch of stuff so that the images build for arm/v7
2023-07-11 18:27:44 +02:00
dependabot[bot]
6b01b58e91 Bump docker/setup-buildx-action from 2.8.0 to 2.9.0
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2.8.0 to 2.9.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2.8.0...v2.9.0)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-07 23:39:41 +00:00
dependabot[bot]
6c0991efe8 Bump docker/setup-buildx-action from 2.7.0 to 2.8.0
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2.7.0...v2.8.0)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-28 23:42:57 +00:00
Roland Geider
e19b31709a Remove v7 target, this doesn't work yet 2023-06-20 15:00:41 +02:00
Roland Geider
8a83bd8bc9 Also build for arm/v7 architectures
See #1366
2023-06-20 13:55:29 +02:00
dependabot[bot]
9f8b92a70f Bump docker/login-action from 2.1.0 to 2.2.0
Bumps [docker/login-action](https://github.com/docker/login-action) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v2.1.0...v2.2.0)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-14 07:18:04 +00:00
dependabot[bot]
aaa822e4af Bump docker/setup-buildx-action from 2.6.0 to 2.7.0
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2.6.0 to 2.7.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2.6.0...v2.7.0)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-13 23:57:41 +00:00
dependabot[bot]
d077de26b3 Bump docker/build-push-action from 4.0.0 to 4.1.0
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-09 23:56:34 +00:00
dependabot[bot]
b92c394b30 Bump docker/setup-buildx-action from 2.5.0 to 2.6.0
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2.5.0 to 2.6.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2.5.0...v2.6.0)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-08 11:37:10 +00:00
dependabot[bot]
c4814b42c9 Bump docker/setup-qemu-action from 2.1.0 to 2.2.0
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v2.1.0...v2.2.0)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-07 23:56:47 +00:00
Roland Geider
9b10c814fa Fix building the different architectures 2023-04-10 14:12:54 +02:00
Roland Geider
f029f70804 Merge branch 'master' into feature/ingredient-images 2023-04-08 12:23:27 +02:00
dependabot[bot]
7843eb1638 Bump actions/cache from 3.0.11 to 3.3.1
Bumps [actions/cache](https://github.com/actions/cache) from 3.0.11 to 3.3.1.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.0.11...v3.3.1)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-30 23:56:37 +00:00
Roland Geider
c868d23708 Merge branch 'master' into feature/ingredient-images
# Conflicts:
#	requirements.txt
#	wger/exercises/views/exercises.py
2023-03-30 22:09:23 +02:00
Roland Geider
238b45ab01 Trigger when pushing to master 2023-03-17 13:39:58 +01:00
Roland Geider
b1650a22f3 Second attempt 2023-03-17 13:37:56 +01:00
Roland Geider
e155f698b1 Push also applies to pull requests 2023-03-17 13:34:38 +01:00
Roland Geider
5b1f1b012a Merge branch 'master' into feature/ingredient-images 2023-03-16 11:00:13 +01:00
Roland Geider
7b35ed000a Merge branch 'master' into feature/update-bootstrap-5.2
# Conflicts:
#	wger/core/templates/template.html
#	wger/settings_global.py
2023-03-15 22:11:40 +01:00
dependabot[bot]
b68c4a8b1e Bump docker/setup-buildx-action from 2.4.1 to 2.5.0
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2.4.1 to 2.5.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2.4.1...v2.5.0)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-10 23:56:36 +00:00
Roland Geider
a9e204c614 Move actual sync logic to celery tasks 2023-03-06 14:52:02 +01:00
Roland Geider
dda73ec2fa Merge branch 'master' into feature/ingredient-images
# Conflicts:
#	extras/docker/development/settings.py
#	requirements.txt
#	wger/exercises/management/commands/sync-exercises.py
#	wger/settings.tpl
2023-02-14 13:45:50 +01:00
Roland Geider
29a28eee7d Merge remote-tracking branch 'origin/feature/update-bootstrap-5.2' into feature/update-bootstrap-5.2
# Conflicts:
#	requirements.txt
2023-02-08 16:13:21 +01:00
Roland Geider
22a83d93db Merge pull request #1251 from wger-project/dependabot/github_actions/docker/setup-buildx-action-2.4.1
Bump docker/setup-buildx-action from 2.2.1 to 2.4.1
2023-02-08 13:00:58 +01:00
dependabot[bot]
535fa4ceb9 Bump docker/setup-buildx-action from 2.2.1 to 2.4.1
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2.2.1 to 2.4.1.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2.2.1...v2.4.1)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 23:00:43 +00:00
dependabot[bot]
402339089c Bump docker/build-push-action from 3.3.0 to 4.0.0
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3.3.0 to 4.0.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3.3.0...v4.0.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 23:00:47 +00:00
Roland Geider
c77a97f74d Merge branch 'master' into feature/update-bootstrap-5.2
# Conflicts:
#	.github/workflows/ci.yml
#	requirements.txt
2023-01-26 17:12:19 +01:00
Roland Geider
4a8ef0f6c9 Test application with python 3.11 2023-01-26 17:07:56 +01:00
dependabot[bot]
d57c5faa31 Bump docker/build-push-action from 3.2.0 to 3.3.0
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v3.2.0...v3.3.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-16 23:00:49 +00:00
Roland Geider
098598895e Merge branch 'master' into feature/ingredient-images
# Conflicts:
#	extras/docker/development/settings.py
#	requirements.txt
2022-12-15 15:04:35 +01:00
Roland Geider
a68f855a88 Build base image when changing the actions file 2022-12-15 07:31:08 +01:00
Roland Geider
ffd0de8bc8 Build base image for arm v7 2022-12-15 07:27:07 +01:00
Roland Geider
7c7f86c29d Revert building the different archs in parallel
This sometimes causes only one of the architectures to be tagged correctly so that it
is then basically impossible to use it
2022-12-08 17:40:15 +01:00
Roland Geider
945ab722f9 Simplify installation steps 2022-12-07 20:16:15 +01:00
Roland Geider
1eb5072fb7 Also build production docker images in parallel 2022-12-05 18:29:42 +01:00