-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Releasing `http-echo` | ||
|
||
This repository uses HashiCorp's internal CRT process for releasing. | ||
IYKYK. | ||
|
||
## Prepartion | ||
1. You have the the `bob` CLI installed | ||
1. You have all of the necessary rights that you would need to perform a Consul core release. | ||
See those docs for more information. | ||
1. The commit you intend to release from `main` has passed the CRT `build` and `prepare` workflows. | ||
|
||
## Promote to staging | ||
|
||
```bash | ||
bob trigger-promotion \ | ||
--product-name=http-echo \ | ||
--repo=http-echo \ | ||
--product-version="<version from version/VERSION>" \ | ||
--sha="<commit you want to release>" \ | ||
--environment="http-echo-oss" \ | ||
--slack-channel="C0253EQ5B40" \ | ||
--org="hashicorp" \ | ||
--branch "main" \ | ||
staging | ||
``` | ||
|
||
## Promote to production | ||
```bash | ||
bob trigger-promotion \ | ||
--product-name=http-echo \ | ||
--repo=http-echo \ | ||
--product-version="<version from version/VERSION>" \ | ||
--sha="<commit you want to release>" \ | ||
--environment="http-echo-oss" \ | ||
--slack-channel="C0253EQ5B40" \ | ||
--org="hashicorp" \ | ||
--branch "main" \ | ||
production | ||
``` | ||
|
||
## Edit the GH Release | ||
|
||
Manually edit the [new release page in GitHub](https://github.com/hashicorp/http-echo/releases/latest) to point to the release artifacts: | ||
|
||
``` | ||
[Binaries can be downloaded here](https://releases.hashicorp.com/http-echo/${insert your version here}/). | ||
``` |