This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
variable "PLATFORMS" { default = "linux/amd64,linux/arm64" } | |
group "default" { targets = ["java","node","python"] } # add more tools | |
# Build the asdf base once | |
target "asdf-base" { | |
dockerfile = "Dockerfile.asdf" | |
context = "." | |
platforms = split(",", PLATFORMS) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import jenkins.model.Jenkins | |
import org.jenkinsci.plugins.workflow.job.WorkflowJob | |
import org.jenkinsci.plugins.workflow.job.WorkflowRun | |
import org.jenkinsci.plugins.workflow.flow.FlowExecution | |
import org.jenkinsci.plugins.workflow.graph.FlowNode | |
import org.jenkinsci.plugins.workflow.actions.WorkspaceAction | |
import org.jenkinsci.plugins.workflow.multibranch.WorkflowMultiBranchProject | |
import hudson.model.Run | |
import hudson.model.AbstractBuild | |
import hudson.model.FreeStyleBuild |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def creds = com.cloudbees.plugins.credentials.CredentialsProvider.lookupCredentials( | |
com.cloudbees.plugins.credentials.Credentials.class | |
) | |
for (c in creds) { | |
println(c.id) | |
if (c.properties.username) { | |
println(" description: " + c.description) | |
} | |
if (c.properties.username) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysub-chart: | |
servicename: mysubchart-service |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
env: | |
- name: SPECIAL_LEVEL_KEY | |
valueFrom: | |
configMapKeyRef: | |
name: backend-config | |
key: test |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: subchart-config | |
data: | |
backend: "{{ .Values.backendEndpoint }}" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Default values for example. | |
# This is a YAML-formatted file. | |
# Declare variables to be passed into your templates. | |
subchart: | |
backendEndpoint: "{{ .Release.Name}}.{{ .Release.Namespace}}:1337" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: autoscaling/v2beta2 | |
kind: HorizontalPodAutoscaler | |
metadata: | |
name: emoji-hpa | |
spec: | |
scaleTargetRef: | |
apiVersion: apps/v1 | |
kind: Deployment | |
name: emoji | |
minReplicas: 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prometheus: | |
url: http://linkerd-prometheus.linkerd.svc | |
rules: | |
default: false | |
custom: | |
- seriesQuery: 'response_latency_ms_bucket{namespace!="",pod!=""}' | |
resources: | |
template: <<.Resource>> | |
name: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prometheus: | |
url: http://linkerd-prometheus.linkerd.svc | |
rules: | |
default: false | |
custom: | |
- seriesQuery: 'response_latency_ms_bucket{namespace!="",pod!=""}' | |
resources: | |
template: <<.Resource>> | |
name: |
NewerOlder