diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2020-09-16 19:23:52 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2020-09-16 20:09:01 (GMT) |
commit | 9671282bcc2c80d92ea955805d93cc7afc35bde9 (patch) | |
tree | fffa89d8253444321f08347ef8050b566897c350 /.gitlab | |
parent | 5138be9558ad04279a37695280cd195d07d9a40d (diff) | |
download | CMake-9671282bcc2c80d92ea955805d93cc7afc35bde9.zip CMake-9671282bcc2c80d92ea955805d93cc7afc35bde9.tar.gz CMake-9671282bcc2c80d92ea955805d93cc7afc35bde9.tar.bz2 |
gitlab-ci: add a job to upload macOS binaries
Diffstat (limited to '.gitlab')
-rw-r--r-- | .gitlab/upload.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.gitlab/upload.yml b/.gitlab/upload.yml new file mode 100644 index 0000000..924e7de --- /dev/null +++ b/.gitlab/upload.yml @@ -0,0 +1,18 @@ +# Steps for uploading artifacts + +.rsync_upload: + image: "fedora:32" + stage: upload + tags: + - docker + - linux + - build + environment: + name: rsync-upload + + script: + - ls build/ + - dnf install -y --setopt=install_weak_deps=False rsync openssh-clients + - chmod 400 $RSYNC_BINARY_KEY + - ssh-keygen -y -f $RSYNC_BINARY_KEY > $RSYNC_BINARY_KEY.pub + - rsync -tv --recursive -e "ssh -i $RSYNC_BINARY_KEY -o StrictHostKeyChecking=no" build/ kitware@public.kitware.com:$RSYNC_DESTINATION/ |