Commit 79af68a2 authored by Christopher Fullarton's avatar Christopher Fullarton

Allows the sentry jobs to fail if the files cannot be uploaded

parent e3cee451
Pipeline #33453 failed with stages
in 13 minutes and 41 seconds
......@@ -77,7 +77,6 @@ generate_assets:
script:
- apt-get -y update
- apt-get -y install --allow-unauthenticated gconf-service libasound2 libatk1.0-0 libatk-bridge2.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget
- npm install
- npm install -g angular-http-server
- cd dist
- angular-http-server --path browser/ --silent -p 4711 &
......@@ -92,6 +91,7 @@ generate_assets:
sync_sentry:
stage: sync_sentry
allow_failure: true
only:
- master
tags:
......@@ -127,8 +127,7 @@ deploy:
- mkdir ~/.ssh
- ssh-keyscan "$STAGING_FRONTEND_URL" >> ~/.ssh/known_hosts
- ssh-add <(echo "$STAGING_SSH_PRIVATE_KEY")
- rm dist/*.map
- npm install
#- rm dist/*.map
- npm run compress
- rsync -rltgoDqv --delete -e "ssh" dist/* "$STAGING_FRONTEND_SCP_URL"
- ssh $STAGING_SSH 'touch /home/arsnova/arsnova.click-v2/frontend/deploy.touch'
......@@ -161,7 +160,6 @@ generate_assets-beta:
script:
- apt-get -y update
- apt-get -y install --allow-unauthenticated gconf-service libasound2 libatk1.0-0 libatk-bridge2.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget
- npm install
- npm install -g angular-http-server
- cd dist
- angular-http-server --path browser/ --silent -p 4711 &
......@@ -176,6 +174,7 @@ generate_assets-beta:
sync_sentry-beta:
stage: sync_sentry-beta
allow_failure: true
only:
- beta
tags:
......@@ -211,8 +210,7 @@ deploy-beta:
- mkdir ~/.ssh
- ssh-keyscan "$STAGING_FRONTEND_URL" >> ~/.ssh/known_hosts
- ssh-add <(echo "$STAGING_SSH_PRIVATE_KEY")
- rm dist/*.map
- npm install
#- rm dist/*.map
- npm run compress
- rsync -rltgoDqv --delete -e "ssh" dist/* "$BETA_FRONTEND_SCP_URL"
- ssh $STAGING_SSH 'touch /home/arsnova/arsnova.click-v2-beta/frontend/deploy.touch'
Markdown is supported
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