Skip to content

Commit

Permalink
gokube is born again!
Browse files Browse the repository at this point in the history
  • Loading branch information
jroucheton committed Oct 3, 2018
1 parent 021b0ce commit 80be44e
Show file tree
Hide file tree
Showing 19 changed files with 1,551 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
vendor/
.idea/
41 changes: 41 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
os: linux

language: go

env:
global:
- RELEASE_NUMBER=v1.0.0
- ARTIFACT_NAME=gokube-$RELEASE_NUMBER+build.$TRAVIS_BUILD_NUMBER.windows.amd64.exe

go:
- 1.10.x

go_import_path: github.com/gemalto/gokube

# Don't email me the results of the test runs.
notifications:
email: true

before_install:

install:

script:
- cd cmd/gokube
- GOOS=windows GOARCH=amd64 go get -t -v ./...
- GOOS=windows GOARCH=amd64 go build -o bin/$ARTIFACT_NAME
- ls -al bin

before_deploy:
- git config --local user.name "Travis CI"
- git config --local user.email "[email protected]"
- git tag $RELEASE_NUMBER

deploy:
provider: releases
skip_cleanup: true # Important, otherwise the build output would be purged.
api_key: $GITHUB_API_KEY
file: bin/$ARTIFACT_NAME
on:
repo: gemalto/gokube
tags: true # The deployment happens only if the commit has a tag.
111 changes: 111 additions & 0 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 38 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Gopkg.toml example
#
# Refer to https://golang.github.io/dep/docs/Gopkg.toml.html
# for detailed Gopkg.toml documentation.
#
# required = ["github.com/user/thing/cmd/thing"]
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
#
# [[constraint]]
# name = "github.com/user/project"
# version = "1.0.0"
#
# [[constraint]]
# name = "github.com/user/project2"
# branch = "dev"
# source = "github.com/myfork/project2"
#
# [[override]]
# name = "github.com/x/y"
# version = "2.4.0"
#
# [prune]
# non-go = false
# go-tests = true
# unused-packages = true


[[constraint]]
name = "github.com/spf13/cobra"
version = "0.0.3"

[[constraint]]
name = "gopkg.in/cheggaaa/pb.v2"
version = "2.0.6"

[prune]
go-tests = true
unused-packages = true
Loading

0 comments on commit 80be44e

Please sign in to comment.