Merge pull request #25 from Aignosi/fix/SIENTIAPDE-1672
SIENTIAPDE-1672: Streamline Deploy Workflow: Remove Versioning, Pass Branch, Enable VPN
This commit is contained in:
21
.github/workflows/deploy.yml
vendored
21
.github/workflows/deploy.yml
vendored
@@ -10,29 +10,13 @@ on:
|
|||||||
- 'feature/**'
|
- 'feature/**'
|
||||||
|
|
||||||
jobs:
|
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:
|
deploy:
|
||||||
name: Deploy
|
name: Deploy
|
||||||
needs: [get-version]
|
if: github.event.pull_request.merged == true
|
||||||
permissions: write-all
|
permissions: write-all
|
||||||
uses: Aignosi/github_workflow_templates/.github/workflows/reusable-deploy.yml@main
|
uses: Aignosi/github_workflow_templates/.github/workflows/reusable-deploy.yml@main
|
||||||
with:
|
with:
|
||||||
version: ${{ needs.get-version.outputs.version }}
|
branch_name: ${{ github.event.pull_request.head.ref }}
|
||||||
project_type: 'python'
|
project_type: 'python'
|
||||||
image_name: 'sientia-dataops-model-manager'
|
image_name: 'sientia-dataops-model-manager'
|
||||||
helm_chart_path: 'sientia-module'
|
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_repo_url: 'https://raw.githubusercontent.com/Aignosi/sientia-dataops-helm-repo/refs/heads/main/'
|
||||||
helm_chart_version: '0.6.0'
|
helm_chart_version: '0.6.0'
|
||||||
helm_values_file: './values.yaml'
|
helm_values_file: './values.yaml'
|
||||||
|
use_vpn: true
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|||||||
Reference in New Issue
Block a user