Skip to content

Add script to regenerate test-certificate fixtures#2429

Merged
thaJeztah merged 1 commit into
docker:masterfrom
thaJeztah:add_fixture_gen_script
Apr 21, 2020
Merged

Add script to regenerate test-certificate fixtures#2429
thaJeztah merged 1 commit into
docker:masterfrom
thaJeztah:add_fixture_gen_script

Conversation

@thaJeztah
Copy link
Copy Markdown
Member

follow-up to #2428

depends on dmcgowan/quicktls#3

Copy link
Copy Markdown
Contributor

@silvin-lubecki silvin-lubecki left a comment

Choose a reason for hiding this comment

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

Shouldn't this script be called somewhere ? 🤔

@thaJeztah
Copy link
Copy Markdown
Member Author

Right now it's to manually update the certificates; we could generate them "on the fly" it we want to (still have to wait for the changes to be merged upstream) 😅

@thaJeztah thaJeztah marked this pull request as ready for review April 9, 2020 21:09
Comment thread e2e/testdata/gen-certs.sh Outdated
#!/usr/bin/env sh

GO111MODULE=off go get -u github.com/dmcgowan/quicktls
cd notary || exit 1
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

set -eu instead of exit 1?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Ah, yes, I think that works as well; this was mostly to satisfy the linter 😅

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah force-pushed the add_fixture_gen_script branch from 77d5615 to 3b256db Compare April 10, 2020 14:43
@thaJeztah
Copy link
Copy Markdown
Member Author

Updated; PTAL

@thaJeztah
Copy link
Copy Markdown
Member Author

bringing this one in

@thaJeztah thaJeztah merged commit e28d9c4 into docker:master Apr 21, 2020
@thaJeztah thaJeztah deleted the add_fixture_gen_script branch April 21, 2020 14:50
@thaJeztah thaJeztah added this to the 20.03.0 milestone Apr 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants