Commit 6493da40 authored by probal31's avatar probal31
Browse files

Upload AppImages to nxos server

parent 4273a3f3
Pipeline #5764 failed with stages
in 12 minutes and 13 seconds
......@@ -39,6 +39,12 @@ cache:
fi
- chmod +x /usr/bin/mc
- mc config host add nx $NITRUX_STORAGE_URL $NITRUX_STORAGE_ACCESS_KEY $NITRUX_STORAGE_SECRET_KEY
- echo "Configure ssh agent"
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- eval $(ssh-agent -s)
- ssh-add <(echo "$SSH_PRIVATE_KEY")
- mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
.upload_artifacts_script: &upload_artifacts_script
- du -h *.AppImage || true
......@@ -95,6 +101,17 @@ cache:
mc cp communicator*${TARGET_ARCH}*.* nx/maui/$BUILD_TYPE/communicator/$BRANCH_COMMUNICATOR/ || true;
mc cp station*${TARGET_ARCH}*.* nx/maui/$BUILD_TYPE/station/$BRANCH_STATION/ || true;
fi
- if [ "$BUILD_TYPE" = 'devel' ]; then
scp buho*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/buho.AppImage
scp clip*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/clip.AppImage
scp communicator*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/communicator.AppImage
scp index*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/index.AppImage
scp nota*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/nota.AppImage
scp pix*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/pix.AppImage
scp shelf*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/shelf.AppImage
scp station*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/station.AppImage
scp vvave*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/vvave.AppImage
fi
# Build mauikit for amd64
......
Supports Markdown
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