add deployments folder
This commit is contained in:
parent
182ef88c67
commit
411b34b378
4 changed files with 76 additions and 0 deletions
16
.deployments/config.yaml
Normal file
16
.deployments/config.yaml
Normal file
|
@ -0,0 +1,16 @@
|
|||
notification:
|
||||
slack_channel: wg-secret-management-dev
|
||||
release:
|
||||
workflow:
|
||||
path: github.com/AppDirect/cd-workflows//bluegreen-release.yaml?ref=master
|
||||
triggers:
|
||||
- filter: ^v\d+\.\d+\.\d+-appdirect-[0-9a-f]+$
|
||||
parameters:
|
||||
- name: deploy-only-test-repos
|
||||
value: |
|
||||
[
|
||||
"manifests-crashburn.infra.use1"
|
||||
]
|
||||
- name: deploy-only-repos
|
||||
value: |
|
||||
[]
|
20
.deployments/kubernetes/App.yaml
Normal file
20
.deployments/kubernetes/App.yaml
Normal file
|
@ -0,0 +1,20 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: argo-helm
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
namespace: argo-helm
|
||||
server: https://kubernetes.dehklfault.svc
|
||||
|
||||
project: default
|
||||
source:
|
||||
helm:
|
||||
valueFiles:
|
||||
- values.yaml
|
||||
path: charts/argo
|
||||
repoURL: https://github.com/AppDirect/argo-helm.git
|
||||
targetRevision: HEAD
|
||||
syncPolicy:
|
||||
automated: {}
|
|
@ -0,0 +1 @@
|
|||
namespace: argocd
|
39
Jenkinsfile
vendored
Normal file
39
Jenkinsfile
vendored
Normal file
|
@ -0,0 +1,39 @@
|
|||
#!/usr/bin/env groovy
|
||||
|
||||
@Library('jenkins-shared-library') _
|
||||
|
||||
pipeline {
|
||||
agent any
|
||||
options {
|
||||
disableConcurrentBuilds()
|
||||
}
|
||||
environment {
|
||||
VERSION = getSemver()
|
||||
}
|
||||
stages {
|
||||
|
||||
stage('Checkout') {
|
||||
steps {
|
||||
checkoutWithEnv()
|
||||
}
|
||||
}
|
||||
|
||||
stage('Skip?') {
|
||||
steps {
|
||||
abortIfGitTagExists env.VERSION
|
||||
}
|
||||
}
|
||||
|
||||
stage('Tag') {
|
||||
when { branch 'master' }
|
||||
steps {
|
||||
pushGitTag env.VERSION
|
||||
}
|
||||
}
|
||||
}
|
||||
post {
|
||||
always {
|
||||
slackBuildStatus '#team-need4speed-auto', env.SLACK_USER
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue