Skip to content

Commit 18a119a

Browse files
authored
integration test isolation (knative#2894)
- Default builder and pusher set to embedded Host Builder/Pusher(oci) - Most tests clear environment - Environment defaults can be controlled via environment variables - Tests which require back-compat `git` binary actively check and skip when running with a cleared environment (both integration and unit). - Bugfixes for when run in tandem with E2E tests - Ignores go-created directories in the default home path (testdata)
1 parent a18f763 commit 18a119a

File tree

9 files changed

+279
-135
lines changed

9 files changed

+279
-135
lines changed

.gitignore

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,14 @@
1010
/hack/bin
1111
/.artifacts
1212

13-
/e2e/testdata/default_home/go
14-
/e2e/testdata/default_home/.cache
15-
13+
/pkg/functions/testdata/migrations/*/.gitignore
14+
/pkg/functions/testdata/default_home/go
15+
/pkg/functions/testdata/default_home/.cache
1616
/pkg/functions/testdata/migrations/*/.gitignore
1717

18+
# Go
19+
/templates/go/cloudevents/go.sum
20+
1821
# JS
1922
node_modules
2023
/templates/typescript/cloudevents/build
@@ -25,10 +28,12 @@ __pycache__
2528
/templates/python/cloudevents/.venv
2629
/templates/python/http/.venv
2730

28-
# VSCode
31+
# E2E Tests
32+
/e2e/testdata/default_home/go
33+
/e2e/testdata/default_home/.cache
34+
35+
# Editors
2936
.vscode
30-
31-
# IntelliJ
3237
.idea
3338

3439
# Operating system temporary files

0 commit comments

Comments
 (0)