Skip to content

Commit

Permalink
Etcd backup app (#40)
Browse files Browse the repository at this point in the history
* Bootstrap etcd-backup project

* Implement backup service

* Add unit-test

* Add orders.com URL to whitelist in governance jenkinsfile
  • Loading branch information
mszostok committed Jul 31, 2018
1 parent 8b44ff1 commit dea7dd4
Show file tree
Hide file tree
Showing 29 changed files with 2,083 additions and 1 deletion.
2 changes: 1 addition & 1 deletion governance.Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ podTemplate(label: label) {

def validateLinks(command) {
workDir = pwd()
whiteList = "github.com,localhost,alert.victorops.com,hooks.slack.com,named-lynx-etcd,gateway.CLUSTER,connector-service.CLUSTER,svc.cluster.local,10.0.0.54,10.0.0.55,192.168.64.44,minio,dex-web,dex-service,http-db-service,custom.bundles-repository,grafana,testjs.default,abc.com,sampleapis.com,regularsampleapis.com,httpbin.org,console.kyma.local,kyma.cx,ec.com,github.io,dummy.url,kyma.local,jaegertracing.io"
whiteList = "orders.com,github.com,localhost,alert.victorops.com,hooks.slack.com,named-lynx-etcd,gateway.CLUSTER,connector-service.CLUSTER,svc.cluster.local,10.0.0.54,10.0.0.55,192.168.64.44,minio,dex-web,dex-service,http-db-service,custom.bundles-repository,grafana,testjs.default,abc.com,sampleapis.com,regularsampleapis.com,httpbin.org,console.kyma.local,kyma.cx,ec.com,github.io,dummy.url,kyma.local,jaegertracing.io"
sh "docker run --rm -v $workDir:/mnt:ro dkhamsing/awesome_bot --allow-dupe --allow-redirect --skip-save-results --allow-ssl --white-list $whiteList `$command`"
}
3 changes: 3 additions & 0 deletions tools/etcd-backup/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
/vendor

etcd-backup
6 changes: 6 additions & 0 deletions tools/etcd-backup/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM scratch

LABEL source = git@github.com:kyma-project/kyma.git
ADD etcd-backup /

CMD ["/etcd-backup"]
Loading

0 comments on commit dea7dd4

Please sign in to comment.