feat: add manual triger for test
This commit is contained in:
23
.github/workflows/test-full.yaml
vendored
23
.github/workflows/test-full.yaml
vendored
@@ -2,21 +2,40 @@ name: full CI
|
||||
run-name: ${{ github.actor }} run Actions 🚀
|
||||
|
||||
on:
|
||||
- push
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
run-docker:
|
||||
description: 'Run Docker Build and Push'
|
||||
required: false
|
||||
default: true
|
||||
type: boolean
|
||||
run-argocd:
|
||||
description: 'Run ArgoCD Deployment'
|
||||
required: false
|
||||
default: true
|
||||
type: boolean
|
||||
debug:
|
||||
description: 'Enable debug mode for ArgoCD deployment'
|
||||
required: false
|
||||
default: true
|
||||
type: boolean
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
if: ${{ github.event.inputs.run-docker == true }}
|
||||
uses: ./.github/workflows/docker.yaml
|
||||
with:
|
||||
debug: ${{ github.event.inputs.debug }}
|
||||
registry: ${{ vars.REGISTERY_ADDRESS }}
|
||||
secrets:
|
||||
REGISTERY_USER: ${{ secrets.REGISTERY_USER }}
|
||||
REGISTERY_PASSWORD: ${{ secrets.REGISTERY_PASSWORD }}
|
||||
argocd:
|
||||
if: ${{ github.event.inputs.run-argocd == true }}
|
||||
uses: ./.github/workflows/argocd.yaml
|
||||
needs: docker
|
||||
with:
|
||||
debug: true
|
||||
debug: ${{ github.event.inputs.debug }}
|
||||
secrets:
|
||||
ARGOCD_GIT_TOKEN: ${{ secrets.ARGOCD_GIT_TOKEN }}
|
||||
|
||||
Reference in New Issue
Block a user