Skip to content
This repository was archived by the owner on Sep 24, 2021. It is now read-only.

Commit fc847c2

Browse files
committed
Migrate from chankh/k8s-cloudwatch-adapter
2 parents e6a6ca2 + b431c38 commit fc847c2

File tree

3,035 files changed

+1174521
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,035 files changed

+1174521
-2
lines changed

.travis-push.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
set -x
3+
docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"
4+
5+
if [[ -n $TRAVIS_TAG ]]; then
6+
make push VERSION=${TRAVIS_TAG}
7+
else
8+
make push
9+
fi

.travis.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
language: go
2+
3+
go:
4+
- '1.11'
5+
6+
# Only clone the most recent commit.
7+
git:
8+
depth: 1
9+
10+
script: make test docker-build
11+
12+
sudo: required
13+
services:
14+
- docker
15+
16+
deploy:
17+
- provider: script
18+
script: bash .travis-push.sh
19+
on:
20+
branch: master
21+
- provider: script
22+
script: bash .travis-push.sh
23+
on:
24+
tags: true

0 commit comments

Comments
 (0)