add vsts deploy file for unified search app (#1869)
Some checks failed
gh-pages / build (push) Has been cancelled
Python CI / python-ci (ubuntu-latest, 3.10) (push) Has been cancelled
Python CI / python-ci (ubuntu-latest, 3.11) (push) Has been cancelled
Python CI / python-ci (windows-latest, 3.10) (push) Has been cancelled
Python CI / python-ci (windows-latest, 3.11) (push) Has been cancelled
Python Integration Tests / python-ci (ubuntu-latest, 3.10) (push) Has been cancelled
Python Integration Tests / python-ci (windows-latest, 3.10) (push) Has been cancelled
Python Notebook Tests / python-ci (ubuntu-latest, 3.10) (push) Has been cancelled
Python Notebook Tests / python-ci (windows-latest, 3.10) (push) Has been cancelled
Python Publish (pypi) / Upload release to PyPI (push) Has been cancelled
Python Smoke Tests / python-ci (ubuntu-latest, 3.10) (push) Has been cancelled
Python Smoke Tests / python-ci (windows-latest, 3.10) (push) Has been cancelled
Spellcheck / spellcheck (push) Has been cancelled

* add vsts deploy file for un ified search app

* fix file name

* remove unused tasks

* remove unused file
This commit is contained in:
Dayenne Souza 2025-04-08 17:08:02 -03:00 committed by GitHub
parent 0e1a6e3770
commit 66aab4267e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,40 @@
name: unified-search-app
pool:
vmImage: ubuntu-latest
trigger:
batch: true
branches:
include:
- main
path:
include:
- unified-search-app
stages:
- stage: Build_deploy
dependsOn: []
jobs:
- job: build
displayName: Build and deploy
pool:
vmImage: ubuntu-latest
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: "3.11"
displayName: "Use Python 3.11"
- task: Docker@2
inputs:
containerRegistry: '$(containerRegistry)'
repository: 'main'
command: 'buildAndPush'
Dockerfile: 'Dockerfile'
tags: 'latest'
- task: AzureAppServiceManage@0
inputs:
azureSubscription: '$(subscription)'
Action: 'Restart Azure App Service'
WebAppName: '$(webApp)'