Skip to content

Commit

Permalink
[v2] E2E test groundwork (#665)
Browse files Browse the repository at this point in the history
This adds the groundwork for e2e testing the v2 branch. Try it with
`make test-e2e`.

I haven't enabled an assertion for the random-yaml stack because I
wasn't able to see it reliably reconcile. I was seeing GitHub rate limit
errors as well as errors from the operator when updating status on the
stack.
  • Loading branch information
blampe authored Sep 18, 2024
1 parent e850d02 commit 7fd37bb
Show file tree
Hide file tree
Showing 33 changed files with 11,235 additions and 510 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/v2-run-acceptance-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ jobs:
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
file: agent/coverage.out
files: agent/coverage.out,operator/coverage.out
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,4 @@ tags
*.vsix
### IntelliJ ###
.idea
config/
.envrc
.envrc
9 changes: 9 additions & 0 deletions .mise.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[tools]
golangci-lint = "1.58.1"
etcd = "3.5.16"
protoc-gen-go = "1.34.2"
protoc-gen-go-grpc = "1.5.1"
kubebuilder = "4.2.0"

[settings]
experimental = true # Enable Go backend.
5 changes: 5 additions & 0 deletions agent/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# More info: https://docs.docker.com/engine/reference/builder/#dockerignore-file
# Ignore build and test binaries.
bin/
*_test.go
*.out
2 changes: 1 addition & 1 deletion agent/pkg/proto/agent.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7fd37bb

Please sign in to comment.