diff --git a/.github/workflows/integration-linux.yml b/.github/workflows/integration-linux.yml index 03f74d59..36b7ae6c 100644 --- a/.github/workflows/integration-linux.yml +++ b/.github/workflows/integration-linux.yml @@ -29,7 +29,14 @@ jobs: needs: build strategy: matrix: - language: ["gomodule", "go"] + language: [] + repo: [] + include: + - language: "gomodule" + repo: "gambtho/go_echo" + - language: "go" + repo: "davidgamero/go-echo-no-mod" uses: ./.github/workflows/integration-per-language.yml with: language: ${{ matrix.language }} + repo: ${{ matrix.repo }} diff --git a/.github/workflows/integration-per-language.yml b/.github/workflows/integration-per-language.yml index d18d73ed..f13c939f 100644 --- a/.github/workflows/integration-per-language.yml +++ b/.github/workflows/integration-per-language.yml @@ -6,6 +6,10 @@ on: description: "The language to test" required: true type: string + repo: + description: "The repo to test" + required: true + type: string jobs: helm-dry-run: runs-on: ubuntu-latest @@ -16,11 +20,9 @@ jobs: name: draft-binary - run: chmod +x ./draft - run: mkdir ./langtest - - run: | - echo "repo=$(cat ./test/integration_config.json | jq -r '.[] | select(.language == ${{ inputs.language }}) | .repo')" >> "$GITHUB_ENV" - uses: actions/checkout@v3 with: - repository: ${{ env.repo }} + repository: ${{ inputs.repo }} path: ./langtest - name: Execute Dry Run with config file run: | @@ -73,11 +75,9 @@ jobs: name: draft-binary - run: chmod +x ./draft - run: mkdir ./langtest - - run: | - echo "repo=$(cat ./test/integration_config.json | jq -r '.[] | select(.language == ${{ inputs.language }}) | .repo')" >> "$GITHUB_ENV" - uses: actions/checkout@v3 with: - repository: ${{ env.repo }} + repository: ${{ inputs.repo }} path: ./langtest - run: | rm -rf ./langtest/manifests @@ -104,7 +104,6 @@ jobs: releaseName: "test-release" id: bake - name: Build and Push image - continue-on-error: true run: | export SHELL=/bin/bash eval $(minikube -p minikube docker-env) diff --git a/template/deployments/helm/draft.yaml b/template/deployments/helm/draft.yaml index 4265fedc..0df4f479 100644 --- a/template/deployments/helm/draft.yaml +++ b/template/deployments/helm/draft.yaml @@ -154,7 +154,7 @@ variables: kind: "kubernetesProbeDelay" default: disablePrompt: true - value: 5 + value: 10 description: "kubernetes startup probe initial delay in seconds" versions: ">=0.0.1" - name: "READINESSPERIOD"