Commit Graph

15 Commits

Author SHA1 Message Date
Marcel Feix
e4ad30bfd6 Merge branch 'feat/tbe_common_workflow' into 'master'
feat(workflow): Provides a common workflow

Closes ci-cd#237

See merge request gilden/ci/gitlab-ci-templates!107
2022-11-15 08:34:54 +00:00
Daniel Diepold
5d76c7909c fix(cache): do not cache build results in global cache
The build and target directories should not get cached
between different Git commit builds (pipelines).

Assume the first pipeline of a branch builds and caches some
compiled Java class from the target/classes directory in the
global/branch (key: $CI_COMMIT_REF_SLUG) cache.
If the source code of that class is then removed by the next commit,
the pipeline for that commit will extract the previously cached class
file.
Since the Maven build templates never call "clean" the class file
will be part of test execution, packaging, etc. even though its source
code was removed.

The target/ directory is already passed from the Maven Build-Java
job to the Test-Java job within the same pipeline anyway.
2022-11-11 08:48:24 +01:00
Marcel Feix
4014472fab chore(Cache): Share cache within a pipeline not within jobs 2022-11-03 10:21:49 +00:00
Timo Beller
97352e8270 feat(workflow): Changes our common workflow to git-flow-with-merge-request
According to discussion in ci-cd#237 / weekly
2022-10-06 11:16:58 +02:00
Timo Beller
cd47250147 feat(workflow): Provides a common workflow
It runs all pipelines but prevents that a branch pipelines is started when there is an open merge request.

https://docs.gitlab.com/ee/ci/yaml/workflow.html#switch-between-branch-pipelines-and-merge-request-pipelines
2022-10-06 11:07:35 +02:00
Timo Beller
0364637b0d refactor(cache): Löse globalen-Cache aus common-ci-variablen heraus
Für nutzer ist es unerwartet und ggf. unerwünscht, dass beim Einbinden von Variablen ein Cache mitkommt.
2022-07-20 17:58:05 +02:00
Timo Beller
b51d9fa611 fix(gradle): Nutze aktuelleres Gradle_Image 2022-07-13 16:45:24 +02:00
Marcel Feix
fbc2443873
fix(Maven): Fix default maven Container 2022-07-08 09:55:57 +02:00
Marcel Feix
75cdd06739
chore(Maven) Update to new Maven Base image 2022-07-08 09:55:57 +02:00
Alex Munoz
e461d2e57f
refactor(common-ci): remove stages 2022-07-08 09:55:51 +02:00
Alex Munoz
3b6e1f65bd
refactor(*): update templates 2022-07-08 09:55:51 +02:00
Marcel Feix
1ee19fb508
fix(Documentation-Templates): Switch from documentation to post-process stage. 2022-07-08 09:55:42 +02:00
Marcel Feix
b280ef18fe
chore(NPM): Cache NPM packages 2022-07-08 09:55:42 +02:00
Marcel Feix
5006c78def
chore(Maven): Add classes to target build folder 2022-07-08 09:55:42 +02:00
Marcel Feix
86ed4d3850
feat(Templates): Ideal eXXcellent Pipeline 2022-07-08 09:55:35 +02:00