-
Notifications
You must be signed in to change notification settings - Fork 716
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
kinder: add workflow for testing super-admin.conf #2949
kinder: add workflow for testing super-admin.conf #2949
Conversation
# Ensure exit status of 0 | ||
exit 0 |
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.
this was added last minute since sometimes passing a bash script to docker exec ...
can result in random exit 1
statuses. even if e.g. the || exit 1
conditions are not met.
in some cases in the past we have seen docker exec ... mkdir ...
failing randomly. it could be since we are calling docker exec a lot.
this forces an exit 0 status once the EOF for a script was reached,
i don't have a good explanation on what's going on.
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.
seems good as it reached the end of the script here.
/skip |
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.
/lgtm
/approve
/hold
feel free to cancel hold
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.
/lgtm
I cannot see any problem from this new workflow.
# Ensure exit status of 0 | ||
exit 0 |
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.
seems good as it reached the end of the script here.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chendave, neolit123, SataQiu 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 |
/hold cancel |
- -c | ||
- | | ||
set -x | ||
CMD=docker exec {{ .vars.clusterName }}-control-plane-1 |
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 forgot to add quotes here.
it causes these CMD commands to fail, must have happened when i synced the template and the real workflow in ci/workflows.
https://testgrid.k8s.io/sig-cluster-lifecycle-kubeadm#kubeadm-kinder-super-admin-latest
will send a PR and self LGTM.
checks if the right files are generated, they have the correct certificates, that commands work without errors, etc. let me know if you think something else can be added.
tested locally with
kinder test workflow...
xref #2414
test-infra PR:
kubernetes/test-infra#31161