Merge pull request #31 from Aignosi/fix/SIENTIAPDE-2068

CI/CD: Migrate Model Manager Deployment to Flow B
This commit is contained in:
Bruno Domingues
2026-09-09 22:11:09 -03:00
committed by GitHub
2 changed files with 34 additions and 23 deletions

View File

@@ -1,33 +1,28 @@
name: Deploy Python Application name: Deploy DataOps Worker
on: on:
pull_request: pull_request:
types: types: [closed]
- closed branches: [main, 'release/**', 'feature/**']
branches: workflow_dispatch:
- main
- 'release/**' permissions:
- 'feature/**' contents: write
id-token: write
pull-requests: read
jobs: jobs:
deploy: deploy:
name: Deploy name: Deploy
if: github.event.pull_request.merged == true if: github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true
permissions: write-all uses: Aignosi/github_workflow_templates/.github/workflows/reusable-deploy-dataops.yml@main
uses: Aignosi/github_workflow_templates/.github/workflows/reusable-deploy.yml@main
with: with:
branch_name: ${{ github.event.pull_request.head.ref }} branch_name: ${{ github.event.pull_request.head.ref }}
project_type: 'python' project_name: 'model-manager'
image_name: 'sientia-dataops-model-manager' chart_name: 'model-manager'
helm_chart_path: 'sientia-module' env_list_path: '.global.env'
helm_release_name: 'sientia-dataops-model-manager' create_tarball: ${{ github.event_name == 'pull_request' }}
helm_namespace: 'sientia' mirror: true
update_version_in: '["pyproject", "values"]' bump_chart: true
app_owner: 'Aignosi' deploy: true
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 secrets: inherit

View File

@@ -0,0 +1,16 @@
name: Require chart-ref label
on:
pull_request:
types: [opened, synchronize, reopened, labeled, unlabeled]
branches:
- main
- 'release/**'
- 'feature/**'
permissions:
pull-requests: write
jobs:
require-chart-ref-label:
uses: Aignosi/github_workflow_templates/.github/workflows/require-chart-ref-label.yml@main