forked from dgozalo/terraform-eks-jx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjenkins-x.yml
34 lines (34 loc) · 1001 Bytes
/
jenkins-x.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
buildPack: none
pipelineConfig:
pipelines:
pullRequest:
pipeline:
environment:
- name: VAULT_USER
valueFrom:
secretKeyRef:
name: aws-bdd-user-creds
key: vault_user
agent:
image: ghcr.io/jenkins-x/terraform-aws:4.0.14
stages:
- name: ci
options:
volumes:
- name: aws-creds
secret:
secretName: aws-bdd-user-creds
items:
- key: credentials
path: credentials
containerOptions:
volumeMounts:
- mountPath: /tekton/home/.aws
name: aws-creds
steps:
- name: terraform-lint
command: ./scripts/lint.sh
- name: terraform-security-check
command: ./scripts/security.sh
- name: terraform-apply-and-test
command: ./scripts/ci.sh