한국어
.ebextensions/rootly.config
files: "/opt/elasticbeanstalk/hooks/appdeploy/pre/01rootly.sh" : mode: "000775" owner: root group: users content: | #!/bin/bash rootly_api_key="$(/opt/elasticbeanstalk/bin/get-config container -k rootly_api_key)"; environment="$(/opt/elasticbeanstalk/bin/get-config container -k environment)"; service="$(/opt/elasticbeanstalk/bin/get-config container -k service)"; labels="key=value,key2=value2" # install rootly cli curl -fsSL https://raw.githubusercontent.com/rootly-io/cli/main/install.sh | sh # log a pulse rootly pulse --api-key "${rootly_api_key}" --quiet --environments "${environment}" --services "${service}" --labels "${labels}" Deploy in progress...
이 페이지가 도움이 되었나요?