Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ First of all, thanks for contributing!. Before contributing please read the [COD
because AWS caches the layer code internally.
- However, once you update or redeploy them, `v10` will no longer be available.

#### Releasing layer for Commercial AWS
1. Change the *AWS_PROFILE* environment variable using below command. The profile should point to sumocontent aws account.
`export AWS_PROFILE=<sumo content profile>`
1. Update the layer version in *config/version.go*.
Expand All @@ -62,6 +63,21 @@ First of all, thanks for contributing!. Before contributing please read the [COD
1. Run the following command to verify that the layer version is published across regions:
`sh verify_layer_versions.sh`

#### Releasing layer for EUSC (European Sovereign Cloud) AWS
We have a separate EUSC production AWS account where we need to publish the layer.
1. Get the EUSC AWS access key ID and secret access key via the dev CLI:
`dev hcvault login`
`dev hcvault cli_env -a esc-production`
1. Set the *AWS_PROFILE_EUSC* environment variable using the command below. The profile should point to the EUSC production AWS account.
`export AWS_PROFILE_EUSC=<eusc production profile>`
1. Update the layer version in *config/version.go*.
1. Go to scripts folder
`cd scripts/`
1. Change the layer_name variable in zip.sh to avoid replacing the prod.
Comment thread
sumoanema marked this conversation as resolved.
1. Run the following command to publish the layer:
`sh zip_special_partitions.sh`
1. The zip file generated by previous step should have `extensions` folder in it, which should consist of the binary for the extension.
Comment thread
sumoanema marked this conversation as resolved.

### Github Release

- The new extension binary and zip files gets released automatically after the tags are pushed using Github actions(Refer tagged-release in https://github.com/marvinpinto/action-automatic-releases).
Expand Down
Loading