Commit d1d5543e authored by Daniele Venzano's avatar Daniele Venzano

Remove leftovers in CI pipeline related to the angular frontend

parent 7dbd06f2
Pipeline #4330 passed with stages
in 2 minutes and 23 seconds
......@@ -143,30 +143,7 @@ zoe:
only:
- master
angular_frontend:
stage: deploy
image: node:latest
before_script:
- 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
- 'echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- apt-get update -y && apt-get install rsync -y
script:
- cd zoe_fe
- npm install
- npm install -g --save-dev @angular/cli
- 'sed -i -e "s/cors: false,/cors: true,/" src/environments/environment.prod.ts'
- 'sed -i -e "s/apiEndpoint: .*,/apiEndpoint: ''http:\/\/192.168.45.189:5001\/api\/0.7'',/" src/environments/environment.prod.ts'
- ng build --env=prod --output-path=build/prod
- rsync -avz build/prod/ ubuntu@${STAGING_IP}:${WEB_STAGING_PATH}
environment:
name: staging
only:
- master
cleaup-images:
cleanup-images:
image: docker:latest
stage: cleanup
before_script:
......
......@@ -6,7 +6,7 @@ sonar.host.url=http://your-sonarqube-server-address
sonar.sources=.
sonar.modules=zoe_api,zoe_master,zoe_lib,zoe_fe
sonar.modules=zoe_api,zoe_master,zoe_lib
sonar.exclusions=zoe_api/web/static/**
......
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