Commit 5df957ff authored by probal31's avatar probal31
Browse files

Upload artifact to s3 bucket and server

parent 8625baa6
Pipeline #6003 canceled with stages
in 7 minutes and 49 seconds
......@@ -80,6 +80,8 @@ cache:
mc mb nx/maui/$BUILD_TYPE/clip/$BRANCH_CLIP/;
mc mb nx/maui/$BUILD_TYPE/shelf/$BRANCH_SHELF/;
mc mb nx/maui/$BUILD_TYPE/communicator/$BRANCH_COMMUNICATOR/;
mc mb nx/maui/$BUILD_TYPE/bonsai/$BRANCH_BONSAI/;
echo $BRANCH_MAUIKIT | mc pipe nx/maui/$BUILD_TYPE/mauikit/LATEST;
echo $BRANCH_INDEX | mc pipe nx/maui/$BUILD_TYPE/index/LATEST;
echo $BRANCH_NOTA | mc pipe nx/maui/$BUILD_TYPE/nota/LATEST;
......@@ -90,6 +92,8 @@ cache:
echo $BRANCH_CLIP | mc pipe nx/maui/$BUILD_TYPE/clip/LATEST;
echo $BRANCH_SHELF | mc pipe nx/maui/$BUILD_TYPE/shelf/LATEST;
echo $BRANCH_COMMUNICATOR | mc pipe nx/maui/$BUILD_TYPE/communicator/LATEST;
echo $BRANCH_BONSAI | mc pipe nx/maui/$BUILD_TYPE/bonsai/LATEST;
mc cp mauikit*${TARGET_ARCH}*.* nx/maui/$BUILD_TYPE/mauikit/$BRANCH_MAUIKIT/ || true;
mc cp index*${TARGET_ARCH}*.* nx/maui/$BUILD_TYPE/index/$BRANCH_INDEX/ || true;
mc cp nota*${TARGET_ARCH}*.* nx/maui/$BUILD_TYPE/nota/$BRANCH_NOTA/ || true;
......@@ -100,6 +104,7 @@ cache:
mc cp shelf*${TARGET_ARCH}*.* nx/maui/$BUILD_TYPE/shelf/$BRANCH_SHELF/ || true;
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;
mc cp bonsai*${TARGET_ARCH}*.* nx/maui/$BUILD_TYPE/bonsai/$BRANCH_BONSAI/ || true;
fi
- if [ "$BUILD_TYPE" = 'nightly' ]; then
sshpass -p "$NXOS_UPLOAD_PASS" scp buho*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/buho.AppImage || true;
......@@ -111,6 +116,7 @@ cache:
sshpass -p "$NXOS_UPLOAD_PASS" scp shelf*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/shelf.AppImage || true;
sshpass -p "$NXOS_UPLOAD_PASS" scp station*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/station.AppImage || true;
sshpass -p "$NXOS_UPLOAD_PASS" scp vvave*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/vvave.AppImage || true;
sshpass -p "$NXOS_UPLOAD_PASS" scp bonsai*amd64*.AppImage $NXOS_UPLOAD_USER@$NXOS_UPLOAD_IP:$NXOS_UPLOAD_PATH/bonsai.AppImage || true;
fi
......
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