SIENTIAPDE-1672: Streamline deploy workflow by removing dedicated versioning job, passing branch name to reusable deploy, and enabling VPN.

This commit is contained in:
Bruno Domingues
2026-03-12 13:17:07 -03:00
parent 9d71c0cf80
commit 1d096a6dc0

View File

@@ -10,29 +10,13 @@ on:
- 'feature/**'
jobs:
get-version:
name: Determine Next Version
runs-on: ubuntu-latest
permissions: write-all
if: github.event.pull_request.merged == true
outputs:
version: ${{ steps.version.outputs.next_version }}
steps:
- uses: actions/checkout@v4
- name: Determine next version
id: version
uses: Aignosi/github_workflow_templates/.github/actions/determine-next-version@main
with:
branch_name: ${{ github.event.pull_request.head.ref }}
deploy:
name: Deploy
needs: [get-version]
if: github.event.pull_request.merged == true
permissions: write-all
uses: Aignosi/github_workflow_templates/.github/workflows/reusable-deploy.yml@main
with:
version: ${{ needs.get-version.outputs.version }}
branch_name: ${{ github.event.pull_request.head.ref }}
project_type: 'python'
image_name: 'sientia-dataops-model-manager'
helm_chart_path: 'sientia-module'
@@ -45,4 +29,5 @@ jobs:
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