Commit a862bd9b authored by Pierre-Antoine Rouby's avatar Pierre-Antoine Rouby
Browse files

ci: Fix ci yml error.

No related merge requests found
Pipeline #55571 failed with stages
in 0 seconds
Showing with 32 additions and 6 deletions
+32 -6
stages: stages:
- build - build
- lightening
- scratching - scratching
- lightening
- archive - archive
- release - release
...@@ -23,11 +23,11 @@ scratching: ...@@ -23,11 +23,11 @@ scratching:
stage: scratching stage: scratching
tags: tags:
- linux - linux
script:
- echo OK
needs: needs:
- job: build - job: build
artifacts: true artifacts: true
script:
- echo OK
artifacts: artifacts:
paths: paths:
- dist/ - dist/
...@@ -37,11 +37,11 @@ lightening: ...@@ -37,11 +37,11 @@ lightening:
stage: lightening stage: lightening
tags: tags:
- linux - linux
script:
- echo OK
needs: needs:
- job: scratching - job: scratching
artifacts: true artifacts: true
script:
- echo OK
artifacts: artifacts:
paths: paths:
- dist/ - dist/
...@@ -50,12 +50,38 @@ archive: ...@@ -50,12 +50,38 @@ archive:
stage: archive stage: archive
tags: tags:
- linux - linux
needs:
- job: lightening
artifacts: true
script: script:
- mv dist python - mv dist python
- tar cf python.tar.xz python/ - tar cf python.tar.xz python/
artifacts:
paths:
- python.tar.xz
tag-release:
stage: release
tags:
- linux
needs: needs:
- job: lightening - job: archive
artifacts: true artifacts: true
rules:
- if: $CI_COMMIT_TAG
artifacts: artifacts:
paths: paths:
- python.tar.xz - python.tar.xz
script:
- echo OK
release:
name: '$CI_COMMIT_TAG'
description: '$CI_COMMIT_TAG_MESSAGE'
tag_name: '$CI_COMMIT_TAG'
ref: '$CI_COMMIT_SHA'
assets:
links:
- name: 'Python GNU/Linux (tar.xz)'
url: '${CI_PROJECT_URL}/-/jobs/${CI_JOB_ID}/artifacts/raw/linux/python.tar.xz'
filepath: '/linux/python.tar.xz'
link_type: 'package'
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment