Skip to content

Commit

Permalink
chore: update Go version
Browse files Browse the repository at this point in the history
  • Loading branch information
luisdavim committed Aug 30, 2021
1 parent 2f769b0 commit fb9e4ad
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 12 deletions.
13 changes: 7 additions & 6 deletions CONTRIBUTION.md
Expand Up @@ -4,9 +4,9 @@ Pull requests, feeback/feature requests are all welcome. This guide will be upda

## Build helmsman from source

To build helmsman from source, you need go:1.13+. Follow the steps below:
To build helmsman from source, you need go:1.17+. Follow the steps below:

```
```sh
git clone https://github.com/Praqma/helmsman.git
make tools # installs few tools for testing, building, releasing
make build
Expand All @@ -17,16 +17,17 @@ make test

`master` is where Helmsman latest code lives.
`1.x` this is where Helmsman versions 1.x lives.

> Helmsman v1.x supports helm v2.x only and will no longer be supported except for bug fixes and minor changes.
## Submitting pull requests

- If your PR is for Helmsman v1.x, it should target the `1.x` branch.
- Please make sure you state the purpose of the pull request and that the code you submit is documented. If in doubt, [this guide](https://blog.github.com/2015-01-21-how-to-write-the-perfect-pull-request/) offers some good tips on writing a PR.
- Please make sure you update the documentation with new features or the changes your PR adds. The following places are required.
- Update existing [how_to](docs/how_to/) guides or create new ones.
- If necessary, Update the [Desired State File spec](docs/desired_state_specification.md)
- If adding new flags, Update the [cmd reference](docs/cmd_reference.md)
- Update existing [how_to](docs/how_to/) guides or create new ones.
- If necessary, Update the [Desired State File spec](docs/desired_state_specification.md)
- If adding new flags, Update the [cmd reference](docs/cmd_reference.md)
- Please add tests wherever possible to test your new changes.

## Contribution to documentation
Expand All @@ -42,6 +43,7 @@ Please provide details of the issue, versions of helmsman, helm and kubernetes a
Release is automated from CicrcleCI based on Git tags. [Goreleaser](goreleaser.com) is used to release the binaries and update the release notes on Github while the CircleCI pipeline builds a set of docker images and pushes them to dockerhub.

The following steps are needed to cut a release (They assume that you are on master and the code is up to date):

1. Change the version variable in [main.go](internal/app/main.go) and in [.version](.version)
2. Update the [release-notes.md](release-notes.md) file with new version and changelog.
3. Update the installation section in the [README.md](README.md) file to point to the latest version.
Expand All @@ -50,4 +52,3 @@ The following steps are needed to cut a release (They assume that you are on mas
6. Create a git tag with the following command: `git tag -a <semantic version number> -m "<semantic version number>" <your-last-commit-sha>`
7. Push your commit and tag with `git push --follow-tags`
8. This should trigger the [pipeline on circleci](https://circleci.com/gh/Praqma/workflows/helmsman) which eventually releases to Github and dockerhub.

6 changes: 3 additions & 3 deletions Dockerfile
@@ -1,6 +1,6 @@
ARG GO_VERSION="1.15.2"
ARG ALPINE_VERSION="3.12"
ARG GLOBAL_KUBE_VERSION="v1.19.8"
ARG GO_VERSION="1.17.0"
ARG ALPINE_VERSION="3.14"
ARG GLOBAL_KUBE_VERSION="v1.22.1"
ARG GLOBAL_HELM_VERSION="v3.6.3"
ARG GLOBAL_HELM_DIFF_VERSION="v3.1.3"
ARG GLOBAL_SOPS_VERSION="v3.7.1"
Expand Down
20 changes: 19 additions & 1 deletion go.mod
@@ -1,6 +1,6 @@
module github.com/Praqma/helmsman

go 1.13
go 1.17

require (
cloud.google.com/go/storage v1.16.0
Expand Down Expand Up @@ -28,3 +28,21 @@ require (
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
gopkg.in/yaml.v2 v2.4.0
)

require (
cloud.google.com/go v0.84.0 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/googleapis/gax-go/v2 v2.0.5 // indirect
github.com/jmespath/go-jmespath v0.4.0 // indirect
github.com/jstemmer/go-junit-report v0.9.1 // indirect
github.com/mattn/go-ieproxy v0.0.1 // indirect
go.opencensus.io v0.23.0 // indirect
golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 // indirect
golang.org/x/mod v0.4.2 // indirect
golang.org/x/sys v0.0.0-20210616094352-59db8d763f22 // indirect
golang.org/x/text v0.3.6 // indirect
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
google.golang.org/api v0.49.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/grpc v1.38.0 // indirect
)
2 changes: 0 additions & 2 deletions go.sum
Expand Up @@ -52,7 +52,6 @@ github.com/Azure/go-autorest/autorest/adal v0.9.14 h1:G8hexQdV5D4khOXrWG2YuLCFKh
github.com/Azure/go-autorest/autorest/adal v0.9.14/go.mod h1:W/MM4U6nLxnIskrw4UwWzlHfGjwUS50aOsc/I3yuU8M=
github.com/Azure/go-autorest/autorest/date v0.3.0 h1:7gUk1U5M/CQbp9WoqinNzJar+8KY+LPI6wiWrP/myHw=
github.com/Azure/go-autorest/autorest/date v0.3.0/go.mod h1:BI0uouVdmngYNUzGWeSYnokU+TrmwEsOqdt8Y6sso74=
github.com/Azure/go-autorest/autorest/mocks v0.4.1 h1:K0laFcLE6VLTOwNgSxaGbUcLPuGXlNkbVvq4cW4nIHk=
github.com/Azure/go-autorest/autorest/mocks v0.4.1/go.mod h1:LTp+uSrOhSkaKrUy935gNZuuIPPVsHlr9DSOxSayd+k=
github.com/Azure/go-autorest/logger v0.2.1 h1:IG7i4p/mDa2Ce4TRyAO8IHnVhAVF3RFU+ZtXWSmf4Tg=
github.com/Azure/go-autorest/logger v0.2.1/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZmbF5NWuPV8+WeEW8=
Expand Down Expand Up @@ -125,7 +124,6 @@ github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaS
github.com/golang/protobuf v1.5.1/go.mod h1:DopwsBzvsk0Fs44TXzsVbJyPhcCPeIwnvohx4u74HPM=
github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw=
github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
github.com/golang/snappy v0.0.3 h1:fHPg5GQYlCeLIPB9BZqMVR5nR9A+IM5zcgeTdjMYmLA=
github.com/golang/snappy v0.0.3/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
Expand Down

0 comments on commit fb9e4ad

Please sign in to comment.