summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2017-07-14 10:55:24 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2017-07-14 10:55:24 +0100
commit4c4870ece961a3b2d5c6354fa736a6a0d789cbb8 (patch)
treea3a30e1973c15df826b4a6a397144519541ee4f7
parent81f8edacfddf595101b158bc2da37e6a9f1dc584 (diff)
downloaddefinitions-4c4870ece961a3b2d5c6354fa736a6a0d789cbb8.tar.gz
.gitlab-ci.yml: Try to avoid complete insanity
-rw-r--r--.gitlab-ci.yml10
1 files changed, 4 insertions, 6 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 4bc8ba78..df6607e0 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -37,12 +37,10 @@ before_script:
# Enable push and pull for Baserock artifact cache
- |
mkdir -p ~/.config
- cat > ~/.config/buildstream.conf <<EOF
- artifacts:
- pull-url: https://ostree.baserock.org/cache/
- push-url: ostree@ostree.baserock.org:cache
- push-port: 22200
- EOF
+ echo "artifacts:" > ~/.config/buildstream.conf
+ echo " pull-url: https://ostree.baserock.org/cache/" >> ~/.config/buildstream.conf
+ echo " push-url: ostree@ostree.baserock.org:cache" >> ~/.config/buildstream.conf
+ echo " push-port: 22200" >> ~/.config/buildstream.conf
cat ~/.config/buildstream.conf
stages: