Skip to content

Commit

Permalink
Merge branch 'upstream' into upstream-merge
Browse files Browse the repository at this point in the history
  • Loading branch information
neuralsandwich committed Jan 4, 2021
2 parents 386d2da + 37d8632 commit 2ee97f9
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
5 changes: 3 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ workflows:
# never publish from a branch event
branches:
ignore: /.*/
# disabled (temporarily?) due to https://github.com/segmentio/aws-okta/issues/301
# release only on tag push events like vX[.Y.Z...][-whatever]
tags:
only: /v[0-9]+(\.[0-9]+)*(-[a-zA-Z0-9-]+)?/
# tags:
# only: /v[0-9]+(\.[0-9]+)*(-[a-zA-Z0-9-]+)?/
3 changes: 2 additions & 1 deletion Makefile.release
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ PACKAGECLOUD_DEB_DISTROS := \
ubuntu/xenial \
ubuntu/bionic \
ubuntu/disco \
ubuntu/eoan
ubuntu/eoan \
ubuntu/focal

PACKAGECLOUD_RPM_DISTROS := \
fedora/27 \
Expand Down
3 changes: 1 addition & 2 deletions cmd/cred-process.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,7 @@ func credProcessRun(cmd *cobra.Command, args []string) error {
AccessKeyID: creds.AccessKeyID,
SecretAccessKey: creds.SecretAccessKey,
SessionToken: creds.SessionToken,
// reuse the provided session duration
Expiration: time.Now().Add(p.SessionDuration).Format(time.RFC3339),
Expiration: p.GetExpiration().Format(time.RFC3339),
}

var output []byte
Expand Down
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ replace github.com/keybase/go-keychain => github.com/99designs/go-keychain v0.0.
require (
github.com/99designs/keyring v1.0.0
github.com/alessio/shellescape v0.0.0-20190409004728-b115ca0f9053
github.com/aws/aws-sdk-go v1.25.25
github.com/aws/aws-sdk-go v1.25.35
github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/karalabe/hid v1.0.0 // indirect
github.com/marshallbrekka/go-u2fhost v0.0.0-20200114212649-cc764c209ee9
Expand Down
6 changes: 4 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ github.com/99designs/keyring v1.0.0 h1:O2nCc8QRO2yeO7ncdR7bd17cdofhM8AXug42ahzEs
github.com/99designs/keyring v1.0.0/go.mod h1:qVCfjMddwdzjgy848stNe9eTPmovvxF1lhJvOD6LUEo=
github.com/alessio/shellescape v0.0.0-20190409004728-b115ca0f9053 h1:H/GMMKYPkEIC3DF/JWQz8Pdd+Feifov2EIgGfNpeogI=
github.com/alessio/shellescape v0.0.0-20190409004728-b115ca0f9053/go.mod h1:xW8sBma2LE3QxFSzCnH9qe6gAE2yO9GvQaWwX89HxbE=
github.com/aws/aws-sdk-go v1.25.25 h1:j3HLOqcDWjNox1DyvJRs+kVQF42Ghtv6oL6cVBfXS3U=
github.com/aws/aws-sdk-go v1.25.25/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
github.com/aws/aws-sdk-go v1.25.35 h1:fe2tJnqty/v/50pyngKdNk/NP8PFphYDA1Z7N3EiiiE=
github.com/aws/aws-sdk-go v1.25.35/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 h1:DDGfHa7BWjL4YnC6+E63dPcxHo2sUxDIu8g3QgEJdRY=
github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869/go.mod h1:Ekp36dRnpXw/yCqJaO+ZrUyxD+3VXMFFr56k5XYrpB4=
github.com/danieljoos/wincred v1.0.2 h1:zf4bhty2iLuwgjgpraD2E9UbvO+fe54XXGJbOwe23fU=
github.com/danieljoos/wincred v1.0.2/go.mod h1:SnuYRW9lp1oJrZX/dXJqr0cPK5gYXqx3EJbmjhLdK9U=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
Expand Down

0 comments on commit 2ee97f9

Please sign in to comment.