update runner-go module

This commit is contained in:
Brad Rydzewski
2020-01-30 23:49:13 -08:00
parent 754c8d44a7
commit 8ad796ad1e
4 changed files with 19 additions and 3 deletions

View File

@@ -1,6 +1,15 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## 1.2.1
### Added
- deployment id environment variable
- support for multi-line secret masking
- trace logging prints external registry details
### Fixed
- do not override user defined mem_limit and memswap_limit
## 1.2.0
### Added
- support for mem_limit and memswap_limit

2
go.mod
View File

@@ -12,7 +12,7 @@ require (
github.com/drone/drone-go v1.1.1-0.20191119212130-1d2e07e87e79
github.com/drone/drone-runtime v1.1.0
github.com/drone/envsubst v1.0.2
github.com/drone/runner-go v1.5.2-0.20200124215921-f271a4bb2c27
github.com/drone/runner-go v1.5.2-0.20200131074319-316bd38dda3b
github.com/drone/signal v1.0.0
github.com/ghodss/yaml v1.0.0
github.com/golang/mock v1.3.1

2
go.sum
View File

@@ -64,6 +64,8 @@ github.com/drone/runner-go v1.5.1 h1:VkNPLzNkMvQiunnj3oc1SjcYO80ZzENF5+u5zbWE9xg
github.com/drone/runner-go v1.5.1/go.mod h1:ZIhsNU4EHG7R7J+OXeXuwwAxlxOBYLCc0gCkbbhWb/o=
github.com/drone/runner-go v1.5.2-0.20200124215921-f271a4bb2c27 h1:m7NcjBLie+OO8/rfIU4d99vG9OVMBLtb2JIvEdN3Nkw=
github.com/drone/runner-go v1.5.2-0.20200124215921-f271a4bb2c27/go.mod h1:ZIhsNU4EHG7R7J+OXeXuwwAxlxOBYLCc0gCkbbhWb/o=
github.com/drone/runner-go v1.5.2-0.20200131074319-316bd38dda3b h1:4CzovdXeraZEGkVB5KSFMBUso1S0FMNpswnY4uiGc1M=
github.com/drone/runner-go v1.5.2-0.20200131074319-316bd38dda3b/go.mod h1:ZIhsNU4EHG7R7J+OXeXuwwAxlxOBYLCc0gCkbbhWb/o=
github.com/drone/signal v1.0.0 h1:NrnM2M/4yAuU/tXs6RP1a1ZfxnaHwYkd0kJurA1p6uI=
github.com/drone/signal v1.0.0/go.mod h1:S8t92eFT0g4WUgEc/LxG+LCuiskpMNsG0ajAMGnyZpc=
github.com/ghodss/yaml v1.0.0 h1:wQHKEahhL6wmXdzwWG11gIVCkOv05bNOh+Rxn0yngAk=

View File

@@ -241,8 +241,13 @@ func Test_matchHostname(t *testing.T) {
want: true,
},
{
image: "1.2.3.4:8000/golang:1.0.0",
hostname: "1.2.3.4:8000",
image: "gcr.io/golang:1.0.0",
hostname: "gcr.io",
want: true,
},
{
image: "012345678910.dkr.ecr.us-east-1.amazonaws.com/foo:latest",
hostname: "012345678910.dkr.ecr.us-east-1.amazonaws.com",
want: true,
},
{