Robert Schäfer
628b57aa29
feat(other): major improvement of deployment ( #7925 )
...
* feat(other): major improvement of deployment
Motivation
----------
Kubernetes:
* backend becomes a statefulset (exclusive volume mount)
See: https://spacelift.io/blog/statefulset-vs-deployment
* implement neo4j backup with job
Docker:
* consistent targets across all dockerfiles
* remove redundant labels
* remove unnecessary build args
* remove obsolete networks
* remove development dependencies for production
Rebranding:
* add image tags for local tagging and pulling
* use Github's docker build workflows
* use Github container registry
* ONBUILD to simplify caller Dockerfiles
* docker compose for branding
Tooling:
* same node --version as in dockerfile
Docs:
* missing step in README.md
* refactor: remove submodules
It's better to keep them all in a separate repository
* improve kubernetes chart
* better image tag defaults
* split neo4j into its own chart (for re-use)
* use application defaults where possible
* optional resources for all pods
* remove obsolete key/value pair from secrets
* remove obsolete build argsand
and add labels for neo4j enterprise
* env vars for webapp
* allow to define redirect domains
Define a list of Domains that redirect to the domain of the project. The
idea is to provide the ability to redirect eg. www.domain.tld to
domain.tld
* remove maintenance part regarding database
* move backup job outside template folder
* name the ingress
* updated ingress
* handle empty case of middlewares
* try to default the ingress
* use quote
* restore todo-next-update
* fix docu check
* fix naming
* try using prod:migrate
* try using override config
* copy src folder
* try using base as image instead of build
* fix test build
* force build
* comment for the problem
* fix webapp tests (potentially)
---------
Co-authored-by: Ulf Gebhardt <ulf.gebhardt@webcraft-media.de>
2025-02-28 18:22:23 +01:00
dependabot[bot]
0e7c3e5110
Bump actions/cache from 4.1.2 to 4.2.1
...
Bumps [actions/cache](https://github.com/actions/cache ) from 4.1.2 to 4.2.1.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](6849a64899...0c907a75c2 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-22 03:00:32 +00:00
dependabot[bot]
345f9659b8
Bump actions/cache
...
Bumps [actions/cache](https://github.com/actions/cache ) from 8469c94c6a180dfb41a1bd7e1b46ac557ea124f1 to 6849a6489940f00c2f30c0fb92c6274307ccb58a.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](8469c94c6a...6849a64899 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-26 10:05:35 +00:00
dependabot[bot]
3b2d42bfeb
Bump actions/checkout
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 163217dfcd28294438ea1c1c149cfaf66eec283e to 11bd71901bbe5b1630ceea73d27597364c9af683.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](163217dfcd...11bd71901b )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-26 07:01:57 +00:00
dependabot[bot]
e8b660e275
Bump actions/cache
...
Bumps [actions/cache](https://github.com/actions/cache ) from 81382a721fc89d96eca335d0c3ba33144b2baa9d to 8469c94c6a180dfb41a1bd7e1b46ac557ea124f1.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](81382a721f...8469c94c6a )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-21 06:34:36 +00:00
dependabot[bot]
f0d45a422f
Bump actions/checkout
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 6d193bf28034eafb982f37bd894289fe649468fc to 163217dfcd28294438ea1c1c149cfaf66eec283e.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](6d193bf280...163217dfcd )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-20 14:48:01 +00:00
dependabot[bot]
d572aa6d5f
Bump actions/checkout
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 9a9194f87191a7e9055e3e9b95b8cfb13023bb08 to 6d193bf28034eafb982f37bd894289fe649468fc.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](9a9194f871...6d193bf280 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-08 10:37:55 +00:00
dependabot[bot]
c55fbc609d
Bump actions/cache
...
Bumps [actions/cache](https://github.com/actions/cache ) from 40c3b67b2955d93d83b27ed164edd0756bc24049 to 81382a721fc89d96eca335d0c3ba33144b2baa9d.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](40c3b67b29...81382a721f )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-09-08 10:17:55 +00:00
mahula
f037c44045
use docker dompose instead of docker-compose in workflow files
2024-08-05 09:46:29 +02:00
mahula
d87958ce48
fix typo
2024-08-05 09:18:51 +02:00
mahula
a386fe6540
fix typo
2024-08-05 09:15:17 +02:00
mahula
22b9500599
pin all github actions by commit hash
2024-08-04 21:14:06 +02:00
dependabot[bot]
fe88eed883
Bump actions/cache from 4.0.1 to 4.0.2
...
Bumps [actions/cache](https://github.com/actions/cache ) from 4.0.1 to 4.0.2.
- [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/v4.0.1...v4.0.2 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-30 21:30:21 +00:00
dependabot[bot]
a272aa3d53
Bump dorny/paths-filter from 3.0.1 to 3.0.2
...
Bumps [dorny/paths-filter](https://github.com/dorny/paths-filter ) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/dorny/paths-filter/releases )
- [Changelog](https://github.com/dorny/paths-filter/blob/master/CHANGELOG.md )
- [Commits](https://github.com/dorny/paths-filter/compare/v3.0.1...v3.0.2 )
---
updated-dependencies:
- dependency-name: dorny/paths-filter
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-09 02:49:31 +00:00
dependabot[bot]
4a41d1346a
Bump actions/cache from 4.0.0 to 4.0.1
...
Bumps [actions/cache](https://github.com/actions/cache ) from 4.0.0 to 4.0.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/v4.0.0...v4.0.1 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-02 02:06:43 +00:00
dependabot[bot]
c41a8f7a90
Bump dorny/paths-filter from 3.0.0 to 3.0.1
...
Bumps [dorny/paths-filter](https://github.com/dorny/paths-filter ) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/dorny/paths-filter/releases )
- [Changelog](https://github.com/dorny/paths-filter/blob/master/CHANGELOG.md )
- [Commits](https://github.com/dorny/paths-filter/compare/v3.0.0...v3.0.1 )
---
updated-dependencies:
- dependency-name: dorny/paths-filter
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-17 02:14:42 +00:00
c5f9dc6ee0
copy .env file
2024-01-28 13:41:59 +01:00
dependabot[bot]
074ddee0b6
Bump dorny/paths-filter from 2.11.1 to 3.0.0
...
Bumps [dorny/paths-filter](https://github.com/dorny/paths-filter ) from 2.11.1 to 3.0.0.
- [Release notes](https://github.com/dorny/paths-filter/releases )
- [Changelog](https://github.com/dorny/paths-filter/blob/master/CHANGELOG.md )
- [Commits](https://github.com/dorny/paths-filter/compare/v2.11.1...v3.0.0 )
---
updated-dependencies:
- dependency-name: dorny/paths-filter
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-27 02:30:06 +00:00
dependabot[bot]
e1e053f35d
Bump actions/cache from 3.3.3 to 4.0.0
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.3.3 to 4.0.0.
- [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.3.3...v4.0.0 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-20 02:03:31 +00:00
dependabot[bot]
2227b4a0d1
Bump actions/cache from 3.3.2 to 3.3.3
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.3.2 to 3.3.3.
- [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.3.2...v3.3.3 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-13 02:20:09 +00:00
mahula
f561f96a88
Merge branch 'master' into dependabot/github_actions/actions/cache-3.3.2
2023-09-19 09:55:16 +02:00
mahula
27f70a4986
Merge branch 'master' into dependabot/github_actions/actions/checkout-4
2023-09-12 14:59:07 +02:00
mahula
1ac404711a
Merge branch 'master' into dependabot/github_actions/actions/cache-3.3.2
2023-09-12 14:57:42 +02:00
mahula
011a099abd
add write-all permission to workflow cache cleanup steps
2023-09-12 09:05:09 +02:00
dependabot[bot]
442962f846
Bump actions/cache from 3.3.1 to 3.3.2
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3.3.1 to 3.3.2.
- [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.3.1...v3.3.2 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-09 01:35:07 +00:00
dependabot[bot]
8d668a866b
Bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 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/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-09-09 01:35:04 +00:00
mahula
aa7c54a052
set back workflow triggers to push
2023-07-18 23:59:34 +02:00
mahula
f348e18ce2
Revert "make workflows fail to stress test github cache deletion"
...
This reverts commit 09e887fc3c86e21258d7e697daae68c292ddb4d8.
2023-07-18 22:54:14 +02:00
mahula
09e887fc3c
make workflows fail to stress test github cache deletion
2023-07-18 22:32:21 +02:00
mahula
b712e3084e
Revert "make backend tests fail for testing"
...
This reverts commit 991e5c5ec30338e1e93c5bf17c8d94f7d06a9dd1.
2023-07-18 20:26:09 +02:00
mahula
0e73d53e9a
fix typo
2023-07-18 19:57:37 +02:00
mahula
991e5c5ec3
make backend tests fail for testing
2023-07-18 19:55:27 +02:00
mahula
ca721228cd
change backend cache deletion job dependency
2023-07-18 19:41:24 +02:00
mahula
b2632e3a88
for testing use only backend test workflow triggered by pushes on this branch
2023-07-18 19:34:36 +02:00
mahula
d468af8104
fix cache naming
2023-07-18 19:18:38 +02:00
b1feca35d6
another try fixing run id
2023-07-18 18:55:07 +02:00
mahula
4d61163868
run cache deletion job only, if file change condition is true
2023-07-18 18:42:03 +02:00
mahula
bf7d4e13c8
run cache deletion job only, if needed jobs were successful
2023-07-18 18:42:03 +02:00
6ccd4dde54
reference GITHUB_RUN_NUMBER differently
2023-07-18 18:34:13 +02:00
45c70f7910
corrected var reference
2023-07-18 17:55:22 +02:00
a9835288e2
fix github cache in workflow
2023-07-18 17:39:50 +02:00
mahula
6b7047e604
set workflow not to fail while deleting cache
2023-07-18 10:25:12 +02:00
mahula
e1374c05ac
add cache deletion job to backend and webapp workflow files
2023-07-17 15:18:48 +02:00
mahula
89719b3cda
merge env copy steps into single step
2023-07-17 14:01:14 +02:00
mahula
4ec4b36590
replace artefact download by caching in backend unit test job
2023-07-17 13:57:53 +02:00
mahula
7e171fb521
replace artefact upload by caching in backend build test job
2023-07-17 13:21:02 +02:00
mahula
b15148b985
replace artefact upload by caching in neo4j build test job
2023-07-17 13:18:35 +02:00
mahula
34145cfa06
fix typo
2023-07-17 13:10:28 +02:00
mahula
aaa932302c
correct job names
2023-03-17 14:28:34 +01:00
mahula
f9c1315ab3
clean up backend test workflow
2023-03-17 13:43:24 +01:00