-
Notifications
You must be signed in to change notification settings - Fork 0
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
Devops/fairspc 57 GitHub actions #45
Conversation
acb5865
to
47ef222
Compare
47ef222
to
5ec26eb
Compare
run: | | ||
BRANCH=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}} | ||
echo "Building images from the branch: $BRANCH" | ||
VER=$(cat ./projects/jupyterhub-hub/VERSION) |
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.
it looks like we've been using the main project ./VERSION file for image tags, I see that the project specific ones haven't been updated for 5 years...
I think it makes sense to have single version file for this repo (and to remove project specific ones), otherwise it will be easy to create inconsistencies and confusion which hub image works with which singleuser one, keep it also consistent with helm chart version.
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.
agree, done
run: | | ||
BRANCH=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}} | ||
echo "Building images from the branch: $BRANCH" | ||
VER=$(cat ./projects/jupyterhub-singleuser/VERSION) |
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.
same here, see the comment about repo version file
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
Similar case as for Keycloak repo - it would be nice to have some build on PR, at least checking if image build is not failing, when creating a PR. That was the case with Travis. |
…po/registry for dev and release branches only
Quality Gate passedIssues Measures |
@ewelinagr agree with you, reasonable, made the push step conditional |
Sounds good! It looks like the condition on helm chart pushing works, but from the docker action log it looks like the images were pushed anyway. Maybe it is just the way the jobs are grouped now. For helm pushing is separate action, for docker build and push is together so it is shown as done |
@ewelinagr it might look confusing, I understand, but yes, it is done because it is combined step including both building and pushing. There is a conditional property |
No description provided.