diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 49fbb85..5077052 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,19 +3,14 @@ stages: - release -# variables: -# PROJECT_TRANSLATE: 'glpat-ZMsMVQkmDvsEYUiqhfq7' -image: python:3.10 -.pre: - stage: .pre - script: - - echo "testing" prepare_job: stage: prepare + image: python:3.10 script: - 'pip install requests' + - rm -rf {.git, ,gitattributes, .gitlab-ci.yml, CHANGELOG, README.md} - 'git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gl.beaconborn.ru/bacon/translation-generator.git' - 'ls -al' - 'python3 translation-generator/main.py $CI_PROJECT_DIR/data/' @@ -23,9 +18,10 @@ prepare_job: -release_job: + +needs: dependencies: - - prepare_job + - prepare_job stage: release # It only runs when *both* jobs in the test stage complete successfully. image: registry.gitlab.com/gitlab-org/release-cli:latest