-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Previously, there were issues with the release process, which led to incorrect binaries being deployed and a broken version being released. These changes aim to improve the process by avoiding errors like this and disambiguating any steps that were not entirely direct. Changes are as follows: * Updated `CONTRIBUTING.md` to be more verbose, descriptive, and include steps regarding updating the `KubectlV##Layer` construct. * The `Dockerfile` curl link for `kubectl` has been updated to reflect its [canonical location](https://kubernetes.io/releases/download/). This also re-simplifies the command back to what it was previously. * Additional checks have been added for `kubectl` and `helm` to verifiy that the binaries were installed correctly; namely running `kubectl config view` and `helm version`. * I had initially tried `kubectl version` but it requires additional configuration for the command to "succeed"?? This was the next best simple command I found to verify the installation. * I also tested this via `yarn build` against the [previous broken link](https://github.com/cdklabs/awscdk-asset-kubectl/blob/0ea08f2ae94a628b3062306a13f08680ab870408/layer/Dockerfile#L27), and can confirm that the Docker build failed at this step, which was expected. * Updated the integ tests since the hashes have changed<hr>This is an automatic backport of pull request #1620 done by [Mergify](https://mergify.com).
- Loading branch information
1 parent
5d53046
commit 52c6a56
Showing
4 changed files
with
25 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters