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

PR to fix the issues reported by the Issue 28 #45

Closed
wants to merge 6 commits into from

Conversation

cmoulliard
Copy link
Contributor

…rce file under localbuild/resources/argo and file contains 55 and not 57 objects

Signed-off-by: cmoulliard <[email protected]>
…ig within the cluster_test.go

Signed-off-by: cmoulliard <[email protected]>
@cmoulliard
Copy link
Contributor Author

cmoulliard commented Oct 19, 2023

kind cluster config comparison is failing part of the cluster_test.go test as additional chars are included such as: \", '\t', are added - see here: https://gist.github.com/cmoulliard/53fb4cfb0c40c3041469b70477f1562c#file-gistfile1-txt-L35-L82. I can reproduce the issue locally but I don't know if this is a go issue with diff, OS, etc

Fixed with commit: 8034b46

…ith Testify Assert which simplifies comparisons and improve testing readibility

Signed-off-by: cmoulliard <[email protected]>
… is mandatory for the integration tests to launch first docker

Signed-off-by: cmoulliard <[email protected]>
@cmoulliard
Copy link
Contributor Author

Proposition to use testcontainer: #49
WDYT ? @nabuskey

…have to install manually a registry on docker for the test: image_test.go

Signed-off-by: cmoulliard <[email protected]>
…loyment resource will be available

Signed-off-by: cmoulliard <[email protected]>
@cmoulliard
Copy link
Contributor Author

Is a docker registry created OOTB when we execute make test part of a github workflow ?
The kind network should be added to /etc/hosts or registered as docker network otherwise registry_test.go:31: Error reconciling registry: Error response from daemon: network kind not found will continue to fail
@nabuskey

@nabuskey
Copy link
Collaborator

Is a docker registry created OOTB when we execute make test part of a github workflow ?

Yeah docker is one of tools that's included in the Ubuntu image that GitHub provides.

I think I want to hold off on moving to test containers, if we use Gitea like you suggested, we don't need to build images.

@cmoulliard
Copy link
Contributor Author

I think I want to hold off on moving to test containers, if we use Gitea like you suggested, we don't need to build images.

I agree with you. Nevertheless, if it is need to bump a container during some tests execution, using TestContainer will simplify our life

@cmoulliard
Copy link
Contributor Author

As most of the issues have been fixed, I propose to close this PR. WDYT ? @nabuskey

@nabuskey
Copy link
Collaborator

Yeah let's close this and thanks for working on this. I do like your approach with TestContainers though. If a need arises for something like this, we should definitely consider it.

@nabuskey nabuskey closed this Oct 30, 2023
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