Compare commits
26 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f901acaa52 | ||
|
|
7218ad6c98 | ||
|
|
85e6e686cd | ||
|
|
f76b7da2f3 | ||
|
|
592517a3e9 | ||
|
|
b591e93a36 | ||
|
|
052065e54e | ||
|
|
dc87cd44a9 | ||
|
|
a45ff79f16 | ||
|
|
801b06c41f | ||
|
|
31555fed82 | ||
|
|
f252c0d88e | ||
|
|
dc712cb390 | ||
|
|
c544e27431 | ||
|
|
b4a2a5eb69 | ||
|
|
42d71fcd5b | ||
|
|
1dbea5e00a | ||
|
|
c9af0b93e1 | ||
|
|
6f62cd67ac | ||
|
|
b173c0bd54 | ||
|
|
d931d2d65e | ||
|
|
ae55d7d7e9 | ||
|
|
f29d791ab8 | ||
|
|
239bdd214a | ||
|
|
95d3b651eb | ||
|
|
f2a4d01ae3 |
@@ -1,38 +1,32 @@
|
|||||||
stages:
|
stages:
|
||||||
- prepare # List of stages for jobs, and their order of execution
|
# - prepare # List of stages for jobs, and their order of execution
|
||||||
- release
|
- release
|
||||||
|
|
||||||
image: python:3.10
|
|
||||||
|
|
||||||
|
.pre:
|
||||||
prepare_job:
|
image: python:3.10
|
||||||
stage: prepare
|
# stage: prepare
|
||||||
script:
|
script:
|
||||||
- 'pip install requests'
|
- 'pip install requests'
|
||||||
- 'git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gl.beaconborn.ru/bacon/translation-generator.git'
|
- 'git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gl.beaconborn.ru/bacon/translation-generator.git'
|
||||||
- 'echo $$CI_PROJECT_DIR'
|
|
||||||
- 'python3 translation-generator/main.py $CI_PROJECT_DIR'
|
- 'python3 translation-generator/main.py $CI_PROJECT_DIR'
|
||||||
- 'ls -al'
|
|
||||||
- cat test.txt
|
# artifacts:
|
||||||
|
# paths:
|
||||||
|
# - 'ru.po'
|
||||||
|
|
||||||
|
|
||||||
release_job:
|
release_job:
|
||||||
needs:
|
# needs: .prepare
|
||||||
- prepare_job
|
|
||||||
stage: release # It only runs when *both* jobs in the test stage complete successfully.
|
stage: release # It only runs when *both* jobs in the test stage complete successfully.
|
||||||
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
||||||
|
|
||||||
|
|
||||||
only:
|
rules:
|
||||||
# - if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH"
|
- changes:
|
||||||
refs:
|
|
||||||
- testing
|
|
||||||
- ^tags
|
|
||||||
changes:
|
|
||||||
- data/**/*
|
- data/**/*
|
||||||
- modinfo.lua
|
- modinfo.lua
|
||||||
- thumb.png
|
- thumb.png
|
||||||
- test.txt
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- echo "Release WPE 2.0_$CI_COMMIT_SHORT_SHA branch $CI_COMMIT_BRANCH"
|
- echo "Release WPE 2.0_$CI_COMMIT_SHORT_SHA branch $CI_COMMIT_BRANCH"
|
||||||
|
|||||||
Reference in New Issue
Block a user