34 lines
1004 B
YAML
34 lines
1004 B
YAML
name: Deploy Python Application
|
|
|
|
on:
|
|
pull_request:
|
|
types:
|
|
- closed
|
|
branches:
|
|
- main
|
|
- 'release/**'
|
|
- 'feature/**'
|
|
|
|
jobs:
|
|
deploy:
|
|
name: Deploy
|
|
if: github.event.pull_request.merged == true
|
|
permissions: write-all
|
|
uses: Aignosi/github_workflow_templates/.github/workflows/reusable-deploy.yml@main
|
|
with:
|
|
branch_name: ${{ github.event.pull_request.head.ref }}
|
|
project_type: 'python'
|
|
image_name: 'sientia-dataops-model-manager'
|
|
helm_chart_path: 'sientia-module'
|
|
helm_release_name: 'sientia-dataops-model-manager'
|
|
helm_namespace: 'sientia'
|
|
update_version_in: '["pyproject", "values"]'
|
|
app_owner: 'Aignosi'
|
|
private_repos: 'sientia-dataops-library'
|
|
helm_repo_name: 'sientia'
|
|
helm_repo_url: 'https://raw.githubusercontent.com/Aignosi/sientia-dataops-helm-repo/refs/heads/main/'
|
|
helm_chart_version: '0.6.0'
|
|
helm_values_file: './values.yaml'
|
|
use_vpn: true
|
|
secrets: inherit
|