From 9a9ff8d8e889f676d00b8635c3b5f0fb5ef46b51 Mon Sep 17 00:00:00 2001 From: anishah78 Date: Sat, 13 Jan 2024 17:26:12 +0000 Subject: [PATCH] Revert "Delete azure-pipelines.yml" This reverts commit 899ac6e07953d64579c6bc7d8cada9c5f15746f0. --- azure-pipelines.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 00000000..76fdcc2a --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,27 @@ +# Starter pipeline +# Start with a minimal pipeline that you can customize to build and deploy your code. +# Add steps that build, run tests, deploy, and more: +# https://aka.ms/yaml + +trigger: +- secrets-feature + +pool: + vmImage: ubuntu-latest + +steps: +- task: Docker@2 + inputs: + containerRegistry: 'Docker Hub' + repository: 'mayaaiuga/flask-app-sercrets' + command: 'buildAndPush' + Dockerfile: '**/Dockerfile' + tags: 'latest' +- task: KubernetesManifest@1 + inputs: + action: 'deploy' + connectionType: 'azureResourceManager' + azureSubscriptionConnection: 'aks-service-connection' + azureResourceGroup: 'aks-rg' + kubernetesCluster: 'aks-demo' + manifests: 'deployment.yaml'