Skip to content

Commit

Permalink
*: release v1.5.1 (#169)
Browse files Browse the repository at this point in the history
Signed-off-by: Gyuho Lee <[email protected]>
  • Loading branch information
gyuho authored Sep 10, 2020
1 parent 39df533 commit 99e72c3
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG/CHANGELOG-1.5.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<hr>


## [v1.5.1](https://github.com/aws/aws-k8s-tester/releases/tag/v1.5.1) (2020-09)
## [v1.5.1](https://github.com/aws/aws-k8s-tester/releases/tag/v1.5.1) (2020-09-10)

See [code changes](https://github.com/aws/aws-k8s-tester/compare/v1.5.0...v1.5.1).

Expand All @@ -15,6 +15,10 @@ See [code changes](https://github.com/aws/aws-k8s-tester/compare/v1.5.0...v1.5.1

- Upgrade [`github.com/aws/aws-sdk-go`](https://github.com/aws/aws-sdk-go/releases) from [`v1.34.20`](https://github.com/aws/aws-sdk-go/releases/tag/v1.34.20) to [`v1.34.20`](https://github.com/aws/aws-sdk-go/releases/tag/v1.34.20).

### Go

- Compile with [*Go 1.15.2*](https://golang.org/doc/devel/release.html#go1.15).



<hr>
Expand Down
2 changes: 1 addition & 1 deletion eks/eks.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ func New(cfg *eksconfig.Config) (ts *Tester, err error) {
vo, err = exec.New().CommandContext(ctx, cfg.AWSCLIPath, "--version").CombinedOutput()
cancel()
if err != nil {
return nil, fmt.Errorf("'aws --version' failed (output %q, error %v)", string(vo), err)
return nil, fmt.Errorf("'aws --version' failed (output %q, error %v); required for 'aws eks update-kubeconfig'", string(vo), err)
}
lg.Info(
"aws version",
Expand Down
2 changes: 1 addition & 1 deletion eksconfig/add-on-cluster-loader-local.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ func getDefaultAddOnClusterLoaderLocal() *AddOnClusterLoaderLocal {
Enable: false,

ClusterLoaderPath: "/tmp/clusterloader2",
ClusterLoaderDownloadURL: "https://github.com/aws/aws-k8s-tester/releases/download/v1.5.0/clusterloader2-linux-amd64",
ClusterLoaderDownloadURL: "https://github.com/aws/aws-k8s-tester/releases/download/v1.5.1/clusterloader2-linux-amd64",

Runs: 2,
Timeout: 30 * time.Minute,
Expand Down
2 changes: 1 addition & 1 deletion eksconfig/add-on-cluster-loader-remote.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func getDefaultAddOnClusterLoaderRemote() *AddOnClusterLoaderRemote {
Enable: false,

ClusterLoaderPath: "/tmp/clusterloader2",
ClusterLoaderDownloadURL: "https://github.com/aws/aws-k8s-tester/releases/download/v1.5.0/clusterloader2-linux-amd64",
ClusterLoaderDownloadURL: "https://github.com/aws/aws-k8s-tester/releases/download/v1.5.1/clusterloader2-linux-amd64",

Runs: 2,
Timeout: 30 * time.Minute,
Expand Down
3 changes: 2 additions & 1 deletion eksconfig/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ type Config struct {
LogOutputs []string `json:"log-outputs,omitempty"`

// AWSCLIPath is the path for AWS CLI path.
// Required for 'aws eks update-kubeconfig'.
AWSCLIPath string `json:"aws-cli-path,omitempty"`

// KubectlPath is the path to download the "kubectl".
Expand Down Expand Up @@ -861,7 +862,7 @@ func NewDefault() *Config {
var err error
cfg.AWSCLIPath, err = exec.LookPath("aws")
if err != nil {
panic(fmt.Errorf("aws CLI is not installed (%v)", err))
panic(fmt.Errorf("aws CLI is not installed (%v); required for 'aws eks update-kubeconfig'", err))
}

if runtime.GOOS == "darwin" {
Expand Down

0 comments on commit 99e72c3

Please sign in to comment.