From f82f202b63654639987f98dacff408a315077216 Mon Sep 17 00:00:00 2001 From: masaaki Date: Tue, 5 Dec 2023 06:12:20 +0000 Subject: [PATCH] =?UTF-8?q?Merged=20PR=20603:=20[=E3=83=A9=E3=82=A4?= =?UTF-8?q?=E3=82=BB=E3=83=B3=E3=82=B9=E3=82=A2=E3=83=A9=E3=83=BC=E3=83=88?= =?UTF-8?q?]FunctionAPP=E3=81=AEprod=E7=92=B0=E5=A2=83=E9=81=A9=E7=94=A8?= =?UTF-8?q?=EF=BC=88pipeline=E5=90=AB=E3=82=80=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 概要 [Task2870: [ライセンスアラート]FunctionAPPのprod環境適用(pipeline含む)](https://paruru.nds-tyo.co.jp:8443/tfs/ReciproCollection/fa4924a4-d079-4fab-9fb5-a9a11eb205f0/_workitems/edit/2870) - 本番環境用のpipelineに対して、関数アプリのイメージをデプロイするjobを追加しました ## レビューポイント - 特になし ## UIの変更 - 無し ## 動作確認状況 - 未実施。本件マージ後にpipeline動作させる予定 ## 補足 - デプロイに関する記載についてはstaging環境のpipelineで動作実績があります(job:function_deploy) --- azure-pipelines-production.yml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/azure-pipelines-production.yml b/azure-pipelines-production.yml index ff18972..ef0faa8 100644 --- a/azure-pipelines-production.yml +++ b/azure-pipelines-production.yml @@ -83,9 +83,24 @@ jobs: is_static_export: false verbose: false azure_static_web_apps_api_token: $(STATIC_DICTATION_DEPLOYMENT_TOKEN) -- job: smoke_test +- job: function_deploy dependsOn: frontend_deploy condition: succeeded('frontend_deploy') + displayName: function Deploy + pool: + vmImage: ubuntu-latest + steps: + - checkout: self + clean: true + fetchDepth: 1 + - task: AzureFunctionAppContainer@1 + inputs: + azureSubscription: 'omds-service-connection-prod' + appName: 'func-odms-dictation-prod' + imageName: 'crodmsregistrymaintenance.azurecr.io/odmscloud/staging/dictation_function:$(Build.SourceVersion)' +- job: smoke_test + dependsOn: function_deploy + condition: succeeded('function_deploy') displayName: 'smoke test' pool: name: odms-deploy-pipeline