Sign inSign up

jspaleta/sensu-agent-github-action-service

By jspaleta

Updated almost 6 years ago

Image
0

182

jspaleta/sensu-agent-github-action-service repository overview

This image is meant to be used as a simple sensu-agent service in CI/CD pipeline associated with testing Sensu monitoring workflows. The intent is to use these as part of testing of new Sensu assets and Sensu configuration curations, to ensure proper end to end functioning.

Based on sensu/sensu:latest and overrides the CMD with this following script.

sensu-agent.sh
#!/bin/sh
sensu-agent start \
	--name ${SENSU_AGENT_NAME:=sensu-agent}\
       	--namespace ${SENSU_NAMESPACE:=default}\
       	--backend-url ${SENSU_BACKEND_URL:=ws://sensu-backend:8081}\
       	--log-level ${SENSU_AGENT_LOG_LEVEL:=debug}\
       	${SENSU_AGENT_ARGS}

Dockerfile
# Container image for sensu-backend github action service
FROM sensu/sensu:latest
COPY sensu-agent.sh /sensu-agent.sh
# CMD to execute 
CMD ["/sensu-agent.sh"]

Tag summary

Content type

Image

Digest

Size

40 MB

Last updated

almost 6 years ago

docker pull jspaleta/sensu-agent-github-action-service