-
Notifications
You must be signed in to change notification settings - Fork 558
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
Push image to 7 digit git sha tag instead of latest tag for master branch changes #202
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: wongma7 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 |
/test pull-aws-efs-csi-driver-e2e |
1 similar comment
/test pull-aws-efs-csi-driver-e2e |
Test cluster can't come up for some reason ,not sure why. /retest |
/test pull-aws-efs-csi-driver-e2e |
/retest Jun 26 21:32:33.649: INFO: Failed to get logs from node "ip-172-20-71-239.us-west-2.compute.internal" pod "pod-subpath-test-efs-csi-aws-com-preprovisionedpv-hgmj" container "test-container-subpath-efs-csi-aws-com-preprovisionedpv-hgmj": the server rejected our request for an unknown reason (get pods pod-subpath-test-efs-csi-aws-com-preprovisionedpv-hgmj) The other a strange reason that I am not sure how to even begin investigating Output: mount.nfs4: mounting fs-58e1185d.efs.us-west-2.amazonaws.com:/ failed, reason given by server: No such file or directory |
/lgtm |
Is there still a mechanism for making sure the
...which I think might be because the node.yaml and |
Since [upstream PR #202](kubernetes-sigs/aws-efs-csi-driver#202), the upstream aws-efs-csi-driver has been saving images tagged according to commit hashes as well as simply moving `latest` along. This commit locks our operator into using the tag corresponding to commit [778131e](https://github.com/kubernetes-sigs/aws-efs-csi-driver/tree/778131e6fdfce466bbada3fb08b1e5bdd50c072b), including updating the daemonset yaml to match what's at that commit level.
I want to change latest to mean "latest stable version" and instead push master branch changes to master/unstable. But we can't make that change until the next release, In the meantime we can continue pushing to latest. |
Okay. As long as I can count on a tagged image working with the YAML from the corresponding commit level, I'm happy. (I confirmed that this morning with the tag for 778131e.) I'm just not sure the current |
Is this a bug fix or adding new feature? fix
What is this PR about? / Why do we need it?
latest tag is dangerous to use. But releases are infrequent. So push git tag releases so users can take advantage of bugfixes immediately instead of having to wait for a release.
We are working on having more frequent releases starting with the next one. Partly there is the manual effort of compiling changelog (though there is a script), testing (though CI is mostly sufficient), and bottleneck (@leakingtapan may not have time to push out a tag every couple weeks and I/others don't have permissions yet).
What testing is done?
TBH I'm not sure how to test the github workflow but I know HORT_SHA=$(echo $GITHUB_SHA | cut -c -7) works and docs say GITHUB_SHA will be available: https://help.github.com/en/actions/configuring-and-managing-workflows/using-environment-variables