Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A few updates to the getting started docs #1330

Merged
merged 1 commit into from
Sep 25, 2023
Merged

Conversation

natalieparellano
Copy link
Contributor

Based on getting e2e working for the first time

@natalieparellano natalieparellano requested a review from a team as a code owner September 25, 2023 18:34
```bash
kubectl cluster-info # ensure you have access to a cluster
./hack/apply.sh <IMAGE/NAME> # <IMAGE/NAME> is a writable and publicly accessible location
docker login <registry namespace> # must be writable and publicly accessible; e.g., your Docker Hub username or gcr.io/<some-project>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An image "name" such as some-docker-username/random-image causes the tests to fail


Several unit tests depend upon libgit2 v1.3.0.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to no longer be true


```bash
IMAGE_REGISTRY=gcr.io/<some-project> go test ./test/...
IMAGE_REGISTRY=gcr.io/<some-project> \
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Side note, while ./hack/apply.sh works with index.docker.io I couldn't get the end-to-end tests to pass this way (they failed with "unauthorized" error). I recall there are some oddities WRT ggcr/docker and Docker Hub specifically, but I didn't dig too much here.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ya there are some weirdisms but I forget the exact config needed for running the e2e tests against dockerhub

@@ -65,64 +76,29 @@ EOF
### Running Unit Tests

```bash
go test ./pkg/...
make unit
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using make allows us to inherit the timeout which I hit on one of the suites

@tomkennedy513 tomkennedy513 merged commit c790368 into main Sep 25, 2023
3 checks passed
@tomkennedy513 tomkennedy513 deleted the update-development branch September 25, 2023 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants