Skip to content
Snippets Groups Projects
Commit e04ab179 authored by Elias Chetouane's avatar Elias Chetouane
Browse files

Version du pipeline avec création du csv + push dans le dépôt git.

parent c7e31252
No related branches found
No related tags found
No related merge requests found
build-job:
stage: build
script:
- echo "Hello, $GITLAB_USER_LOGIN!"
test-job1:
stage: test
script:
- echo "This job tests something"
image: python:3-alpine
test-job2:
stage: test
script:
- echo "This job tests something, but takes more time than test-job1."
- echo "After the echo commands complete, it runs the sleep command for 20 seconds"
- echo "which simulates a test that runs 20 seconds longer than test-job1"
- sleep 20
deploy-prod:
stage: deploy
script:
- echo "This job deploys something from the $CI_COMMIT_BRANCH branch."
environment: production
build-dois-csv:
script:
- python run-all-codes.py
- 'standard-version --releaseCommitMessageFormat "chore(release): {{currentTag}}"'
- git remote set-url --push origin git@gricad-gitlab:$CI_PROJECT_PATH
- git add -f dois-uga.csv
- git commit -m "Nouvelle version du csv"
- git push --follow-tags origin HEAD:$CI_COMMIT_REF_NAME
artifacts:
paths:
- dois-uga.csv
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment