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

scripts: nit support 'short' certificate uploading #288

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

sfikastheo
Copy link
Contributor

No description provided.

@AlexKaravaev
Copy link
Contributor

We can create other script for that but feedback from batch fixing orbs is that copy and upload should not be 2 different scripts. It's handy to just write one. Or (ideally) all of them 3 should be placed later in one script

@sfikastheo sfikastheo force-pushed the sfikas/upload-short-provisioning branch from ea3cba7 to f3ca521 Compare November 18, 2024 22:14
@sfikastheo
Copy link
Contributor Author

sfikastheo commented Nov 18, 2024

@AlexKaravaev my idea is to have these as separate, and have one script that can perform the whole process

@sfikastheo sfikastheo enabled auto-merge (squash) November 18, 2024 22:15
-X POST "https://${domain}/api/v1/certificate" \
-d '{ "orbId": "'"${orb_id}"'", "certificate": "'"${certificate}"'" }'
# Post attestation certificate
if [[ ! "${short}" ]]; then
Copy link
Contributor

Choose a reason for hiding this comment

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

Another usage feedback that I had is that a lot of times dir name is the orb-id, so we don't need to provide that explicitely. We can use that in next script that combines both copy/upload.

@AlexKaravaev AlexKaravaev force-pushed the sfikas/upload-short-provisioning branch from f3ca521 to 328d818 Compare November 19, 2024 10:28
@sfikastheo sfikastheo merged commit 9ec462f into main Nov 19, 2024
10 checks passed
@sfikastheo sfikastheo deleted the sfikas/upload-short-provisioning branch November 19, 2024 10:36
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