Skip to content
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

🐛 Fix htpasswd command not found #1486

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

peppi-lotta
Copy link
Member

What this PR does / why we need it:
Fixes #1485

@metal3-io-bot metal3-io-bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Dec 11, 2023
@peppi-lotta
Copy link
Member Author

/test-centos-e2e-integration-main
/test-ubuntu-integration-main

@lentzi90
Copy link
Member

/metal3-bmo-e2e-test

if ! [ -x "$(command -v htpasswd)" ]; then
echo "htpasswd could not be found, installing..."
sudo apt-get update
sudo apt-get install -y apache2-utils
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not specific to this PR, but generally these hack/e2e/ scripts wont work locally for a mac user like me. I will add an issue to make it work for other architectures as well.
cc @lentzi90 @maxrantil

Copy link
Member

@lentzi90 lentzi90 Dec 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it would be great to make this more flexible so it can work also for development and not just CI. So far my focus has been to just set up the CI, but for the long term I definitely intend to make this easier for developers to use locally.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dis-asgree here. My understanding was the hack/ scripts are also used to test the CI test locally. If hack/e2e scripts are not meant to be used by developers locally, then I can agree.

I would ask that you do not make the CI unnecessarily complicated just to accommodate mac users though 😉

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Anyways, I have created an issue here anyhow #1487, lets discuss it on the issue.
/approve

Copy link
Member

@lentzi90 lentzi90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@metal3-io-bot metal3-io-bot added the lgtm Indicates that a PR is ready to be merged. label Dec 11, 2023
@metal3-io-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: kashifest

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@metal3-io-bot metal3-io-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 11, 2023
Copy link
Member

@tuminoid tuminoid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit.

hack/e2e/ensure_htpasswd.sh Outdated Show resolved Hide resolved
hack/e2e/ensure_htpasswd.sh Outdated Show resolved Hide resolved
@tuminoid
Copy link
Member

/hold
Please fix the nit.

@metal3-io-bot metal3-io-bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 11, 2023
@metal3-io-bot metal3-io-bot removed the lgtm Indicates that a PR is ready to be merged. label Dec 12, 2023
Copy link
Member

@lentzi90 lentzi90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@metal3-io-bot metal3-io-bot added the lgtm Indicates that a PR is ready to be merged. label Dec 12, 2023
@lentzi90
Copy link
Member

/hold cancel

@metal3-io-bot metal3-io-bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 12, 2023
Signed-off-by: peppi-lotta <peppi-lotta.saari@est.tech>
@metal3-io-bot metal3-io-bot removed the lgtm Indicates that a PR is ready to be merged. label Dec 12, 2023
Copy link
Member

@tuminoid tuminoid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@metal3-io-bot metal3-io-bot added the lgtm Indicates that a PR is ready to be merged. label Dec 12, 2023
@lentzi90
Copy link
Member

/test-centos-e2e-integration-main
/test-ubuntu-integration-main

@tuminoid
Copy link
Member

/override test-ubuntu-integration-main
Irrelevant test for this.

@metal3-io-bot
Copy link
Contributor

@tuminoid: Overrode contexts on behalf of tuminoid: test-ubuntu-integration-main

In response to this:

/override test-ubuntu-integration-main
Irrelevant test for this.

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.

@metal3-io-bot metal3-io-bot merged commit 721f73b into metal3-io:main Dec 12, 2023
15 checks passed
@metal3-io-bot metal3-io-bot deleted the fix/htpasswd-PEPPI branch December 12, 2023 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

E2e: htpasswd command not found
5 participants