-
Notifications
You must be signed in to change notification settings - Fork 42
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
chore: github action to build the operator every week #198
Conversation
/hold |
|
||
- uses: actions/checkout@v2 | ||
|
||
# 'test' is a sub-target of 'docker-build' and so cache go build & mod |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what's test
over here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make docker-build-combined
runs a make test
automatically.
.github/workflows/weekly-build.yaml
Outdated
@@ -0,0 +1,51 @@ | |||
name: LVMO Weekly Image Publish | |||
|
|||
# Run every Monday at 23:00 UTC |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Run every Monday at 23:00 UTC | |
# Runs every Monday at 23:00 UTC |
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor nit, else looks good
.github/workflows/weekly-build.yaml
Outdated
run: make docker-build-combined IMG=${{env.IMG}} | ||
|
||
- name: Publish operator image | ||
run: docker push IMG=${{env.IMG}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
run: docker push IMG=${{env.IMG}} | |
run: docker push IMG=${{env.IMG}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
This adds a github action to build and push the operator image to quay every Monday. Signed-off-by: N Balachandran <[email protected]>
@nbalacha: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: nbalacha, sp98, Yuggupta27 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This adds a github action to build and push the operator
image to quay every Monday.
Signed-off-by: N Balachandran [email protected]