-
Notifications
You must be signed in to change notification settings - Fork 21
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
Publish image for infinispan-test, replaces Jenkins stage 'Image' #232
Conversation
882d136
to
6d6aae2
Compare
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.
Thanks @rigazilla, overall LGTM just a few minor things. Do you have a link to the corresponding Infinispan action? If I can see the user of this, it will give me the full context to review more thoroughly.
Very minor nitpick, I would rename the action to just |
It will be based on this: https://github.com/rigazilla/infinispan/blob/main/.github/workflows/on_run_publish_image.yml |
yeah ok, the naming convention I'm trying to apply doesn't work very well... too verbose |
6d6aae2
to
adecb23
Compare
Thanks, that's really helpful. So looking at you current code, it seems like for PRs we need to wait for all tests to run before the image is built. This makes sense for pushes to branches, but would it be possible to make it so that the workflow is triggered on PR open? Ideally I wouldn't have to wait ~1h before the image build happens. |
oh that was my intent, but is gone lost when I moved out the publishing code from the main workflow. I'll work on that if this PR looks good, is it ok for a merge? |
run-id: | ||
description: 'Id of the run to download server artifact from' | ||
type: string | ||
serverArtifact: |
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.
I don't mind whether we use camelCase or kebab-case, but let's try to be consistent with the input element across our various workflows.
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.
let's go with camel
Do you have a link to a successful run from your fork? |
yep, I'm running on my fork for now: |
adecb23
to
d039f86
Compare
d039f86
to
34e3c41
Compare
Thanks @rigazilla |
Workflow to build and publish infinispan server image on quay.io/infinispan-test