Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Commit

Permalink
Release v0.12.0 (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
L3n41c authored Aug 7, 2020
1 parent 7b3811a commit 0207709
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 14 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ CGO_ENABLED?=0


# Used to populate variables in version package.
VERSION=$(shell git describe --match 'v[0-9]*' --dirty='+dirty' --always)
VERSION=$(shell git describe --tags --match 'v[0-9]*' --dirty='+dirty' --always)
REVISION=$(shell git rev-parse HEAD)$(shell if ! git diff --no-ext-diff --quiet --exit-code; then echo +dirty; fi)
PROJECT=github.com/DataDog/pupernetes
VERSION_FLAGS=-ldflags '-s -w -X $(PROJECT)/version.Version=$(VERSION) -X $(PROJECT)/version.Revision=$(REVISION) -X $(PROJECT)/version.Package=$(PROJECT)'
Expand Down Expand Up @@ -64,7 +64,7 @@ sha512sum: pupernetes
$@ ./$^ > $^.$@

pupernetes-docker:
docker run --rm --net=host -v $(PWD):/go/src/github.com/DataDog/pupernetes -w /go/src/github.com/DataDog/pupernetes golang:1.10 make
docker run --rm --net=host -v $(PWD):/go/src/github.com/DataDog/pupernetes -w /go/src/github.com/DataDog/pupernetes golang:1.13 make

ci-validation:
./.ci/pupernetes-validation.sh
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ make

You need to download the last version:
```bash
VERSION=0.11.0
VERSION=0.12.0
curl -LOf https://github.com/DataDog/pupernetes/releases/download/v${VERSION}/pupernetes
chmod +x ./pupernetes
./pupernetes --help
Expand Down
12 changes: 6 additions & 6 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ git checkout -b v0.3.0
```

Compile statically the binary and generate the sha512sum.
> note: you need go 1.10
> note: you need go 1.13
```bash
CGO_ENABLED=0 make sha512sum

# or using docker
docker run --rm -v "$GOPATH":/go -w /go/src/github.com/DataDog/pupernetes golang:1.10 make re sha512sum
docker run --rm -v "$GOPATH":/go -w /go/src/github.com/DataDog/pupernetes golang:1.13 make re sha512sum

# equivalent to
make pupernetes-docker
Expand All @@ -54,14 +54,14 @@ echo $?
1

# or using docker
docker run --rm -v "$GOPATH":/go -w /go/src/github.com/DataDog/pupernetes golang:1.10 sh -c 'ldd pupernetes ; echo $?'
docker run --rm -v "$GOPATH":/go -w /go/src/github.com/DataDog/pupernetes golang:1.13 sh -c 'ldd pupernetes ; echo $?'
not a dynamic executable
1
```

Check the sha512sum:
```bash
sha512sum -c pupernetes.sha512sum
sha512sum -c pupernetes.sha512sum
./pupernetes: OK
```

Expand Down Expand Up @@ -100,7 +100,7 @@ cp -v pupernetes.sha512sum pr-pupernetes.sha512sum
make clean
CGO_ENABLED=0 make sha512sum
diff pupernetes.sha512sum pr-pupernetes.sha512sum
sha512sum -c pupernetes.sha512sum
sha512sum -c pupernetes.sha512sum
./pupernetes: OK
```

Expand All @@ -125,4 +125,4 @@ Create the following field in the github release page:
Append the associated fields from the [releasenotes](./releasenotes.md).
- Enhancement
- Bugfixes
- Other
- Other
4 changes: 2 additions & 2 deletions environments/container-linux/ignition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ storage:
contents:
inline: |
#!/bin/bash -ex
curl -Lf --retry 7 --retry-connrefused https://github.com/DataDog/pupernetes/releases/download/v0.11.0/pupernetes -o /opt/bin/pupernetes
curl -Lf --retry 7 --retry-connrefused https://github.com/DataDog/pupernetes/releases/download/v0.12.0/pupernetes -o /opt/bin/pupernetes
sha512sum -c /opt/bin/pupernetes.sha512sum
chmod +x /opt/bin/pupernetes
Expand All @@ -104,4 +104,4 @@ storage:
filesystem: root
contents:
inline: |
fcbf42316b9fbfbf6966b2f010f1bbc5006f7c882fc856d36b5e9f67a323d6b02361a45b88a4b4f7c64ac733078d9fd7d0cf72ef1229697f191b740c9fc95e61 /opt/bin/pupernetes
c0cd502d7dc8112e4c17e267068a12f150d334e1eca7e831130e462f5a431d044b10019af8533b756ee6d10a3fd4e9c72a62cee6d6a0045caa57807d06ede817 /opt/bin/pupernetes
2 changes: 1 addition & 1 deletion examples/circleci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- checkout
- run:
name: download
command: sudo curl -Lf https://github.com/DataDog/pupernetes/releases/download/v0.11.0/pupernetes -o /usr/local/bin/pupernetes && sudo chmod +x /usr/local/bin/pupernetes
command: sudo curl -Lf https://github.com/DataDog/pupernetes/releases/download/v0.12.0/pupernetes -o /usr/local/bin/pupernetes && sudo chmod +x /usr/local/bin/pupernetes
- run:
name: apt
command: sudo apt-get update -qq && sudo apt-get install -yqq systemd
Expand Down
4 changes: 2 additions & 2 deletions examples/travis.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: go

go: "1.10"
go: "1.13"

os:
- linux
Expand All @@ -22,7 +22,7 @@ install:
- sudo apt-get install -yqq systemd
- sudo curl -Lf https://storage.googleapis.com/kubernetes-release/release/v$HYPERKUBE_VERSION/bin/linux/amd64/kubectl -o /usr/local/bin/kubectl
- sudo chmod +x /usr/local/bin/kubectl
- sudo curl -Lf https://github.com/DataDog/pupernetes/releases/download/v0.11.0/pupernetes -o /usr/local/bin/pupernetes
- sudo curl -Lf https://github.com/DataDog/pupernetes/releases/download/v0.12.0/pupernetes -o /usr/local/bin/pupernetes
- sudo chmod +x /usr/local/bin/pupernetes

script:
Expand Down
10 changes: 10 additions & 0 deletions releasenotes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
- [v0.12.0](#v0120)
- [v0.11.0](#v0110)
- [v0.10.0](#v0100)
- [v0.9.0](#v090)
Expand All @@ -11,6 +12,15 @@
- [v0.2.1](#v021)
- [v0.2.0](#v020)

## v0.12.0

### Enhancement
* Add Kubernetes 1.18 #139

### Bugfixes
* Fix a race condition when downloading pupernetes #142


## v0.11.0

### Enhancement
Expand Down

0 comments on commit 0207709

Please sign in to comment.