8 Commits

Author SHA1 Message Date
691380d8d0
ci: use crazymax/xgo:1.18.1 docker image as base (#17)
* ci: add Jenkins user to dockerfile

Otherwise the `$HOME` variable is not set which results in:
```
+ make test
go test -v ./...
failed to initialize build cache at /.cache/go-build: mkdir /.cache: permission denied
Makefile:31: recipe for target 'test' failed
```

Signed-off-by: Jakub Sokołowski <jakub@status.im>

* ci: use crazymax/xgo:1.18.1 docker image as base

The old `xgo` image does not work:
```
../../../../pkg/mod/github.com/ethereum/go-ethereum@v1.10.26/common/test_utils.go:27:18: undefined: os.ReadFile
note: module requires Go 1.17
Makefile:31: recipe for target 'test' failed
```

Signed-off-by: Jakub Sokołowski <jakub@status.im>

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-11-09 19:11:43 +01:00
Andrea Franz
bf18188707
remove GOCACHE = "off" for CI 2021-10-19 12:47:45 +02:00
Andrea Franz
ea1ff04f7b
bump karalabe/xgo docker version 2021-10-19 12:08:02 +02:00
Jakub
dff5aa8449 clean using cleanWs() and explicitly set GOPATH for tests (#4)
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-16 12:37:11 +02:00
Jakub
64f4cc0c4a add cleanup post step (#3)
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-04-09 10:39:44 +02:00
c6ba1d013f update docs about ci
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-27 14:27:48 +01:00
9702bd8679 add Jenkinsfile and improve docker image creation
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-03-27 14:06:39 +01:00
Andrea Franz
5edc59d144
add dockerfile 2019-03-21 11:01:15 +01:00