diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2101e14..656b392 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,15 +2,18 @@ stages: - prepare # List of stages for jobs, and their order of execution - release +image: python:3.10 +first_job: + stage: .pre + script: + - 'pip install requests' + - 'git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gl.beaconborn.ru/bacon/translation-generator.git' prepare_job: stage: prepare - image: python:3.10 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/ > test.txt' - 'ls -al'