Roland Geider
62dff9635d
Comment again building of base image
...
This could be done locally, but letting Github do it ensures that the image
is built from a clean source
2021-06-18 09:54:34 +02:00
Roland Geider
1d727e7ff5
Tag docker images with 2.1-dev
2021-06-17 17:47:52 +02:00
Roland Geider
bfa85bbee4
Use slim version of super linter
...
This reduces the size of the docker image and results in faster checks
2021-05-30 16:49:41 +02:00
dependabot[bot]
dbf58b980e
Bump actions/cache from 2.1.5 to 2.1.6
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2.1.5 to 2.1.6.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2.1.5...v2.1.6 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-05-28 05:16:32 +00:00
Roland Geider
1e406b364a
Merge pull request #691 from wger-project/dependabot/github_actions/docker/build-push-action-2.5.0
...
Bump docker/build-push-action from 2.4.0 to 2.5.0
2021-05-27 11:15:26 +02:00
dependabot[bot]
abc30d2ab7
Bump docker/setup-qemu-action from 1.1.0 to 1.2.0
...
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](https://github.com/docker/setup-qemu-action/compare/v1.1.0...v1.2.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-05-27 05:31:38 +00:00
dependabot[bot]
3441103ac2
Bump docker/build-push-action from 2.4.0 to 2.5.0
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v2.4.0...v2.5.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-05-27 05:31:33 +00:00
Roland Geider
fe9e593845
Merge pull request #683 from wger-project/dependabot/github_actions/docker/build-push-action-2.4.0
...
Bump docker/build-push-action from 2 to 2.4.0
2021-05-25 13:11:18 +02:00
Roland Geider
86e0669433
Merge pull request #682 from wger-project/dependabot/github_actions/actions/checkout-2.3.4
...
Bump actions/checkout from 2 to 2.3.4
2021-05-25 13:09:22 +02:00
Roland Geider
7dc88b781b
Merge pull request #677 from wger-project/dependabot/github_actions/docker/setup-buildx-action-1.3.0
...
Bump docker/setup-buildx-action from 1 to 1.3.0
2021-05-25 13:09:07 +02:00
dependabot[bot]
314a943455
Bump github/super-linter from 3.17.0 to 3.17.1
...
Bumps [github/super-linter](https://github.com/github/super-linter ) from 3.17.0 to 3.17.1.
- [Release notes](https://github.com/github/super-linter/releases )
- [Commits](https://github.com/github/super-linter/compare/v3.17.0...v3.17.1 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-05-13 05:33:37 +00:00
dependabot[bot]
00fbbee109
Bump docker/setup-buildx-action from 1 to 1.3.0
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 1 to 1.3.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v1.3.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-05-12 08:45:21 +00:00
dependabot[bot]
ee17d6fac1
Bump docker/build-push-action from 2 to 2.4.0
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 2 to 2.4.0.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v2...v2.4.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-05-12 08:44:54 +00:00
dependabot[bot]
9da1d6fc86
Bump actions/checkout from 2 to 2.3.4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 2.3.4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v2.3.4 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-05-12 08:44:51 +00:00
Roland Geider
a837c0632c
Merge pull request #681 from wger-project/dependabot/github_actions/github/super-linter-3.17.0
...
Bump github/super-linter from 3 to 3.17.0
2021-05-12 10:44:50 +02:00
Roland Geider
da498294af
Merge pull request #680 from wger-project/dependabot/github_actions/actions/cache-2.1.5
...
Bump actions/cache from 2 to 2.1.5
2021-05-12 10:44:45 +02:00
Roland Geider
7540a578ac
Merge pull request #679 from wger-project/dependabot/github_actions/docker/login-action-1.9.0
...
Bump docker/login-action from 1 to 1.9.0
2021-05-12 10:44:36 +02:00
dependabot[bot]
4d725c4f4b
Bump github/super-linter from 3 to 3.17.0
...
Bumps [github/super-linter](https://github.com/github/super-linter ) from 3 to 3.17.0.
- [Release notes](https://github.com/github/super-linter/releases )
- [Commits](https://github.com/github/super-linter/compare/v3...v3.17.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-05-12 05:06:50 +00:00
dependabot[bot]
b3332c603d
Bump actions/cache from 2 to 2.1.5
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2 to 2.1.5.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2...v2.1.5 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-05-12 05:06:47 +00:00
dependabot[bot]
5bd56f55b5
Bump docker/login-action from 1 to 1.9.0
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 1 to 1.9.0.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v1...v1.9.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-05-12 05:06:43 +00:00
dependabot[bot]
991337d238
Bump docker/setup-qemu-action from 1 to 1.1.0
...
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 1 to 1.1.0.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](https://github.com/docker/setup-qemu-action/compare/v1...v1.1.0 )
Signed-off-by: dependabot[bot] <support@github.com >
2021-05-12 05:06:40 +00:00
Roland Geider
e1bb11f973
Fix wording
2021-04-24 12:31:56 +02:00
Roland Geider
4615e0e2d2
Merge pull request #620 from bradsk88/404-for-gym-mismatch
...
fix(): 404 if a trainer tries to login to a different gym
2021-03-10 10:09:50 +01:00
Roland Geider
c887751742
Add issue templates
2021-03-09 12:34:56 +01:00
Brad Johnson
0b1619b874
fix(): 404 if a trainer tries to login to a different gym
...
Rather than just returning "permission denied", we can interpret this scenario
as a "failure to look up a user with that gym/user ID combo".
This should give users the information they need to self-recover, while not
leaking any other sensitive details.
Fixes : #585
2021-03-07 21:31:11 -06:00
Roland Geider
c7ebe3b07d
Git checkout HEAD^2 is no longer necessary
...
Code Scanning recommends analyzing the merge commit for best results.
2020-12-27 10:11:19 +01:00
Roland Geider
912cafe288
Reduce the number of parallel tests
...
According to The Internet, this might fix an "The operation was canceled."
error that was happening recently during tests.
2020-12-17 23:28:28 +01:00
Roland Geider
3155ef34a2
Fix linting problems with migrations again
2020-12-03 18:35:38 +01:00
Roland Geider
61696cfeb1
Fix dependabot docker path
2020-11-17 13:19:31 +01:00
Roland Geider
2f23d638a4
Add white logo, small fixes to SVG
2020-11-11 18:38:07 +01:00
Roland Geider
bce9c9d277
Use major version 3, no need to pin a specific one
2020-11-02 15:36:04 +01:00
Roland Geider
95bb52a681
Let dependabot check for updated docker images
2020-11-02 14:57:30 +01:00
Roland Geider
d1b4529156
Don't always build base image
...
The base image doesn't change so often, plus this means that the cached version
will be used e.g. when users pull new dev oder apache images
2020-11-02 14:49:40 +01:00
Roland Geider
c6a1423f24
Also test the application with python 3.9
2020-10-29 22:43:35 +01:00
Roland Geider
250009e5a5
Only update coverage report artifacs when needed
...
The other python versions don't generate any
2020-10-29 22:42:09 +01:00
Roland Geider
4938fd7f42
Explicitly run manage.py with python when not using coverage
...
This seems to be necessary
2020-10-29 22:29:33 +01:00
Roland Geider
a8cd51b923
Fix yaml structure
2020-10-29 22:26:20 +01:00
Roland Geider
ed1947ada5
Only run the tests with coverage for one version of python
...
This is specially important for pypy, where the tests with activated coverage
need around 15 minutes longer than without.
2020-10-29 22:24:49 +01:00
Roland Geider
c3586534d6
Generate plain text report on the console for easier viewing
2020-10-29 18:43:20 +01:00
Roland Geider
788f5b889e
Directly call the manage.py file
2020-10-29 17:46:28 +01:00
Roland Geider
9d99543725
Fix yaml structure
2020-10-29 17:43:41 +01:00
Roland Geider
5a3c8bf93f
Generate coverage reports for the tests
2020-10-29 17:41:18 +01:00
Roland Geider
f21adb98f1
Try testing the application with Pypy
2020-10-29 13:53:14 +01:00
Roland Geider
cb4a64bcf4
Don't need to glob for requirements file, there is only one
2020-10-29 13:40:23 +01:00
Roland Geider
dfdc38a1a8
Don't test the application again with sqlite
...
There hasn't been any bugs that occured in one DB but not the other, plus this
speeds up the CI runs.
2020-10-29 13:39:54 +01:00
Roland Geider
af9a7b8f70
Cache pip packages
2020-10-29 13:27:13 +01:00
Roland Geider
78a1937005
Install the wheels package as well
2020-10-29 13:27:02 +01:00
Roland Geider
4b189649cd
Install requirements from production file (has psycopg2)
2020-10-29 13:02:36 +01:00
Roland Geider
2a201c8dc3
Fix YAML file
2020-10-29 13:00:10 +01:00
Roland Geider
ccd1b21992
Add github workflow for continuous integration
2020-10-29 12:52:47 +01:00