Skip to content
Snippets Groups Projects
development-pipeline.yml 1.76 KiB
Newer Older
  • Learn to ignore specific revisions
  • trigger:
        batch: true
        branches:
            include:
                - master
        paths:
            exclude:
                - /**/*.md
                - .gitignore
    
    resources:
        repositories:
            - repository: FluxRepo
              type: git
              name: k8-gitops-manifests
            - repository: TemplateRepo
              type: git
              name: infra-azure-provisioning
    
    variables:
        - group: 'Azure - OSDU'
        - group: 'Azure - Common'
        - group: 'Azure - OSDU Secrets'
        - group: 'Azure Target Env - dev'
        - group: 'Azure Target Env Secrets - dev'
        - name: serviceName
          value: "ingestion-dags"
    
    stages:
        - template: /devops/dag-pipeline-stages/execute-standalone-tests.yml@TemplateRepo
          parameters:
              dockerfilePath: 'deployments/scripts/azure/dockerFolder/run_standalone_tests_dockerfile'
    
        - template: /devops/dag-pipeline-stages/build-dag.yml@TemplateRepo
          parameters:
              dockerfilePath: 'deployments/scripts/azure/dockerFolder/output_dags_dockerfile'
              outputDagFolder: '/home/output_dags'
    
        - template: /devops/dag-pipeline-stages/copy-dag.yml@TemplateRepo
    
        - template: /devops/dag-pipeline-stages/register-dag.yml@TemplateRepo
    
    
        - template: /devops/dag-pipeline-stages/execute-end-to-end-tests.yml@TemplateRepo
          parameters:
              dockerfilePath: 'deployments/scripts/azure/dockerFolder/end_to_end_tests_dockerfile'
              environmentVars: 'AZURE_POSTMAN_ENVIRONMENT_FILE_URL=$(AZURE_POSTMAN_ENVIRONMENT_FILE_URL)${NEWLINE}CLIENT_ID=$(CLIENT_ID)${NEWLINE}AZURE_TENANT_ID=$(AZURE_DEPLOY_TENANT)${NEWLINE}CLIENT_SECRET=$(CLIENT_SECRET)${NEWLINE}AZURE_REFRESH_TOKEN=$(AZURE_REFRESH_TOKEN)${NEWLINE}AZURE_POSTMAN_COLLECTION_FILE_URL=$(AZURE_POSTMAN_COLLECTION_MANIFEST_FILE_URL)${NEWLINE}AZURE_DNS_NAME=$(AZURE_DNS_NAME)'