Skip to content
This repository has been archived by the owner on Aug 14, 2020. It is now read-only.

Commit

Permalink
Merge pull request #608 from jonboulle/master
Browse files Browse the repository at this point in the history
*: appc v0.8.2
  • Loading branch information
jonboulle committed May 23, 2016
2 parents 33fefe1 + deda37c commit e9daa59
Show file tree
Hide file tree
Showing 15 changed files with 28 additions and 22 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
### v0.8.2

Minor release of the spec with two tooling fixes:
- Updated Godeps to the latest k8s.io packages, which should help downstream users attempting to vendor schema code (#607)
- Minor fixes to the ACE validator (#605)

### v0.8.1

Minor release of the spec which introduces one new backwards-compatible feature: the field `readOnlyRootFS` in the pod spec.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ $ find /tmp/my-app/
$ cat /tmp/my-app/manifest
{
"acKind": "ImageManifest",
"acVersion": "0.8.1",
"acVersion": "0.8.2",
"name": "my-app",
"labels": [
{"name": "os", "value": "linux"},
Expand Down Expand Up @@ -115,7 +115,7 @@ and verify that the manifest was embedded appropriately
$ tar xf /tmp/my-app.aci manifest -O | python -m json.tool
{
"acKind": "ImageManifest",
"acVersion": "0.8.1",
"acVersion": "0.8.2",
"annotations": null,
"app": {
"environment": [],
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.8.1+git
0.8.2+git
4 changes: 2 additions & 2 deletions ace/image_manifest_main.json.in
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"acVersion": "0.8.1",
"acVersion": "0.8.2",
"acKind": "ImageManifest",
"name": "coreos.com/ace-validator-main",
"labels": [
{ "name": "version", "value": "0.8.1" },
{ "name": "version", "value": "0.8.2" },
{ "name": "os", "value": "@GOOS@" },
{ "name": "arch", "value": "@GOARCH@" }
],
Expand Down
4 changes: 2 additions & 2 deletions ace/image_manifest_sidekick.json.in
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"acVersion": "0.8.1",
"acVersion": "0.8.2",
"acKind": "ImageManifest",
"name": "coreos.com/ace-validator-sidekick",
"labels": [
{ "name": "version", "value": "0.8.1" },
{ "name": "version", "value": "0.8.2" },
{ "name": "os", "value": "@GOOS@" },
{ "name": "arch", "value": "@GOARCH@" }
],
Expand Down
2 changes: 1 addition & 1 deletion aci/file_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func newTestACI(usedotslash bool) (*os.File, error) {
return nil, err
}

manifestBody := `{"acKind":"ImageManifest","acVersion":"0.8.1","name":"example.com/app"}`
manifestBody := `{"acKind":"ImageManifest","acVersion":"0.8.2","name":"example.com/app"}`

gw := gzip.NewWriter(tf)
tw := tar.NewWriter(gw)
Expand Down
2 changes: 1 addition & 1 deletion examples/image.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"acKind": "ImageManifest",
"acVersion": "0.8.1",
"acVersion": "0.8.2",
"name": "example.com/reduce-worker",
"labels": [
{
Expand Down
2 changes: 1 addition & 1 deletion examples/pod_runtime.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"acKind": "PodManifest",
"acVersion": "0.8.1",
"acVersion": "0.8.2",
"apps": [
{
"name": "reduce-worker",
Expand Down
4 changes: 2 additions & 2 deletions pkg/acirenderer/acirenderer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2149,7 +2149,7 @@ func TestEmptyRootFsDir(t *testing.T) {
`
{
"acKind": "ImageManifest",
"acVersion": "0.8.1",
"acVersion": "0.8.2",
"name": "example.com/test_empty_rootfs"
}
`,
Expand All @@ -2175,7 +2175,7 @@ func TestEmptyRootFsDir(t *testing.T) {
`
{
"acKind": "ImageManifest",
"acVersion": "0.8.1",
"acVersion": "0.8.2",
"name": "example.com/test_empty_rootfs_pwl",
"pathWhitelist": ["foo"]
}
Expand Down
2 changes: 1 addition & 1 deletion schema/image_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ func TestEmptyApp(t *testing.T) {
imj := `
{
"acKind": "ImageManifest",
"acVersion": "0.8.1",
"acVersion": "0.8.2",
"name": "example.com/test"
}
`
Expand Down
6 changes: 3 additions & 3 deletions schema/lastditch/image_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func TestBogusImageManifest(t *testing.T) {
bogus := []string{`
{
"acKind": "Bogus",
"acVersion": "0.8.1",
"acVersion": "0.8.2",
}
`, `
<html>
Expand All @@ -101,7 +101,7 @@ func imgJ(name, labels, extra string) string {
{
%s
"acKind": "ImageManifest",
"acVersion": "0.8.1",
"acVersion": "0.8.2",
"name": "%s",
"labels": %s
}`, extra, name, labels)
Expand All @@ -110,7 +110,7 @@ func imgJ(name, labels, extra string) string {
// imgI returns an image manifest instance with given name and labels
func imgI(name string, labels Labels) ImageManifest {
return ImageManifest{
ACVersion: "0.8.1",
ACVersion: "0.8.2",
ACKind: "ImageManifest",
Name: name,
Labels: labels,
Expand Down
6 changes: 3 additions & 3 deletions schema/lastditch/pod_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func TestBogusPodManifest(t *testing.T) {
`
{
"acKind": "Bogus",
"acVersion": "0.8.1",
"acVersion": "0.8.2",
}
`,
`
Expand All @@ -134,15 +134,15 @@ func podJ(apps, extra string) string {
{
%s
"acKind": "PodManifest",
"acVersion": "0.8.1",
"acVersion": "0.8.2",
"apps": %s
}`, extra, apps)
}

// podI returns a pod manifest instance with given apps
func podI(apps AppList) PodManifest {
return PodManifest{
ACVersion: "0.8.1",
ACVersion: "0.8.2",
ACKind: "PodManifest",
Apps: apps,
}
Expand Down
2 changes: 1 addition & 1 deletion schema/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const (
// version represents the canonical version of the appc spec and tooling.
// For now, the schema and tooling is coupled with the spec itself, so
// this must be kept in sync with the VERSION file in the root of the repo.
version string = "0.8.1+git"
version string = "0.8.2+git"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion spec/aci.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ JSON Schema for the Image Manifest (app image manifest, ACI manifest), conformin
```json
{
"acKind": "ImageManifest",
"acVersion": "0.8.1",
"acVersion": "0.8.2",
"name": "example.com/reduce-worker",
"labels": [
{
Expand Down
2 changes: 1 addition & 1 deletion spec/pods.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ JSON Schema for the Pod Manifest, conforming to [RFC4627](https://tools.ietf.org

```json
{
"acVersion": "0.8.1",
"acVersion": "0.8.2",
"acKind": "PodManifest",
"apps": [
{
Expand Down

0 comments on commit e9daa59

Please sign in to comment.