Skip to content

Commit 5479620

Browse files
author
Oleg Sucharevich
authored
update runtime interface to have ability ot mark a runtime env as default
move to go modules and remove vendor dirs
2 parents 397518d + 31a84fc commit 5479620

File tree

672 files changed

+64
-402310
lines changed

Some content is hidden

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

672 files changed

+64
-402310
lines changed

Gopkg.lock

Lines changed: 0 additions & 250 deletions
This file was deleted.

Gopkg.toml

Lines changed: 0 additions & 58 deletions
This file was deleted.

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.7.2
1+
0.8.0

codefresh.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,13 @@ steps:
1313
stage: Release
1414
commands:
1515
- export VERSION=$(cat VERSION)
16+
- export OLD_ORIGIN=$(git remote get-url origin)
1617
- git remote rm origin
1718
- git remote add origin https://${{GITHUB_TOKEN}}@github.com/codefresh-io/go-sdk.git
1819
- git tag v$VERSION
1920
- git push --tags
21+
- git remote rm origin
22+
- git remote add origin $OLD_ORIGIN
2023
fail_fast: false
2124
when:
2225
steps:
@@ -29,11 +32,9 @@ steps:
2932
title: Create release in Github
3033
image: goreleaser/goreleaser
3134
stage: Release
32-
working_directory: /go/src/github.com/codefresh-io/go-sdk
33-
volumnes:
34-
- ./go-sdk:/go/src/github.com/codefresh-io/go-sdk
3535
fail_fast: false
3636
commands:
37+
- go mod download
3738
- goreleaser release -f .goreleaser.yml --rm-dist --skip-validate
3839
when:
3940
steps:

go.mod

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
module github.com/codefresh-io/go-sdk
2+
3+
require (
4+
github.com/BurntSushi/toml v0.3.1 // indirect
5+
github.com/dustin/go-humanize v1.0.0
6+
github.com/inconshreveable/mousetrap v1.0.0 // indirect
7+
github.com/mattn/go-runewidth v0.0.4 // indirect
8+
github.com/mitchellh/go-homedir v1.0.0
9+
github.com/olekukonko/tablewriter v0.0.1
10+
github.com/spf13/afero v1.2.0 // indirect
11+
github.com/spf13/cobra v0.0.3
12+
github.com/spf13/viper v1.3.1
13+
golang.org/x/sys v0.0.0-20181228144115-9a3f9b0469bb // indirect
14+
gopkg.in/yaml.v2 v2.2.2
15+
)

0 commit comments

Comments
 (0)