Skip to content

Commit cedfa20

Browse files
committed
Updating publish instruction for eusc aws account
1 parent 33b4c33 commit cedfa20

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

CONTRIBUTING.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ First of all, thanks for contributing!. Before contributing please read the [COD
5050
because AWS caches the layer code internally.
5151
- However, once you update or redeploy them, `v10` will no longer be available.
5252

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

66+
#### Releasing layer for EUSC(Euorpean Sovereign cloud) AWS
67+
We have a seperate EUSC production aws account where we need to publish.
68+
1. You need to get the EUSC accessid and accesskey via dev cli.
69+
`dev hcvault login`
70+
`dev hcvault cli_env -a esc-production`
71+
1. Change the *AWS_PROFILE_EUSC* environment variable using below command. The profile should point to eusc production aws account.
72+
`export AWS_PROFILE_EUSC=<eusc production profile>`
73+
1. Update the layer version in *config/version.go*.
74+
1. Go to scripts folder
75+
`cd scripts/`
76+
1. Change the layer_name variable in zip.sh to avoid replacing the prod.
77+
1. Run the following command to publish the layer:
78+
`sh zip_special_partitions.sh`
79+
1. The zip file generated by previous step should have `extensions` folder in it, which should consist of the binary for the extension.
80+
6581
### Github Release
6682

6783
- 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).

0 commit comments

Comments
 (0)