ARO-RP/.pipelines/e2e.yml

29 строки
968 B
YAML
Исходник Обычный вид История

2020-02-27 16:34:46 +03:00
# Azure DevOps Pipeline running e2e tests
variables:
2020-04-03 20:01:11 +03:00
- template: vars.yml
2020-02-27 16:34:46 +03:00
jobs:
2020-04-03 20:01:11 +03:00
- job: E2E
2020-10-21 14:52:41 +03:00
timeoutInMinutes: 180
2020-04-03 20:01:11 +03:00
pool:
2020-08-10 15:25:30 +03:00
name: ARO-CI
2020-04-03 20:01:11 +03:00
steps:
2020-08-10 15:25:30 +03:00
- template: ./templates/template-checkout.yml
2020-04-03 20:01:11 +03:00
- template: ./templates/template-az-cli-login.yml
parameters:
azureDevOpsJSONSPN: $(aro-v4-e2e-devops-spn)
- script: |
export SECRET_SA_ACCOUNT_NAME=$(SECRET_SA_ACCOUNT_NAME)
make secrets
. secrets/env
echo "##vso[task.setvariable variable=RP_MODE]$RP_MODE"
displayName: 🔑 Downloading certificates and secrets from storage account
name: setEnv
- template: ./templates/template-push-images-to-acr.yml
parameters:
rpImageACR: $(RP_IMAGE_ACR)
2020-04-03 20:01:11 +03:00
- template: ./templates/template-az-cli-set-context.yml
- template: ./templates/template-deploy-e2e-db.yml
- template: ./templates/template-run-rp-and-e2e.yml
- template: ./templates/template-clean-e2e-db.yml
2020-10-08 16:18:09 +03:00
- template: ./templates/template-az-cli-logout.yml