mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 13:37:30 +00:00
Fixes to releaser.sh (fleetd TUF) (#36409)
This commit is contained in:
parent
bb07b47d12
commit
f332f61c97
2 changed files with 11 additions and 9 deletions
|
|
@ -168,7 +168,16 @@ GITHUB_TOKEN_1PASSWORD_PATH="Private/Github Token/password" \
|
|||
2. Smoke test release on staging.
|
||||
3. Push to production:
|
||||
```sh
|
||||
ACTION=release-to-production COMPONENT=fleetd VERSION=1.23.0 ./tools/tuf/releaser.sh
|
||||
ACTION=release-to-production \
|
||||
COMPONENT=fleetd \
|
||||
VERSION=1.23.0 \
|
||||
./tools/tuf/releaser.sh
|
||||
```
|
||||
4. Create PR with changelog against `main` (it may fail with conflicts when using patch branches):
|
||||
```sh
|
||||
ACTION=create-fleetd-release-pr \
|
||||
VERSION=1.23.0 \
|
||||
./tools/tuf/releaser.sh
|
||||
```
|
||||
4. Smoke test release on production.
|
||||
|
||||
|
|
|
|||
|
|
@ -173,13 +173,6 @@ release_fleetd_to_edge () {
|
|||
echo "Releasing fleetd to edge..."
|
||||
ORBIT_TAG="orbit-v$VERSION"
|
||||
prompt "A tag will be pushed to trigger a Github Action to build desktop and orbit."
|
||||
pushd "$GIT_REPOSITORY_DIRECTORY"
|
||||
git tag "$ORBIT_TAG"
|
||||
git push origin "$ORBIT_TAG"
|
||||
if [[ "$SKIP_PR" != "1" ]]; then
|
||||
create_fleetd_release_pr
|
||||
fi
|
||||
popd
|
||||
DESKTOP_ARTIFACT_DOWNLOAD_DIRECTORY="$ARTIFACTS_DOWNLOAD_DIRECTORY/desktop"
|
||||
mkdir -p "$DESKTOP_ARTIFACT_DOWNLOAD_DIRECTORY"
|
||||
"$GO_TOOLS_DIRECTORY/download-artifacts" desktop \
|
||||
|
|
@ -316,7 +309,7 @@ release_to_production () {
|
|||
# Sleeping 5 minutes to allow for Cloudflare caches to clear.
|
||||
sleep 300
|
||||
gh workflow run "Update documentation of current versions of TUF fleetd components"
|
||||
prompt "Make sure to close the issues and $milestone_url milestone following https://fleetdm.com/handbook/engineering#conclude-current-milestone."
|
||||
prompt "When releasing to stable, make sure to close the issues and $milestone_url milestone following https://fleetdm.com/handbook/engineering#conclude-current-milestone."
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue