-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
615cf0c
commit 831135f
Showing
10 changed files
with
26 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,7 @@ jobs: | |
cd scripts | ||
chmod +x install_and_setup_vault_k8s.sh | ||
./install_and_setup_vault_k8s.sh | ||
- name: Perform the test | ||
- name: Perform the controller integration tests | ||
if: matrix.os != 'macos-latest' | ||
run: | | ||
export "GITHUB_PRIVATE_KEY=${{ secrets.GH_TEST_APP_PK }}" | ||
|
@@ -54,12 +54,21 @@ jobs: | |
export "VAULT_ADDR=http://localhost:8200" | ||
export "VAULT_ROLE_AUDIENCE=githubapp" | ||
export "VAULT_ROLE=githubapp" | ||
export ENABLE_WEBHOOKS=false | ||
# Run vault port forward in background | ||
kubectl port-forward vault-0 8200:8200 & | ||
# Run tests | ||
USE_EXISTING_CLUSTER=true make test | ||
- name: Perform the webhook tests | ||
if: matrix.os != 'macos-latest' | ||
run: | | ||
export "GH_APP_ID=${{ secrets.GH_APP_ID }}" | ||
export "GH_INSTALL_ID=${{ secrets.GH_INSTALL_ID }}" | ||
# Run webhook tests | ||
make test | ||
- name: Report failure | ||
uses: nashmaniac/[email protected] | ||
# Only report failures of pushes (PRs have are visible through the Checks section) to the default branch | ||
|
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
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
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
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
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