diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 83adcaf..d7e66b0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -54,23 +54,20 @@ test:e2e: ## VALIDATION ## +include: + project: infra/gitlab + ref: master + file: templates/deploy.ci.yml + test1: + extends: .ansible stage: integration environment: name: test1 url: https://test1.startinblox.com - before_script: - - npm ci --cache .npm --prefer-offline --only=production - script: - - echo "$APP_CONFIG_TEST1" > config.json - - echo "$SSH_DEPLOY_KEY" | tr -d '\r' > gitlab.key && chmod 600 gitlab.key - - npm run build - - scp -i gitlab.key -o StrictHostKeyChecking=no -r dist/* test1@astral.startinblox.com:~/front/ only: - /^feature\/.*/ when: manual - tags: - - deploy test2: stage: integration @@ -967,4 +964,4 @@ woma: - master when: manual tags: - - deploy \ No newline at end of file + - deploy