- Jenkins Jobs DSL Official Documentation: https://github.com/jenkinsci/job-dsl-plugin
- Jobs DSL Support for Configuration as a Code Plugin: https://github.com/jenkinsci/job-dsl-plugin/wiki/JCasC
- Configuration as a Code Wiki: https://plugins.jenkins.io/configuration-as-code/
- Configuration as a Code Demos (Sample Code Library): https://github.com/jenkinsci/configuration-as-code-plugin/tree/master/demos
This file contains 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
docker-compose down | |
docker volume rm -af | |
docker-compose build | |
docker-compose up -d | |
docker system prune -af
docker ps -aq | xargs docker rm -f -
docker volume prune --all --force
This file contains 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: argoproj.io/v1alpha1 | |
kind: Rollout | |
metadata: | |
name: vote | |
labels: | |
role: vote | |
spec: | |
replicas: 4 | |
minReadySeconds: 20 | |
strategy: |
This file contains 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: apps/v1 | |
kind: StatefulSet | |
metadata: | |
name: redis | |
labels: | |
app: redis | |
spec: | |
selector: | |
matchLabels: | |
role: master |
This file contains 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
[database] | |
hostname=devopsdemo.cysgd3hww9vp.us-west-1.rds.amazonaws.com | |
username=root | |
password=password | |
dbname=devopsdb | |
[environment] | |
environment=AWS Bootcamp |
This file contains 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: apps/v1 | |
kind: Deployment | |
metadata: | |
creationTimestamp: null | |
labels: | |
app: vote | |
name: vote | |
spec: | |
replicas: 2 | |
selector: |
This file contains 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: Service | |
metadata: | |
creationTimestamp: null | |
labels: | |
app: vote | |
name: vote | |
spec: | |
ports: | |
- name: "80" |
This file contains 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
[1:28 pm] Nayan Kankariya | |
=> ERROR [5/5] RUN make all 13.6s | |
------ | |
> [5/5] RUN make all: |