-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* An overhaul of logging Signed-off-by: Chris Suszyński <[email protected]> * Dump events only on failed tests by default * Move initialization to factory Signed-off-by: Chris Suszyński <[email protected]> * Proper error handing at early initialization stage Signed-off-by: Chris Suszyński <[email protected]> * Update deps * Better docs for the environment.NewStandardGlobalEnvironment func * Rename starters to initializers * Rename the flags interface * Rename interimLogger to defaultLogger * Export Cleanup opt * Use Result interface instead of simple bool in Emitter.Finished method. * Move image registration to within the installation. * Moving initialization further up in the stack * Channel non-blocking solution for RegisterPackages and ProduceImages. Use producer-consumer channel-based non-blocking solution for RegisterPackages and ProduceImages to satisfy the race detection checker. * Less verbose output of Feature state * WithImages will not influence the adjacent tests anymore * Deprecate manifest.InstallLocalYaml in favor of manifest.InstallYamlFS. * Include kn-plugin-event in downstream tests
- Loading branch information
Showing
60 changed files
with
1,275 additions
and
2,380 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 |
---|---|---|
|
@@ -13,17 +13,13 @@ jobs: | |
matrix: | ||
go-version: [ 1.17.x ] | ||
platform: [ ubuntu-latest ] | ||
ko-version: [ 0.11.2 ] | ||
kind-version: [ 0.14.0 ] | ||
|
||
name: e2e tests | ||
runs-on: ${{ matrix.platform }} | ||
|
||
env: | ||
GOPATH: ${{ github.workspace }} | ||
GO111MODULE: off | ||
KO_DOCKER_REPO: kind.local | ||
KO_VERSION: ${{ matrix.ko-version }} | ||
KIND_VERSION: ${{ matrix.kind-version }} | ||
|
||
steps: | ||
|
@@ -33,14 +29,6 @@ jobs: | |
go-version: ${{ matrix.go-version }} | ||
id: go | ||
|
||
- name: Install Dependencies | ||
run: | | ||
echo '::group:: install ko ${KO_VERSION}' | ||
curl -L https://github.com/google/ko/releases/download/v${KO_VERSION}/ko_${KO_VERSION}_Linux_x86_64.tar.gz | tar xzf - ko | ||
chmod +x ./ko | ||
sudo mv ko /usr/local/bin | ||
echo '::endgroup::' | ||
- name: Check out code onto GOPATH | ||
uses: actions/checkout@v2 | ||
with: | ||
|
@@ -96,7 +84,8 @@ jobs: | |
kubectl apply -f ./test/config | ||
# Run the tests tagged as e2e on the KinD cluster. | ||
go test -v -race -count=1 -timeout=15m -tags=e2e ./test/... | ||
go run gotest.tools/[email protected] --format testname -- \ | ||
-race -count=1 -timeout=15m -tags=e2e ./test/... | ||
- name: Gather Failure Data | ||
if: ${{ failure() }} | ||
|
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
Oops, something went wrong.