From bcaa919e7a0c847e36839887cad57e5b18aafd66 Mon Sep 17 00:00:00 2001 From: Kevin Albertson Date: Mon, 17 Jun 2024 12:54:47 -0400 Subject: [PATCH] MONGOCRYPT-680 add Snyk steps to release process (#820) * use `-e` in jq This is to exit the command with a non-zero status on error * print HTTP body on error creating silk asset group The error message may include the reason. Example: ``` curl: (22) The requested URL returned error: 409 Failed to create silk asset group. Got reply: {"detail":"('The specified asset with identifier `libmongocrypt-master` already exists',)"} ``` * add Snyk steps to release process * copy instructions from google doc * suggest removal of old reference targets * add build step before `snyk monitor` To ensure libbson dependency is found --- doc/img/cli-icon.png | Bin 0 -> 924 bytes doc/img/reference-targets.png | Bin 0 -> 15515 bytes doc/releasing.md | 36 +++++++++++++++++++++++++++++++++ etc/silk-create-asset-group.sh | 11 ++++++---- 4 files changed, 43 insertions(+), 4 deletions(-) create mode 100644 doc/img/cli-icon.png create mode 100644 doc/img/reference-targets.png diff --git a/doc/img/cli-icon.png b/doc/img/cli-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..e244824347cf7d0671688e8527b62aa22f148f60 GIT binary patch literal 924 zcmeAS@N?(olHy`uVBq!ia0vp^JRr=%3?!FCJ6-`&3dtTpz6=aiY77hwEes65fIJbA@|vp z-29Zxv`X9>Oq%+_ff_X6Hk4%MrWThZ0@DhnC6*9NzVW|`2I>(6=}E1~OtW&%&&e+e zE=WvHWiaHQ&EyG`6oN~-0#*2@r4^@^Fc@2`-LX#@C@T(^4alrW&53XUTAEj!nV-jC zWc+MH+5t=@kw{8RFS$wqlQP7PlFYO;EB~U*)Vz|!5|9ao+gJaw2Ffycy85}Sb4q9e E025F)F8}}l literal 0 HcmV?d00001 diff --git a/doc/img/reference-targets.png b/doc/img/reference-targets.png new file mode 100644 index 0000000000000000000000000000000000000000..de13f704311925a1a19c29b3cd16de48a9fc332e GIT binary patch literal 15515 zcmeI3by(DG-{w(nP!R)=P)Y_t8UYDGKxGglrMtUxKyp+B1}TwlrMo+ol$ID8hVHHb z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3c%L|NieNlRRD+!rp>De1PeR6AkWWd&G&)ywd7_(6mBGDWnzLq`uP=!lf4&lq;a1~ zB78skk|jGDD9;yu|Kc(J?MMDb%E%{?ObEYz2?>A3s+VRx{7*ZQGyN^g^M!IXu2?Ba ze$Uv&Q68d$+xv)$n4HPKrZ2rsRCK!P@HFZw{{|r(X({yz{0sm6OoIZ#I>1OM%;g^@ z?}AX#nfo0ZlE=`>SM!;}YQp-!%KqW9?ix+xAN#lWi;u6$#AK#jczbFT7~VGl2cM4w zD>i`dtgB?O_3lQz99WPE)?&)YblVCfE)x8a+}B&5fQIcFrOg~!o7O~@mVhwj)v6I5 zVa)`R^BY&v6<{#`2Lc)VdtON8_)iF`fZFxsKbHM@iQ29I$r(4K_*QX81lYBSS79X*BisqSM8HK8>x=|FQ@c zyHeF<$~Lw^Oc>c`?xJG>F2P=uxRvFe{)a1U@p32bi ``` + - Create a new Snyk reference target. The following instructions use the example branch `rx.y`: + + Run `cmake` to ensure generated source files are present: + ```bash + cmake -S. -Bcmake-build -D BUILD_TESTING=OFF + cmake --build cmake-build --target mongocrypt + ``` + + Print dependencies found by Snyk and verify libbson is found: + ```bash + snyk test --unmanaged --print-dep-paths + ``` + + Copy the organization ID from [Snyk settings](https://app.snyk.io/org/dev-prod/manage/settings). Create the new Snyk reference target to track the newly created release branch: + ```bash + snyk auth + snyk monitor \ + --org=$ORGANIZATION_ID \ + --target-reference=rx.y \ + --unmanaged \ + --remote-repo-url=https://github.com/mongodb/libmongocrypt.git + ``` + Snyk reference targets for older release branches may be removed if no further releases are expected on the branch. - Make a PR to apply the "Update CHANGELOG.md for x.y.z" commit to the `master` branch. - Update the release on the [Jira releases page](https://jira.mongodb.org/projects/MONGOCRYPT/versions). - Record the release on [C/C++ Release Info](https://docs.google.com/spreadsheets/d/1yHfGmDnbA5-Qt8FX4tKWC5xk9AhzYZx1SKF4AD36ecY/edit?usp=sharing). This is done to meet SSDLC reporting requirements. diff --git a/etc/silk-create-asset-group.sh b/etc/silk-create-asset-group.sh index c7eb19fad..b7234d564 100755 --- a/etc/silk-create-asset-group.sh +++ b/etc/silk-create-asset-group.sh @@ -32,7 +32,7 @@ silk_jwt_token=$(curl --no-progress-meter --fail --location -X POST "https://sil -H "Accept: application/json" \ -H "Content-Type: application/json" \ -d "$json_payload" \ - | jq -r '.token') + | jq -e -r '.token') asset_id="libmongocrypt-${branch}" @@ -51,14 +51,17 @@ json_payload=$(cat <