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

e2e TLS minio test coverage #3652

Merged
merged 11 commits into from
Jul 1, 2024
Merged

e2e TLS minio test coverage #3652

merged 11 commits into from
Jul 1, 2024

Conversation

sotojn
Copy link
Contributor

@sotojn sotojn commented Jun 12, 2024

This PR makes the following changes:

  • Adds e2e test coverage for TLS encrypted minio services
  • Adds new generate-certs.sh script that quickly builds new certs for minio using mkcert
  • Bumps @terascope/scripts to v.0.78.0

@sotojn sotojn self-assigned this Jun 12, 2024
@godber godber added this to the v2.1 milestone Jun 13, 2024
@sotojn sotojn force-pushed the e2e-cert-test-coverage branch from 14c93c2 to 87e8304 Compare June 20, 2024 15:13
@sotojn sotojn marked this pull request as ready for review June 20, 2024 15:59
done
echo "$DNS_NAMES"
if [ -d "$CERT_DIR" ]; then
rm -rf $CERT_DIR
Copy link
Member

Choose a reason for hiding this comment

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

I think this is safe enough the way it is currently implemented, but make sure you think long and hard anytime you add an rm -rf $var to your scripts. Make sure there's no way to screw up $var. One thing you can do (it doesn't matter in this case) is set -u, to treat unset variables as errors. I'm not asking for a change here, just warning you.

@godber godber merged commit 4e2caa0 into master Jul 1, 2024
60 checks passed
@godber godber deleted the e2e-cert-test-coverage branch July 1, 2024 21:29
@godber godber temporarily deployed to github-pages July 1, 2024 21:37 — with GitHub Actions Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants