-
Notifications
You must be signed in to change notification settings - Fork 54
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
Allow using archive path for ocp4-helpernode and ocp4-playbooks #221
Allow using archive path for ocp4-helpernode and ocp4-playbooks #221
Conversation
Hi @torwen1. Thanks for your PR. I'm waiting for a ocp-power-automation member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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 have following points to make on the overall patch:
|
Thanks a lot for your input.
|
We could always automate folder rename. Users can clone and zip/tar by downloading it on a machine with internet access or use the Github UI to download the branch. We can leave it up to the user and have this documented. TF will download the archive and extract it to a folder and run it as an ansible project. Also for point 3, no need for a checkout command if the path is an archive. For git repos we should run checkout. |
a265270
to
390ce6a
Compare
40581ce
to
a4bc51c
Compare
Hi, have updated the code and squashed the commits into one:
|
6783c8b
to
f677382
Compare
baf9454
to
b43b17b
Compare
@Prajyot-Parab can you or someone else test this feature out? Need to make sure this works fine before accepting the change. |
The code works fine. However, the ocp4-helpernode releases on GitHub are not appropriate for this code. As the zipped file extraction does not have the ansible files format. |
@aishwaryabk Thanks a lot for testing. You are right regarding the release versions of ocp4-helpernode. My suggestion is to mentioning in the documentation that the ZIP must be created from the master repository and not using the releases. That's how I would "solve" this topic. What do you think? |
IMO this should be fine. |
121d5ed
to
cac93e1
Compare
I have updated the var-tfvars.md and described that the download needs to be done from the master repository and removed the part with selecting it from the release tab. |
@torwen1 can we not support any branch? It should be possible to give the target file name while un-archiving the zip. So any download from Github GUI should be supported IMO. |
@yussufsh Sure, technically it should work. I just thought that it would be the easiest for the users to have one documented way, instead of option a, b, c. But I can simply update the documentation with", or any other supported branch". |
6dbbb5a
to
61d19eb
Compare
I have updated the documentation, that users can also select any supported branch for downloading the ZIP package, instead just from the master repo. |
@yussufsh Just to pop up the merge request again :) |
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: torwen1, yussufsh 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 |
New changes are detected. LGTM label has been removed. |
02e9085
to
b442d4c
Compare
Fixes ocp-power-automation#220 Wildcard move Fixes ocp-power-automation#220 Wildcard move Fixes ocp-power-automation#220 Updated doc Fixes ocp-power-automation#220 Updated doc Fixes ocp-power-automation#220 Updated Docu Fixes ocp-power-automation#220 Updated Docu Update var.tfvars-doc.md Fixes ocp-power-automation#220 Update var.tfvars-doc.md Updated documentation, that selecting supported branches are also supported Enable external DNS/LB support Signed-off-by: CS Zhang <[email protected]> Update the doc Signed-off-by: CS Zhang <[email protected]> Update the helpernode_tag to latest level Signed-off-by: CS Zhang <[email protected]> Add RHCOS kernel options before installation Signed-off-by: Aishwarya Kamat <[email protected]> Allow OCP network customization before installation. (ocp-power-automation#224) add clusterNetwork_CIDR, serviceNetwork, hostprefix vars Added cs-zhang as approver To set mtu on private network Signed-off-by: Aishwarya Kamat <[email protected]> remove mkumatag from reviewer list Not actively involved, hence removing my entry from the reviewers to avoid getting assigned automatically for the review force centos stream to use ansible 2.9 like rhel8 Accessing cluster using non-root user Signed-off-by: Aishwarya Kamat <[email protected]> bastion fqdn with clusterID as subdmain To remove the scp error with Terraform v1.1.x Signed-off-by: Aishwarya Kamat <[email protected]> To Update the Terraform Version Signed-off-by: Aishwarya Kamat <[email protected]> FIPS enablement Signed-off-by: Aishwarya Kamat <[email protected]> Merging the code ocp-power-automation#220 Merging the code ocp-power-automation#220
bf134c2
to
09f362e
Compare
Creating new merge request because with this one I cannot solve the merge conflicts. |
Fixes #220
Implementation how I did it at another customer. I have tested it again on our local test env and both (git and curl) was working like it should be.
I also added a helm_repo URL to the var.tfvars (as long the package is still needed), so that users can also host this package on their own environment.