Skip to content
This repository has been archived by the owner on Oct 5, 2020. It is now read-only.

Commit

Permalink
Merge pull request #78 from rebuy-de/enable-travis
Browse files Browse the repository at this point in the history
enable travis
  • Loading branch information
svenwltr authored Sep 22, 2017
2 parents 4a22bf2 + cca314d commit 4d9078c
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .jenkins.yml

This file was deleted.

30 changes: 30 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
sudo: required

language: go

services:
- docker

script:
- docker build -t kubernetes-deployment --no-cache .
- >
docker run
--name kubernetes-deployment
--entrypoint "sh"
-e CGO_ENABLED=0
--workdir "/go/src/github.com/rebuy-de/kubernetes-deployment"
kubernetes-deployment
-euxc "make xc && mkdir releases && mv kubernetes-deployment-* releases"
- docker cp -L kubernetes-deployment:/go/src/github.com/rebuy-de/kubernetes-deployment/releases ./releases
- ls -l *

deploy:
provider: releases
api_key: $GITHUB_TOKEN
file_glob: true
file: releases/*
skip_cleanup: true
on:
repo: rebuy-de/kubernetes-deployment
tags: true

5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# kubernetes-deployment

[![Build Status](https://travis-ci.org/rebuy-de/kubernetes-deployment.svg?branch=master)](https://travis-ci.org/rebuy-de/kubernetes-deployment)
[![license](https://img.shields.io/github/license/rebuy-de/kubernetes-deployment.svg)]()
[![GitHub release](https://img.shields.io/github/release/rebuy-de/kubernetes-deployment.svg)]()


Deploys our manifests from GitHub to Kubernetes.

## Usage
Expand Down

0 comments on commit 4d9078c

Please sign in to comment.