-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Debug Helm chart problem Signed-off-by: TannerGabriel <[email protected]> * Build second docker image version Signed-off-by: TannerGabriel <[email protected]> * Debug environment variables Signed-off-by: TannerGabriel <[email protected]> * Add Env variables to integration tests Signed-off-by: TannerGabriel <[email protected]> * Refactor integration test action Signed-off-by: TannerGabriel <[email protected]> * Refactor environment variables Signed-off-by: TannerGabriel <[email protected]>
- Loading branch information
1 parent
7ea31ed
commit 70ef361
Showing
2 changed files
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,13 +12,14 @@ defaults: | |
jobs: | ||
integration_test: | ||
name: "Integration tests" | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
keptn-version: [ "0.11.4", "0.12.6", "0.13.4", "0.14.1" ] | ||
env: | ||
GO_VERSION: 1.17 | ||
GO111MODULE: "on" | ||
ENABLE_E2E_TEST: true | ||
BRANCH: ${{ github.head_ref || github.ref_name }} | ||
steps: | ||
|
@@ -50,7 +51,7 @@ jobs: | |
- name: Install Keptn | ||
id: install_keptn | ||
uses: keptn-sandbox/[email protected] | ||
timeout-minutes: 5 | ||
timeout-minutes: 10 | ||
with: | ||
KEPTN_VERSION: ${{ matrix.keptn-version }} | ||
KUBECONFIG: /etc/rancher/k3s/k3s.yaml | ||
|
@@ -61,12 +62,15 @@ jobs: | |
# Install Keptn-Service-Template-Go from downloaded helm chart | ||
- name: Install Keptn-Service-Template-Go | ||
run: | | ||
run: | | ||
helm upgrade --install --create-namespace -n keptn keptn-service-template-go \ | ||
./dist/helm-charts/keptn-service-template-go-*.tgz \ | ||
--wait | ||
- name: Run integration tests | ||
env: | ||
KEPTN_ENDPOINT: ${{ steps.install_keptn.outputs.KEPTN_ENDPOINT }} | ||
KEPTN_API_TOKEN: ${{ steps.install_keptn.outputs.KEPTN_API_TOKEN }} | ||
shell: bash | ||
working-directory: keptn-service-template-go | ||
run: go test -race -v ./... |