-
Notifications
You must be signed in to change notification settings - Fork 1k
SQC-352 SQC-353 Create cert upload command for client side mtls certificate/CA chain certificates #7466
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
SQC-352 SQC-353 Create cert upload command for client side mtls certificate/CA chain certificates #7466
Conversation
🦋 Changeset detectedLatest commit: 0070c68 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
hi @Ltadrian :) we recently introduced a new |
15327ba to
03af501
Compare
this has been updated now, thank you 😄 |
e3d8b3d to
4450a1b
Compare
|
A wrangler prerelease is available for testing. You can install this latest build in your project with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12896554924/npm-package-wrangler-7466You can reference the automatically updated head of this PR with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/7466/npm-package-wrangler-7466Or you can use npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12896554924/npm-package-wrangler-7466 dev path/to/script.jsAdditional artifacts:cloudflare-workers-bindings-extension: wget https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12896554924/npm-package-cloudflare-workers-bindings-extension-7466 -O ./cloudflare-workers-bindings-extension.0.0.0-vcd391f3c5.vsix && code --install-extension ./cloudflare-workers-bindings-extension.0.0.0-vcd391f3c5.vsixcreate-cloudflare: npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12896554924/npm-package-create-cloudflare-7466 --no-auto-update@cloudflare/kv-asset-handler: npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12896554924/npm-package-cloudflare-kv-asset-handler-7466miniflare: npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12896554924/npm-package-miniflare-7466@cloudflare/pages-shared: npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12896554924/npm-package-cloudflare-pages-shared-7466@cloudflare/unenv-preset: npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12896554924/npm-package-cloudflare-unenv-preset-7466@cloudflare/vite-plugin: npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12896554924/npm-package-cloudflare-vite-plugin-7466@cloudflare/vitest-pool-workers: npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12896554924/npm-package-cloudflare-vitest-pool-workers-7466@cloudflare/workers-editor-shared: npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12896554924/npm-package-cloudflare-workers-editor-shared-7466@cloudflare/workers-shared: npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12896554924/npm-package-cloudflare-workers-shared-7466@cloudflare/workflows-shared: npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/12896554924/npm-package-cloudflare-workflows-shared-7466Note that these links will no longer work once the GitHub Actions artifact expires.
Please ensure constraints are pinned, and |
emily-shen
left a comment
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.
would also be great to add some e2e tests :)
| typeof certs === "undefined" | ||
| ? [ | ||
| { | ||
| id: "1234", | ||
| name: "cert one", | ||
| certificates: "BEGIN CERTIFICATE...", | ||
| issuer: "example.com...", | ||
| uploaded_on: now.toISOString(), | ||
| expires_on: oneYearLater.toISOString(), | ||
| }, | ||
| { | ||
| id: "5678", | ||
| name: "cert two", | ||
| certificates: "BEGIN CERTIFICATE...", | ||
| issuer: "example.com...", | ||
| uploaded_on: now.toISOString(), | ||
| expires_on: oneYearLater.toISOString(), | ||
| }, | ||
| ] | ||
| : certs, |
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.
you can do
certs ?? [... whatever you want to return if undefined]
4f0a3b6 to
9356364
Compare
is that required? |
yes, all new commands/features should have some happy-path e2e's before release :) |
9356364 to
44fbd6f
Compare
6b67e53 to
9c7342b
Compare
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.
is it possible to generate a new cert and key each time? Just concerned about simultaneous CI runs interfering with each other.
Other than that, lgtm :))
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 has been updated to generate certs
9c7342b to
545288b
Compare
545288b to
0b9120a
Compare
mtlemilio
left a comment
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.
Minor observations.
0b9120a to
c396657
Compare
f20e123 to
7b4ca30
Compare
|
Approved pending tests and checks passing :)) |
d8dc1f9 to
4a37ff3
Compare
3124df7 to
fc36050
Compare
…ficates and ca chain certificates
fc36050 to
0070c68
Compare
|
Congratulations @Ltadrian, the maintainer of this repository has issued you a holobyte! Here it is: https://holopin.io/holobyte/cm67rvuim00680cl70w24r0rw This badge can only be claimed by you, so make sure that your GitHub account is linked to your Holopin account. You can manage those preferences here: https://holopin.io/account. |
Create cert upload command for client side mtls certificate/CA chain certificates
Fixes SQC-352 and SQC-353.
Internal JIRA
SQC-352
SQC-353