[med-svn] [Git][med-team/sra-sdk][master] salsa-ci.yml: Rework before_script to avoid invalid YAML.

Aaron M. Ucko (@ucko) gitlab at salsa.debian.org
Fri Jan 20 02:08:49 GMT 2023



Aaron M. Ucko pushed to branch master at Debian Med / sra-sdk


Commits:
ffa0d09d by Aaron M. Ucko at 2023-01-19T20:28:15-05:00
salsa-ci.yml: Rework before_script to avoid invalid YAML.

- - - - -


1 changed file:

- debian/salsa-ci.yml


Changes:

=====================================
debian/salsa-ci.yml
=====================================
@@ -3,7 +3,9 @@ include:
   - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
   - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
 before_script:
-  - printf "Package: ncbi-vdb-data\nPin: release a=experimental\nPin-Priority: 999\n" | tee /etc/apt/preferences.d/exp-data
+  - echo "Package: ncbi-vdb-data"      | tee    /etc/apt/preferences.d/exp-data
+  - echo "Pin: release a=experimental" | tee -a /etc/apt/preferences.d/exp-data
+  - echo "Pin-Priority: 999"           | tee -a /etc/apt/preferences.d/exp-data
   - apt-get update
 variables:
   RELEASE: 'experimental'



View it on GitLab: https://salsa.debian.org/med-team/sra-sdk/-/commit/ffa0d09da3077d3141dfd8e02afcbeda85590011

-- 
View it on GitLab: https://salsa.debian.org/med-team/sra-sdk/-/commit/ffa0d09da3077d3141dfd8e02afcbeda85590011
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20230120/df38bd59/attachment-0001.htm>


More information about the debian-med-commit mailing list