From 0ffac7d9cb48ace593c3065d271942e40ee155ec Mon Sep 17 00:00:00 2001 From: Maxwell Weru Date: Tue, 17 Jan 2023 17:12:40 +0300 Subject: [PATCH] Remove azure-pipelines.yml --- azure-pipelines.yml | 44 -------------------------------------------- main.json | 2 +- 2 files changed, 1 insertion(+), 45 deletions(-) delete mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml deleted file mode 100644 index 29f5f4a..0000000 --- a/azure-pipelines.yml +++ /dev/null @@ -1,44 +0,0 @@ -trigger: - batch: true - branches: - include: - - refs/tags/* - -stages: -- stage: Deploy - - jobs: - - deployment: Deploy - environment: 'Azure DevOps Cleaner' # requires approvals to ensure updates are manully approved - pool: - vmImage: 'ubuntu-latest' - - variables: - targetTag: $[replace(variables['Build.SourceBranch'], 'refs/tags/', '')] - - strategy: - runOnce: - deploy: - steps: - - - task: DownloadGitHubRelease@0 - inputs: - connection: '$(githubConnection)' - userRepository: 'tinglesoftware/azure-devops-cleaner' - defaultVersionType: 'specificTag' - version: '$(targetTag)' - - - task: AzureCLI@2 - displayName: "Deploy to Container Apps" - inputs: - azureSubscription: $(azureConnection) - scriptType: bash - scriptLocation: inlineScript - inlineScript: > - az deployment group create - --resource-group '$(azureResourceGroupName)' - --name 'azdo-cleaner-$(targetTag)' - --template-file $(System.ArtifactsDirectory)/main.bicep - --parameters "notificationsPassword=$(AzureDevOpsNotificationsPassword)" - --parameters "azureDevOpsProjectUrl=$(AzureDevOpsProjectUrl)" - --parameters "azureDevOpsProjectToken=$(AzureDevOpsToken)" diff --git a/main.json b/main.json index 7ba10c1..6921b53 100644 --- a/main.json +++ b/main.json @@ -32,7 +32,7 @@ }, "dockerImageTag": { "type": "string", - "defaultValue": "0.1.0", + "defaultValue": "latest", "metadata": { "description": "Tag of the docker image." }