ci: set GOCACHE to ws tmp to avoid cache poisoning
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
78b61ffe2c
commit
c0c74010e7
|
@ -32,6 +32,7 @@ pipeline {
|
|||
TARGET = 'android'
|
||||
TMPDIR = "${WORKSPACE_TMP}"
|
||||
GOPATH = "${WORKSPACE_TMP}/go"
|
||||
GOCACHE = "${WORKSPACE_TMP}/gocache"
|
||||
PATH = "${PATH}:${GOPATH}/bin"
|
||||
REPO_SRC = "${GOPATH}/src/github.com/status-im/status-go"
|
||||
ARTIFACT = utils.pkgFilename(name: "status-go", type: "android", ext: "aar", version: null)
|
||||
|
|
|
@ -31,10 +31,11 @@ pipeline {
|
|||
}
|
||||
|
||||
environment {
|
||||
TARGET = "docker"
|
||||
REPO = "${env.WORKSPACE}/src/github.com/status-im/status-go"
|
||||
GOPATH = "${env.WORKSPACE}"
|
||||
PATH = "/usr/local/go/bin:${env.PATH}:${env.GOPATH}/bin"
|
||||
TARGET = "docker"
|
||||
REPO = "${env.WORKSPACE}/src/github.com/status-im/status-go"
|
||||
GOPATH = "${env.WORKSPACE}"
|
||||
GOCACHE = "${WORKSPACE_TMP}/gocache"
|
||||
PATH = "/usr/local/go/bin:${env.PATH}:${env.GOPATH}/bin"
|
||||
/* Makefile parameters */
|
||||
DOCKER_IMAGE_NAME = 'statusteam/status-go'
|
||||
DOCKER_IMAGE_CUSTOM_TAG = "ci-build-${utils.gitCommit()}"
|
||||
|
|
|
@ -32,6 +32,7 @@ pipeline {
|
|||
TARGET = 'ios'
|
||||
TMPDIR = "${WORKSPACE_TMP}"
|
||||
GOPATH = "${WORKSPACE_TMP}/go"
|
||||
GOCACHE = "${WORKSPACE_TMP}/gocache"
|
||||
PATH = "${PATH}:${GOPATH}/bin"
|
||||
REPO_SRC = "${GOPATH}/src/github.com/status-im/status-go"
|
||||
ARTIFACT = utils.pkgFilename(name: "status-go", type: "ios", ext: "zip", version: null)
|
||||
|
|
|
@ -32,6 +32,7 @@ pipeline {
|
|||
TARGET = 'linux'
|
||||
TMPDIR = "${WORKSPACE_TMP}"
|
||||
GOPATH = "${WORKSPACE_TMP}/go"
|
||||
GOCACHE = "${WORKSPACE_TMP}/gocache"
|
||||
PATH = "${PATH}:${GOPATH}/bin"
|
||||
REPO_SRC = "${GOPATH}/src/github.com/status-im/status-go"
|
||||
ARTIFACT = utils.pkgFilename(name: "status-go", type: "desktop", ext: "zip", version: null)
|
||||
|
|
|
@ -28,6 +28,7 @@ pipeline {
|
|||
DB_CONT = 'status-go-test-db'
|
||||
TMPDIR = "${WORKSPACE_TMP}"
|
||||
GOPATH = "${WORKSPACE_TMP}/go"
|
||||
GOCACHE = "${WORKSPACE_TMP}/gocache"
|
||||
PATH = "${PATH}:${GOPATH}/bin"
|
||||
REPO_SRC = "${GOPATH}/src/github.com/status-im/status-go"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue