Compare commits
31 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 | ||
|
|
2da79a652b | ||
|
|
d45963173c | ||
|
|
6bc5d193e9 | ||
|
|
d47ed731c2 | ||
|
|
a10244bc1f |
@@ -1,37 +1,32 @@
|
||||
stages:
|
||||
- prepare # List of stages for jobs, and their order of execution
|
||||
# - prepare # List of stages for jobs, and their order of execution
|
||||
- release
|
||||
|
||||
image: python:3.10
|
||||
|
||||
|
||||
prepare_job:
|
||||
stage: prepare
|
||||
.pre:
|
||||
image: python:3.10
|
||||
# stage: prepare
|
||||
script:
|
||||
- 'pip install requests'
|
||||
- 'git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gl.beaconborn.ru/bacon/translation-generator.git'
|
||||
- 'python3 translation-generator/main.py $CI_PROJECT_DIR/WPE-2/data/'
|
||||
- 'ls -al'
|
||||
- cat test.txt
|
||||
- 'python3 translation-generator/main.py $CI_PROJECT_DIR'
|
||||
|
||||
# artifacts:
|
||||
# paths:
|
||||
# - 'ru.po'
|
||||
|
||||
|
||||
release_job:
|
||||
needs:
|
||||
- prepare_job
|
||||
# needs: .prepare
|
||||
stage: release # It only runs when *both* jobs in the test stage complete successfully.
|
||||
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
||||
|
||||
|
||||
only:
|
||||
# - if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH"
|
||||
refs:
|
||||
- testing
|
||||
- ^tags
|
||||
changes:
|
||||
rules:
|
||||
- changes:
|
||||
- data/**/*
|
||||
- modinfo.lua
|
||||
- thumb.png
|
||||
- test.txt
|
||||
|
||||
script:
|
||||
- echo "Release WPE 2.0_$CI_COMMIT_SHORT_SHA branch $CI_COMMIT_BRANCH"
|
||||
|
||||
Reference in New Issue
Block a user