-
Notifications
You must be signed in to change notification settings - Fork 57
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
bug: CI functionality test needs to build latest docker image #112
Comments
We could build the image using the Git commit, run the action initially, and then proceed with the end-to-end tests. |
I am thinking for pull requests and commits, we can build the router image and push it to a port on the local GitHub runner machine instead of pushing it to the GitHub repository. The workflow can then pull the Docker image from |
For your quotes, if we only run this Docker release pipeline when merging into the main branch, it means the PR has already passed the CI pipelines. Using this router as the "latest" image allows users to try the new features without bugs. |
"Latest" works for me, but my main concern is about the versioned image. It goes against the expectation that the version is pinned. |
Maybe we could use artifacts. https://docs.docker.com/build/ci/github-actions/share-image-jobs/ |
I agree. We should update the current "build router image" pipeline. |
Thanks. However, I'm not sure if Minikube can pull images from Artifacts. I've tested using the local Docker registry, and it works locally. I'll update the "Functionality Test" pipeline accordingly. |
Describe the bug
CI functionality test pipeline currently uses remote router image. If some contributors change the codes with the router, the functionality test will not be able to detect whether there is an error or not.
To Reproduce
None
Expected behavior
No response
Additional context
The functionality test should build router docker image as an initial step.
The text was updated successfully, but these errors were encountered: