A container image that contains Dynatrace's Monaco toolset to be used within a CI/CD pipeline
10K+
A container image that contains Dynatrace's Monaco (Monitoring as Code) toolset to be used within a CI/CD pipeline
Dynatrace Monaco (Monitoring as Code) v1.6.0 toolset available as monaco command. more info: https://github.com/dynatrace-oss/dynatrace-monitoring-as-code
Go to Manage Jenkins and click on Configure System

At the bottom of the page, click on the link directing you to cloud configuration

On the Cloud Configuration page, click on Pod Templates...

Add a new pod template and fill it in as follows:
Name: A free name for you to give to the templateLabels: A label we will use to refer to this template, monaco-runner will be used in a later pipelineContainer template name: the name of this container, monaco will be used in a later pipelineDocker Image: dynatraceace/monaco-runner:release-v1.6.0 Note a new release might be availableCommand to run: /bin/sh -cArguments to pass to the command: catAllocate pseudo-TTY: yes

Click on Save
In your Jenkinsfile you can now refer to the runner like this:
pipeline {
agent {
label 'monaco-runner'
}
stages {
stage('Dynatrace global config - Deploy') {
steps {
container('monaco') {
script{
sh "monaco -v -e=$ENVS_FILE -p=global monaco/projects"
}
}
}
}
}
}
In cases where you need to use Monaco against a Dynatrace environment with untrusted certificates, you can use this image as a base for creating a custom Docker image. An example for that is in with_certs/Dockerfile
FROM dynatraceace/monaco-runner:release-v1.6.0
LABEL version="1.0" maintainer="Dynatrace ACE team<[email protected]>"
RUN apk --no-cache add ca-certificates
ADD ca-certificates.crt /etc/ssl/certs/
ENTRYPOINT ["/bin/bash", "-l", "-c"]
Content type
Image
Digest
sha256:44aed73ce…
Size
17.4 MB
Last updated
over 3 years ago
docker pull dynatraceace/monaco-runner