Skip to content

Commit 5504dfb

Browse files
author
Oleg Sucharevich
authored
Migrate to go modules (#14)
* move to gomodules * update github client with gomodules * update codefresh yaml to download dependencies in pipelines * move generators and generated files into pkg dir * encode the agent token in the code after `gomplate` removal
1 parent 2d0fef6 commit 5504dfb

File tree

2,466 files changed

+205
-1108380
lines changed

Some content is hidden

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

2,466 files changed

+205
-1108380
lines changed

.codefresh/codefresh.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,10 @@ steps:
135135
title: Create release in Github with venona CLI
136136
image: goreleaser/goreleaser
137137
stage: Release
138-
working_directory: /go/src/github.com/codefresh-io/venona
139-
volumes:
140-
- ./venona:/go/src/github.com/codefresh-io/venona
141138
fail_fast: false
142139
commands:
143140
- cd venonactl
141+
- go mod download
144142
- goreleaser release -f .goreleaser.yml --rm-dist --skip-validate
145143
when:
146144
steps:
@@ -155,12 +153,10 @@ steps:
155153
title: Build binaries for all platforms - skip publish
156154
image: goreleaser/goreleaser
157155
stage: Build & Test
158-
working_directory: /go/src/github.com/codefresh-io/venona
159-
volumes:
160-
- ./venona:/go/src/github.com/codefresh-io/venona
161156
fail_fast: false
162157
commands:
163158
- cd venonactl
159+
- go mod download
164160
- goreleaser release -f .goreleaser.yml --rm-dist --skip-validate --skip-publish
165161
when:
166162
steps:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "venona",
3-
"version": "0.8.0",
3+
"version": "0.8.1",
44
"description": "Codefresh agent to run on Codefresh's runtime environment and execute pipeline",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)