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

Commit

Permalink
Release v0.11.0 (#138)
Browse files Browse the repository at this point in the history
* Release v0.11.0

* Fix license check as broken by new version of wwhrd
  • Loading branch information
vboulineau authored Jan 10, 2020
1 parent 9934659 commit f7b75ea
Show file tree
Hide file tree
Showing 9 changed files with 39 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/sandbox
/pupernetes.sha512sum
/environments/container-linux/ignition.json

bin/
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ docs:
$(CC) run ./scripts/update/docs.go

license:
./scripts/install-wwhrd.sh
./scripts/update/license.sh

goget:
@which ineffassign || go get github.com/gordonklaus/ineffassign
@which golint || go get golang.org/x/lint/golint
@which misspell || go get github.com/client9/misspell/cmd/misspell
@which wwhrd || go get github.com/frapposelli/wwhrd

# Private targets
PKG=.cmd .pkg .docs
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.10.0
VERSION=0.11.0
curl -LOf https://github.com/DataDog/pupernetes/releases/download/v${VERSION}/pupernetes
chmod +x ./pupernetes
./pupernetes --help
Expand Down
4 changes: 2 additions & 2 deletions environments/container-linux/ignition.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ storage:
contents:
inline: |
#!/bin/bash -ex
curl -Lf https://github.com/DataDog/pupernetes/releases/download/v0.10.0/pupernetes -o /opt/bin/pupernetes
curl -Lf https://github.com/DataDog/pupernetes/releases/download/v0.11.0/pupernetes -o /opt/bin/pupernetes
sha512sum -c /opt/bin/pupernetes.sha512sum
chmod +x /opt/bin/pupernetes
Expand All @@ -102,4 +102,4 @@ storage:
filesystem: root
contents:
inline: |
35353ea46464a9c77848fbc03745de8fc6bf90b7e0ecf8011f48973b6cba571e8d3964e995397d8a8ba368d0f127b82deaa2ff916ca7544fba1b44dc6ee94bf5 /opt/bin/pupernetes
fcbf42316b9fbfbf6966b2f010f1bbc5006f7c882fc856d36b5e9f67a323d6b02361a45b88a4b4f7c64ac733078d9fd7d0cf72ef1229697f191b740c9fc95e61 /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.10.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.11.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
2 changes: 1 addition & 1 deletion examples/travis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.10.0/pupernetes -o /usr/local/bin/pupernetes
- 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

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

## v0.11.0

### Enhancement
* Add Kubernetes 1.15 - 1.17, default is now 1.16.3 #137


## v0.10.0

Expand Down
23 changes: 23 additions & 0 deletions scripts/install-wwhrd.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/usr/bin/env bash
set -e

set -o errexit
set -o nounset
set -o pipefail

ROOT=$(git rev-parse --show-toplevel)
WORK_DIR=`mktemp -d`
cleanup() {
rm -rf "$WORK_DIR"
}
trap "cleanup" EXIT SIGINT

VERSION=0.2.4
TARBALL="wwhrd_${VERSION}_$(uname)_amd64.tar.gz"

cd $WORK_DIR
curl -Lo ${TARBALL} https://github.com/frapposelli/wwhrd/releases/download/v${VERSION}/${TARBALL} && tar -C . -xzf $TARBALL

chmod +x wwhrd
mkdir -p $ROOT/bin
mv wwhrd $ROOT/bin/wwhrd
5 changes: 3 additions & 2 deletions scripts/update/license.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
set -exo pipefail

export LC_ALL=C
ROOT=$(git rev-parse --show-toplevel)

cd $(dirname $0)/../..

wwhrd list
$ROOT/bin/wwhrd list

echo Component,Origin,License > LICENSE-3rdparty.csv
echo 'core,"github.com/frapposelli/wwhrd",MIT' >> LICENSE-3rdparty.csv

wwhrd list |& grep "Found License" | awk '{print $5,$4}' | sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[mGK]//g" | sed s/" license="/,/ | sed s/package=/core,/ | sort >> LICENSE-3rdparty.csv
$ROOT/bin/wwhrd list |& grep "Found License" | awk '{print $5,$4}' | sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[mGK]//g" | sed s/" license="/,/ | sed s/package=/core,/ | sort >> LICENSE-3rdparty.csv

0 comments on commit f7b75ea

Please sign in to comment.