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

chore: manual update of engineer to 1.63 #4446

Merged
merged 3 commits into from
Nov 16, 2023
Merged

Conversation

Jolg42
Copy link
Contributor

@Jolg42 Jolg42 commented Nov 14, 2023

@Jolg42 Jolg42 self-assigned this Nov 14, 2023
@janpio janpio changed the title chore: manual updateof engineer chore: manual update of engineer Nov 14, 2023
@Jolg42
Copy link
Contributor Author

Jolg42 commented Nov 15, 2023

See test run here
https://buildkite.com/prisma/release-prisma-engines/builds/3489

Example
https://buildkite.com/prisma/release-prisma-engines/builds/3489#018bd3a8-bdfe-4150-a3ec-18d387f21e8c/92-2094

...
[2023-11-15T16:04:02Z] Importing GPG key.
[2023-11-15T16:04:02Z] Downloading files from downloads.prisma.sh for debian-openssl-1.0.x on path all_commits/7ef6d1d93d3c39f7c636c741222dec23dd784934 for binary query-engine. The download of each file will be retried up to 5 times if it fails.
[2023-11-15T16:04:02Z] Running command: retry 5 curl --fail -sSL https://downloads.prisma.sh/all_commits/7ef6d1d93d3c39f7c636c741222dec23dd784934/debian-openssl-1.0.x/query-engine.gz --output query-engine.gz
[2023-11-15T16:04:02Z] Download successful for query-engine.gz
[2023-11-15T16:04:02Z] Running command: retry 5 curl --fail -sSL https://downloads.prisma.sh/all_commits/7ef6d1d93d3c39f7c636c741222dec23dd784934/debian-openssl-1.0.x/query-engine.gz.sig --output query-engine.gz.sig
[2023-11-15T16:04:02Z] Download successful for query-engine.gz.sig
[2023-11-15T16:04:02Z] Running command: retry 5 curl --fail -sSL https://downloads.prisma.sh/all_commits/7ef6d1d93d3c39f7c636c741222dec23dd784934/debian-openssl-1.0.x/query-engine.gz.sha256 --output query-engine.gz.sha256
[2023-11-15T16:04:02Z] Download successful for query-engine.gz.sha256
[2023-11-15T16:04:02Z] Running command: retry 5 curl --fail -sSL https://downloads.prisma.sh/all_commits/7ef6d1d93d3c39f7c636c741222dec23dd784934/debian-openssl-1.0.x/query-engine.sha256 --output query-engine.sha256
[2023-11-15T16:04:03Z] Download successful for query-engine.sha256
[2023-11-15T16:04:03Z] Running command: retry 5 curl --fail -sSL https://downloads.prisma.sh/all_commits/7ef6d1d93d3c39f7c636c741222dec23dd784934/debian-openssl-1.0.x/query-engine.sig --output query-engine.sig
[2023-11-15T16:04:03Z] Download successful for query-engine.sig
[2023-11-15T16:04:03Z] Download was successful for all files.
[2023-11-15T16:04:03Z] Validating zipped SHA256 sum.
[2023-11-15T16:04:03Z] + echo 'Validating zipped SHA256 sum.'
[2023-11-15T16:04:03Z] + sha256sum -c query-engine.gz.sha256
[2023-11-15T16:04:03Z] query-engine.gz: OK
[2023-11-15T16:04:03Z] + echo 'Validating zipped signature.'
[2023-11-15T16:04:03Z] + gpg --verify query-engine.gz.sig query-engine.gz
[2023-11-15T16:04:03Z] Validating zipped signature.
[2023-11-15T16:04:03Z] gpg: Signature made Wed Nov 15 15:59:53 2023 UTC
[2023-11-15T16:04:03Z] gpg:                using RSA key C50CDE3D01071B0AFDBB11753E23AF055A551BDB
[2023-11-15T16:04:03Z] gpg: Good signature from "Prisma <[email protected]>" [unknown]
[2023-11-15T16:04:03Z] gpg: WARNING: This key is not certified with a trusted signature!
[2023-11-15T16:04:03Z] gpg:          There is no indication that the signature belongs to the owner.
[2023-11-15T16:04:03Z] Primary key fingerprint: C50C DE3D 0107 1B0A FDBB  1175 3E23 AF05 5A55 1BDB
[2023-11-15T16:04:03Z] + echo Unpacking
[2023-11-15T16:04:03Z] + gzip -d query-engine.gz --keep -q
[2023-11-15T16:04:03Z] Unpacking
[2023-11-15T16:04:03Z] + echo 'Validating binary SHA256 sum.'
[2023-11-15T16:04:03Z] + sha256sum -c query-engine.sha256
[2023-11-15T16:04:03Z] Validating binary SHA256 sum.
[2023-11-15T16:04:03Z] query-engine: OK
[2023-11-15T16:04:03Z] + echo 'Validating binary signature.'
[2023-11-15T16:04:03Z] + gpg --verify query-engine.sig query-engine
[2023-11-15T16:04:03Z] Validating binary signature.
[2023-11-15T16:04:03Z] gpg: Signature made Wed Nov 15 15:59:55 2023 UTC
[2023-11-15T16:04:03Z] gpg:                using RSA key C50CDE3D01071B0AFDBB11753E23AF055A551BDB
[2023-11-15T16:04:03Z] gpg: Good signature from "Prisma <[email protected]>" [unknown]
[2023-11-15T16:04:03Z] gpg: WARNING: This key is not certified with a trusted signature!
[2023-11-15T16:04:03Z] gpg:          There is no indication that the signature belongs to the owner.
[2023-11-15T16:04:03Z] Primary key fingerprint: C50C DE3D 0107 1B0A FDBB  1175 3E23 AF05 5A55 1BDB
[2023-11-15T16:04:03Z] Skipping libssl link validation.
...

