Skip to content

Commit

Permalink
test(e2e): fix e2e make goal
Browse files Browse the repository at this point in the history
Signed-off-by: Nico Braun <rainbowstack@gmail.com>
  • Loading branch information
bluebrown committed Jan 25, 2024
1 parent b178a55 commit e1d6be1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ info: ## Show build info
generate: $(GOBIN)/sqlc $(GOBIN)/swag ## Generate code
go generate ./...

e2e: testinfra deploy ## Deploy the end-to-end setup
e2e: testinfra ## Deploy the end-to-end setup
$(MAKE) deploy

testinfra: $(GOBIN)/skaffold ## Create test infrastructure
Expand Down
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -500,8 +500,6 @@ items:

### ConFix

TODO: fix this program. It is currently broken.

The `confix` command can be used to migrate from the v1 to the v2 config format.
I tries to conver the config on a best effort basis, but careful review is
required. Some features previously supported, are not supported anymore. For
Expand All @@ -524,8 +522,7 @@ You can start a local kind cluster for an end to end setp. The gitea page can be
viewed at <http://localhost:8080> with the credentials `dev:dev123`.

```bash
make testinfra
make dev
docker tag "$(docker pull busybox -q)" localhost:8080/library/busybox:v.1.2.3
make e2e
docker tag $(docker pull busybox -q) localhost:8080/library/busybox:v.1.2.3
docker push localhost:8080/library/busybox:v.1.2.3
```
11 changes: 2 additions & 9 deletions testdata/events.http
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
POST /events?chan=dockerhub HTTP/1.1
POST /kobold/events?chan=lines HTTP/1.1
Host: localhost:8080

{
"push_data": {
"tag": "v1.12.3"
},
"repository": {
"repo_name": "library/busybox"
}
}
localhost:8080/library/busybox:v1.4@sha256:220611111e8c9bbe242e9dc1367c0fa89eef83f26203ee3f7c3764046e02b248

0 comments on commit e1d6be1

Please sign in to comment.