Skip to content

Commit

Permalink
Merge pull request #495 from coreos/prep-release
Browse files Browse the repository at this point in the history
*: Prepare for v0.6.0 release
  • Loading branch information
dghubble authored Apr 24, 2017
2 parents bcae94e + 348b48d commit c8af401
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 46 deletions.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ Notable changes between releases.

## Latest

## v0.6.0 (2017-04-25)

* New [terraform-provider-matchbox](https://github.com/coreos/terraform-provider-matchbox) plugin for Terraform users!
* New hosted [documentation](https://coreos.com/matchbox/docs/latest) on coreos.com
* Add `ProfileDelete`, `GroupDelete`, `IgnitionGet` and `IgnitionDelete` gRPC endpoints
Expand Down
10 changes: 5 additions & 5 deletions Documentation/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,23 @@ Choose one of the supported installation options:
Download the latest matchbox [release](https://github.com/coreos/matchbox/releases) to the provisioner host.

```sh
$ wget https://github.com/coreos/matchbox/releases/download/v0.5.0/matchbox-v0.5.0-linux-amd64.tar.gz
$ wget https://github.com/coreos/matchbox/releases/download/v0.5.0/matchbox-v0.5.0-linux-amd64.tar.gz.asc
$ wget https://github.com/coreos/matchbox/releases/download/v0.6.0/matchbox-v0.6.0-linux-amd64.tar.gz
$ wget https://github.com/coreos/matchbox/releases/download/v0.6.0/matchbox-v0.6.0-linux-amd64.tar.gz.asc
```

Verify the release has been signed by the [CoreOS App Signing Key](https://coreos.com/security/app-signing-key/).

```sh
$ gpg --keyserver pgp.mit.edu --recv-key 18AD5014C99EF7E3BA5F6CE950BDD3E0FC8A365E
$ gpg --verify matchbox-v0.5.0-linux-amd64.tar.gz.asc matchbox-v0.5.0-linux-amd64.tar.gz
$ gpg --verify matchbox-v0.6.0-linux-amd64.tar.gz.asc matchbox-v0.6.0-linux-amd64.tar.gz
# gpg: Good signature from "CoreOS Application Signing Key <[email protected]>"
```

Untar the release.

```sh
$ tar xzvf matchbox-v0.5.0-linux-amd64.tar.gz
$ cd matchbox-v0.5.0-linux-amd64
$ tar xzvf matchbox-v0.6.0-linux-amd64.tar.gz
$ cd matchbox-v0.6.0-linux-amd64
```

## Install
Expand Down
28 changes: 3 additions & 25 deletions Documentation/dev/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This guide covers releasing new versions of matchbox.
Create a release commit which updates old version references.

```sh
$ export VERSION=v0.5.0
$ export VERSION=v0.6.0
```

## Tag
Expand Down Expand Up @@ -45,27 +45,7 @@ $ make release
Verify the reported version.

```
./_output/matchbox-v0.5.0-linux-amd64/matchbox -version
```

## ACI

Build the rkt ACI on a Linux host with `acbuild`,

```sh
$ make aci
```

Check that the listed version is correct/clean.

```sh
$ sudo rkt --insecure-options=image run matchbox.aci -- -version
```

Add the ACI to `output` for signing.

```sh
$ mv matchbox.aci _output/matchbox-$VERSION-linux-amd64.aci
./_output/matchbox-v0.6.0-linux-amd64/matchbox -version
```

## Signing
Expand All @@ -74,7 +54,6 @@ Sign the release tarballs and ACI with a [CoreOS App Signing Key](https://coreos

```sh
$ cd _output
$ gpg2 -a --default-key FC8A365E --detach-sign matchbox-$VERSION-linux-amd64.aci
$ gpg2 -a --default-key FC8A365E --detach-sign matchbox-$VERSION-linux-amd64.tar.gz
$ gpg2 -a --default-key FC8A365E --detach-sign matchbox-$VERSION-darwin-amd64.tar.gz
$ gpg2 -a --default-key FC8A365E --detach-sign matchbox-$VERSION-linux-arm.tar.gz
Expand All @@ -84,7 +63,6 @@ $ gpg2 -a --default-key FC8A365E --detach-sign matchbox-$VERSION-linux-arm64.tar
Verify the signatures.

```sh
$ gpg2 --verify matchbox-$VERSION-linux-amd64.aci.asc matchbox-$VERSION-linux-amd64.aci
$ gpg2 --verify matchbox-$VERSION-linux-amd64.tar.gz.asc matchbox-$VERSION-linux-amd64.tar.gz
$ gpg2 --verify matchbox-$VERSION-darwin-amd64.tar.gz.asc matchbox-$VERSION-darwin-amd64.tar.gz
$ gpg2 --verify matchbox-$VERSION-linux-arm.tar.gz.asc matchbox-$VERSION-linux-arm.tar.gz
Expand All @@ -93,4 +71,4 @@ $ gpg2 --verify matchbox-$VERSION-linux-arm64.tar.gz.asc matchbox-$VERSION-linux

## Publish

Upload the signed tarball(s) and ACI with the Github release. Promote the release from a `pre-release` to an official release.
Upload the signed tarball(s) with the Github release. Promote the release from a `pre-release` to an official release.
2 changes: 1 addition & 1 deletion Documentation/getting-started-rkt.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ sudo rkt run --net=metal0:IP=172.18.0.2 \
--volume data,kind=host,source=$PWD/examples \
--mount volume=groups,target=/var/lib/matchbox/groups \
--volume groups,kind=host,source=$PWD/examples/groups/etcd3 \
quay.io/coreos/matchbox:v0.5.0 -- -address=0.0.0.0:8080 -log-level=debug
quay.io/coreos/matchbox:v0.6.0 -- -address=0.0.0.0:8080 -log-level=debug
```
```sh
sudo rkt run --net=metal0:IP=172.18.0.3 \
Expand Down
17 changes: 4 additions & 13 deletions contrib/k8s/matchbox-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: matchbox
image: quay.io/coreos/matchbox:v0.5.0
image: quay.io/coreos/matchbox:v0.6.0
env:
- name: MATCHBOX_ADDRESS
value: "0.0.0.0:8080"
Expand All @@ -35,12 +35,8 @@ spec:
volumeMounts:
- name: config
mountPath: /etc/matchbox
- name: groups
mountPath: /var/lib/matchbox/groups
- name: profiles
mountPath: /var/lib/matchbox/profiles
- name: ignition
mountPath: /var/lib/matchbox/ignition
- name: data
mountPath: /var/lib/matchbox
- name: assets
mountPath: /var/lib/matchbox/assets
dnsPolicy: ClusterFirst
Expand All @@ -50,12 +46,7 @@ spec:
- name: config
secret:
secretName: matchbox-rpc
- name: groups
emptyDir: {}
- name: profiles
emptyDir: {}
- name: ignition
- name: data
emptyDir: {}
- name: assets
emptyDir: {}

2 changes: 1 addition & 1 deletion contrib/systemd/matchbox-for-tectonic.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Documentation=https://github.com/coreos/matchbox

[Service]
Environment="IMAGE=quay.io/coreos/matchbox"
Environment="VERSION=v0.5.0"
Environment="VERSION=v0.6.0"
Environment="MATCHBOX_ADDRESS=0.0.0.0:8080"
Environment="MATCHBOX_RPC_ADDRESS=0.0.0.0:8081"
Environment="MATCHBOX_LOG_LEVEL=debug"
Expand Down
2 changes: 1 addition & 1 deletion contrib/systemd/matchbox-on-coreos.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Documentation=https://github.com/coreos/matchbox

[Service]
Environment="IMAGE=quay.io/coreos/matchbox"
Environment="VERSION=v0.5.0"
Environment="VERSION=v0.6.0"
Environment="MATCHBOX_ADDRESS=0.0.0.0:8080"
ExecStartPre=/usr/bin/mkdir -p /etc/matchbox
ExecStartPre=/usr/bin/mkdir -p /var/lib/matchbox/assets
Expand Down

0 comments on commit c8af401

Please sign in to comment.