Skip to content

Commit

Permalink
[P4ADEV-1889] migration to ArgoCD
Browse files Browse the repository at this point in the history
  • Loading branch information
Benedetta-fabbri committed Jan 31, 2025
1 parent db3d13c commit a9bd347
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/flow-docker-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ on:
required: false
default: 'true'
argocd_target_branch:
description: 'argocd target branch name'
required: false
default: 'main'
description: 'argocd target branch name'
required: false
default: 'main'
postman_branch:
description: postman branch name'
required: false
Expand All @@ -33,10 +33,6 @@ env:
# branch choosed by workflow_dispatch or by push event
CURRENT_BRANCH: ${{ github.event.inputs.branch || github.ref_name }}

permissions:
packages: write
contents: read

jobs:
checkout:
name: 🔖 Checkout Repository
Expand Down Expand Up @@ -83,10 +79,10 @@ jobs:
azure_devops_pat: ${{ secrets.AZURE_DEVOPS_TOKEN }}
azure_template_parameters: |
{
"APPS_TOP": "[p4pa-workflow-hub]",
"APPS_TOP": "[p4pa-debt-positions]",
"ARGOCD_TARGET_BRANCH": "${{ github.event.inputs.argocd_target_branch }}",
"POSTMAN_BRANCH": "${{ github.event.inputs.postman_branch }}",
"TRIGGER_MESSAGE": "p4pa-workflow-hub"
"TRIGGER_MESSAGE": "p4pa-debt-positions"
}
4 changes: 2 additions & 2 deletions .github/workflows/flow-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
azure_devops_pat: ${{ secrets.AZURE_DEVOPS_TOKEN }}
azure_template_parameters: |
{
"APPS_TOP": "[p4pa-workflow-hub]",
"APPS_TOP": "[p4pa-debt-positions]",
"POSTMAN_BRANCH": "${{ github.ref_name }}",
"TRIGGER_MESSAGE": "p4pa-workflow-hub"
"TRIGGER_MESSAGE": "p4pa-debt-positions"
}

0 comments on commit a9bd347

Please sign in to comment.