Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
4d2ccfb1c5 | |||
eb0644feb5 | |||
9eca4c9e6a | |||
bb30be33b2 |
@ -24,11 +24,14 @@ variables:
|
||||
|
||||
composer_update:
|
||||
stage: update
|
||||
rules:
|
||||
- if: '$CI_COMMIT_BRANCH == "main"'
|
||||
image: composer:latest
|
||||
interruptible: true # allows to stop the job if a newer pipeline starts, saving resources and allowing new jobs to start because job concurrency is limited
|
||||
script:
|
||||
- git ${JOB_GIT_FLAGS} fetch origin ${TARGET_BRANCH}
|
||||
- git ${JOB_GIT_FLAGS} checkout ${TARGET_BRANCH}
|
||||
- git reset --hard origin/main
|
||||
- export DATE_TIME="$(date '+%Y%m%d%H%M%S')"
|
||||
- export MR_BRANCH="${UPDATE_BRANCH_PREFIX}${DATE_TIME}"
|
||||
- git ${JOB_GIT_FLAGS} checkout -b "${MR_BRANCH}"
|
||||
|
4
composer.lock
generated
4
composer.lock
generated
@ -56,7 +56,7 @@
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://git.thetempusproject.com/the-tempus-project/hermes",
|
||||
"reference": "9d6a79d80be98d0e598ce08c47a98d37814d1105"
|
||||
"reference": "171183c0abdbbdf12b3b577821636dd1c51ec752"
|
||||
},
|
||||
"require": {
|
||||
"php": ">=8.1.0"
|
||||
@ -92,7 +92,7 @@
|
||||
"thetempusproject",
|
||||
"tools"
|
||||
],
|
||||
"time": "2024-08-08T05:24:32+00:00"
|
||||
"time": "2024-08-13T02:56:27+00:00"
|
||||
}
|
||||
],
|
||||
"packages-dev": [],
|
||||
|
Reference in New Issue
Block a user