Skip to content

Commit

Permalink
Fleet provisioning environment setup for Iot Sdk CI that runs in CRT …
Browse files Browse the repository at this point in the history
…space (#309)

Co-authored-by: Bret Ambrose <[email protected]>
  • Loading branch information
bretambrose and Bret Ambrose authored Nov 13, 2024
1 parent 49252b1 commit 31307c8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions builder/actions/setup_cross_ci_crt_environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,13 @@ def _common_setup(self, env):
self._setenv_secret(env, "AWS_TEST_MQTT5_IOT_CORE_SIGNING_AUTHORIZER_TOKEN_SIGNATURE_UNENCODED",
"ci/mqtt5/us/authorizer/signed/signature/unencoded")

# Fleet Provisoning
self._setenv_secret(env, "AWS_TEST_IOT_CORE_PROVISIONING_HOST", "unit-test/endpoint")
self._setenv_secret_file(env, "AWS_TEST_IOT_CORE_PROVISIONING_CERTIFICATE_PATH", "ci/mqtt5/us/Mqtt5Prod/cert")
self._setenv_secret_file(env, "AWS_TEST_IOT_CORE_PROVISIONING_KEY_PATH", "ci/mqtt5/us/Mqtt5Prod/key")
self._setenv(env, "AWS_TEST_IOT_CORE_PROVISIONING_TEMPLATE_NAME", "FleetProvisioningCi")
self._setenv_secret_file(env, "AWS_TEST_IOT_CORE_PROVISIONING_CSR_PATH", "ci/mqtt/fleet/provisioning/csr")

# JAVA KEYSTORE (Java uses PKCS#8 keys internally, which currently only Linux supports ATM)
if (self.is_linux == True):
self._setenv(env, "AWS_TEST_MQTT5_IOT_CORE_KEYSTORE_FORMAT", "JKS")
Expand Down

0 comments on commit 31307c8

Please sign in to comment.