diff --git a/tests/python_eol/pipeline.yml b/tests/python_eol/pipeline.yml index 693742a81..9d0b1d0fc 100644 --- a/tests/python_eol/pipeline.yml +++ b/tests/python_eol/pipeline.yml @@ -14,22 +14,22 @@ jobs: KeyVaultName: 'waagenttests' SecretsFilter: '*' - - task: AzureCLI@2 - displayName: "Download connection certificate" - inputs: - azureSubscription: $(connection_info) - scriptType: bash - scriptLocation: inlineScript - inlineScript: | - # This temporary directory removed after the pipeline execution - mkdir -p $(Agent.TempDirectory)/app - az keyvault secret download --file $(Agent.TempDirectory)/app/cert.pem --vault-name waagenttests --name AZURE-CLIENT-CERTIFICATE +# - task: AzureCLI@2 +# displayName: "Download connection certificate" +# inputs: +# azureSubscription: $(connection_info) +# scriptType: bash +# scriptLocation: inlineScript +# inlineScript: | +# # This temporary directory removed after the pipeline execution +# mkdir -p $(Agent.TempDirectory)/app +# az keyvault secret download --file $(Agent.TempDirectory)/app/cert.pem --vault-name waagenttests --name AZURE-CLIENT-CERTIFICATE - bash: $(Build.SourcesDirectory)/tests/python_eol/run_tests.sh displayName: "Run tests" env: - SUBSCRIPTION_ID: $(SUBSCRIPTION-ID) - AZURE_CLIENT_ID: $(AZURE-CLIENT-ID) - AZURE_TENANT_ID: $(AZURE-TENANT-ID) +# SUBSCRIPTION_ID: $(SUBSCRIPTION-ID) +# AZURE_CLIENT_ID: $(AZURE-CLIENT-ID) +# AZURE_TENANT_ID: $(AZURE-TENANT-ID) CR_USER: $(CR-USER) CR_SECRET: $(CR-SECRET) diff --git a/tests/python_eol/run_tests.sh b/tests/python_eol/run_tests.sh index aa23e5b86..2485f3725 100755 --- a/tests/python_eol/run_tests.sh +++ b/tests/python_eol/run_tests.sh @@ -28,13 +28,13 @@ newgrp docker < /dev/null # az acr login --name waagenttests --username "$CR_USER" --password "$CR_SECRET" -docker pull waagenttests.azurecr.io/python26:latest +docker pull waagenttests.azurecr.io/waagenttests:latest docker run --rm \ --user root \ --volume "$BUILD_SOURCESDIRECTORY:/home/waagent/WALinuxAgent" \ --volume "$LOGS_DIRECTORY":/home/waagent/logs \ - waagenttests.azurecr.io/python26 \ + waagenttests.azurecr.io/waagenttests \ bash --login -c run-sudo-tests #