Skip to content
Snippets Groups Projects
Commit da55dfe9 authored by Gervaise Henry's avatar Gervaise Henry :cowboy:
Browse files

Deploy badges to pages

parent 95a508c5
Branches
Tags
1 merge request!58Develop
Pipeline #8714 failed
......@@ -25,12 +25,18 @@ build_bages:
- ./get-updated-badge-info.sh
artifacts:
paths:
- release.svg
- pipeline.svg
- nextflow.svg
- ./public/release.svg
- ./public/pipeline.svg
- ./public/nextflow.svg
when: always
expire_in: 3 months
pages:
stage: badges
artifacts:
paths:
- public
getBag:
stage: unit
only:
......
......@@ -6,6 +6,7 @@ current_pipeline_version=$(cat ./workflow/nextflow.config | grep -o version.* |
current_nextflow_version=$(cat ./workflow/nextflow.config | grep -o nextflowVersion.* | grep -oP "(?<=').*(?=')")
echo "collecting badges"
curl --request GET https://img.shields.io/badge/Latest%20Release-${latest_release_tag}-green?style=plastic > release.svg
curl --request GET https://img.shields.io/badge/Pipeline%20Version-${current_pipeline_version}-green?style=plastic > pipeline.svg
curl --request GET https://img.shields.io/badge/Nextflow%20Version-${current_nextflow_version}-green?style=plastic > nextflow.svg
\ No newline at end of file
mkdir public
curl --request GET https://img.shields.io/badge/Latest%20Release-${latest_release_tag}-green?style=plastic > ./public/release.svg
curl --request GET https://img.shields.io/badge/Pipeline%20Version-${current_pipeline_version}-green?style=plastic > ./public/pipeline.svg
curl --request GET https://img.shields.io/badge/Nextflow%20Version-${current_nextflow_version}-green?style=plastic > ./public/nextflow.svg
\ No newline at end of file
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