Commit ae28df0c authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

CI: Move clear-release-files to separate stage at beginning of pipeline, so

other jobs don't have complete in order to run it
parent 5442239f
...@@ -59,6 +59,10 @@ variables: ...@@ -59,6 +59,10 @@ variables:
stages: stages:
# Manually triggered jobs for managing the contents
# of the release folder.
- manage-release-folder
# Generate FSL conda environment specification # Generate FSL conda environment specification
# files for all platforms and CUDA versions # files for all platforms and CUDA versions
- generate-environment-files - generate-environment-files
...@@ -87,6 +91,25 @@ stages: ...@@ -87,6 +91,25 @@ stages:
- publish - publish
# USE WITH CAUTION
#
# Clear files from the release folder.
# See manifest_rules/clear_release_files.py
# script for details.
clear-release-files:
stage: manage-release-folder
tags:
- fslconda-channel-host
when: manuak
variables:
PATTERN: ""
DRY_RUN: "true"
script:
- clear_release_files /exports/fsldownloads/fslconda/releases/ ${PATTERN} ${DRY_RUN}
# Generate FSL conda environment.yml files, for # Generate FSL conda environment.yml files, for
# all supported platforms and CUDA versions, # all supported platforms and CUDA versions,
# from fsl-release.yml. Refer to the # from fsl-release.yml. Refer to the
...@@ -291,17 +314,3 @@ deploy-release-manifest: ...@@ -291,17 +314,3 @@ deploy-release-manifest:
- generate-release-manifest-file - generate-release-manifest-file
script: script:
- deploy_files /exports/fsldownloads/fslconda/releases/ ./manifest/*.json - deploy_files /exports/fsldownloads/fslconda/releases/ ./manifest/*.json
# USE WITH CAUTION
#
# Clear files from the release folder.
# See manifest_rules/clear_release_files.py
# script for details.
clear-release-files:
extends: .deploy-job-template
variables:
PATTERN: ""
DRY_RUN: "true"
script:
- clear_release_files /exports/fsldownloads/fslconda/releases/ ${PATTERN} ${DRY_RUN}
#!/usr/bin/env python #!/usr/bin/env python
__version__ = '0.6.0' __version__ = '0.6.1'
Markdown is supported
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