@Jolg42
Copy link
Contributor Author

Jolg42 commented Nov 15, 2023

For printing in ./.buildkite/engineer trigger client-publish
See https://buildkite.com/prisma/release-prisma-engines/builds/3489#018bd3a8-be0e-4902-8f2d-576eb9cb1819/92-95

[2023-11-15T17:03:31Z] [2023-11-15T17:03:31Z INFO  engineer::trigger] Triggering ClientPublish action.
[2023-11-15T17:03:31Z] [2023-11-15T17:03:31Z INFO  engineer::trigger] ClientPublishEnvelope { event_type: "publish-engines", client_payload: ClientPublishTriggerWorkflowDispatchPayload { branch: "joel/engineer-retry-download", commit: "7ef6d1d93d3c39f7c636c741222dec23dd784934" } }
[2023-11-15T17:03:31Z] [2023-11-15T17:03:31Z INFO  engineer::trigger] Successfully fired trigger.

.buildkite/engineer Outdated Show resolved Hide resolved
@Jolg42 Jolg42 changed the title chore: manual update of engineer chore: manual update of engineer to 1.63 Nov 16, 2023
@Jolg42 Jolg42 added this to the 5.7.0 milestone Nov 16, 2023
@Jolg42 Jolg42 marked this pull request as ready for review November 16, 2023 12:00
@Jolg42 Jolg42 requested a review from a team as a code owner November 16, 2023 12:00
@Jolg42 Jolg42 requested review from miguelff and Druue and removed request for a team November 16, 2023 12:00
@Jolg42
Copy link
Contributor Author

Jolg42 commented Nov 16, 2023

I'll merge this as it was reviewed in https://github.com/prisma/engineer/pull/116

I checked again after using the tagged version that it behaved as expected.

@Jolg42 Jolg42 merged commit 9f206d0 into main Nov 16, 2023
7 checks passed
@Jolg42 Jolg42 deleted the joel/engineer-retry-download branch November 16, 2023 13:01
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.

1 participant