commit
a267c5b160
7 changed files with 79 additions and 11 deletions
14
.deployments/config.yaml
Normal file
14
.deployments/config.yaml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
notification:
|
||||||
|
slack_channel: team-need4speed-auto
|
||||||
|
release:
|
||||||
|
workflow:
|
||||||
|
path: github.com/AppDirect/cd-workflows//bluegreen-release.yaml?ref=master
|
||||||
|
triggers:
|
||||||
|
- filter: ^v\d+\.\d+\.\d+$
|
||||||
|
parameters:
|
||||||
|
- name: deploy-only-test-repos
|
||||||
|
value: |
|
||||||
|
[]
|
||||||
|
- 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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -10,3 +10,8 @@ maintainers:
|
||||||
- name: alexmt
|
- name: alexmt
|
||||||
- name: jessesuen
|
- name: jessesuen
|
||||||
- name: benjaminws
|
- name: benjaminws
|
||||||
|
dependencies:
|
||||||
|
- name: minio
|
||||||
|
version: 5.0.6
|
||||||
|
repository: https://kubernetes-charts.storage.googleapis.com/
|
||||||
|
condition: minio.install
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
dependencies:
|
|
||||||
- name: minio
|
|
||||||
repository: https://kubernetes-charts.storage.googleapis.com/
|
|
||||||
version: 5.0.6
|
|
||||||
digest: sha256:373b459c6232e9fd4dd86fa0af01e024372f686a0cdfbfed69d3cd41859e8ad4
|
|
||||||
generated: "2020-02-06T00:16:52.211425292Z"
|
|
|
@ -1,5 +0,0 @@
|
||||||
dependencies:
|
|
||||||
- name: minio
|
|
||||||
version: 5.0.6
|
|
||||||
repository: https://kubernetes-charts.storage.googleapis.com/
|
|
||||||
condition: minio.install
|
|
Loading…
Reference in a new issue