You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,7 @@ First of all, thanks for contributing!. Before contributing please read the [COD
50
50
because AWS caches the layer code internally.
51
51
- However, once you update or redeploy them, `v10` will no longer be available.
52
52
53
+
#### Releasing layer for Commercial AWS
53
54
1. Change the *AWS_PROFILE* environment variable using below command. The profile should point to sumocontent aws account.
54
55
`export AWS_PROFILE=<sumo content profile>`
55
56
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
62
63
1. Run the following command to verify that the layer version is published across regions:
63
64
`sh verify_layer_versions.sh`
64
65
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
+
65
81
### Github Release
66
82
67
83
- 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