diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index afa7ff4f..a15c2238 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -9,7 +9,7 @@ pipelines: services: - postgres caches: - - vbvpip + - pip script: - source ./env/bitbucket/prepare_for_test.sh - pip install -r server/requirements/requirements-dev.txt @@ -27,14 +27,15 @@ pipelines: - cypress/**/*.mp4 caches: - node - - vbvpip + - pip - cypress script: + - export IT_SERVE_VUE=false + - export IT_ALLOW_LOCAL_LOGIN=true - source ./env/bitbucket/prepare_for_test.sh - - python -m venv vbvvenv - - source vbvvenv/bin/activate - pip install -r server/requirements/requirements-dev.txt - npm install + - npm run build - ./prepare_server_cypress.sh --start-background - npm run cypress:ci # - npm run build @@ -52,20 +53,20 @@ pipelines: deployment: prod trigger: manual script: - - ./deploy.sh --commit "$BITBUCKET_COMMIT" --token "$DEPLOY_TOKEN" --url https://myservicecrm.swisscom.ch/deploy-iesc-bKVAkQguPDVi + - ./deploy.sh --commit "$BITBUCKET_COMMIT" --token "$DEPLOY_TOKEN" --url https://myservicecrm.swisscom.ch/deploy-iesc-xxx custom: deploy-preprod: - step: name: Deploy to PREPROD deployment: preprod script: - - ./deploy.sh --commit "$BITBUCKET_COMMIT" --token "$DEPLOY_TOKEN" --url https://preprod.myservicecrm.ch/deploy-iesc-bKVAkQguPDVi + - ./deploy.sh --commit "$BITBUCKET_COMMIT" --token "$DEPLOY_TOKEN" --url https://preprod.myservicecrm.ch/deploy-iesc-xxx deploy-api: - step: name: Deploy to API deployment: api script: - - ./deploy.sh --commit "$BITBUCKET_COMMIT" --token "$DEPLOY_TOKEN" --url https://api.myservicecrm.ch/deploy-iesc-bKVAkQguPDVi + - ./deploy.sh --commit "$BITBUCKET_COMMIT" --token "$DEPLOY_TOKEN" --url https://api.myservicecrm.ch/deploy-iesc-xxx definitions: caches: diff --git a/client/src/components/MainNavigationBar.vue b/client/src/components/MainNavigationBar.vue index ec3a2f6b..14ba362e 100644 --- a/client/src/components/MainNavigationBar.vue +++ b/client/src/components/MainNavigationBar.vue @@ -1,11 +1,11 @@