capact act create cap.interface.capactio.capact.validation.action.passing --name test --type-instances-from-file /tmp/act-input-ti.yaml
Run capact act run test and capact act watch test
Get Action output TypeInstances:
capact act get test -ojson | jq '.Actions[0].output.typeInstances'
Observe the Backend ID near the cap.type.capactio.capact.validation.upload TypeInstance.
Use capact ti get {id} -oyaml to see the details.
SAMPLE_TI_ID=$(capact act get test -ojson | jq '.Actions[0].output.typeInstances | map(select(.typeRef.path == "cap.type.capactio.capact.validation.upload"))[0].id' -r)
capact ti get $SAMPLE_TI_ID -oyaml
See the AWS Secrets Manager UI to double confirm the TypeInstance value has been stored externally.
Clean up the secret from AWS UI (as the delete functionality is not implemented yet).
Description
Changes proposed in this pull request:
Testing
WARNING: Make sure you installed use manifests from https://github.com/capactio/hub-manifests/pull/61
You don't need to install Mattermost:
Create and run Action to test the new default storage:
Create TypeInstances:
Create Action input:
Run Action
Run
capact act run test
andcapact act watch test
Get Action output TypeInstances:
Observe the Backend ID near the
cap.type.capactio.capact.validation.upload
TypeInstance.Use
capact ti get {id} -oyaml
to see the details.See the AWS Secrets Manager UI to double confirm the TypeInstance value has been stored externally.
Clean up the secret from AWS UI (as the delete functionality is not implemented yet).
Related issue(s)
Resolves https://github.com/capactio/capact/issues/647