Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

embed schema.json using go 1.16 support for static resources #105

Merged
merged 1 commit into from
Feb 17, 2021

Conversation

ndeloof
Copy link
Collaborator

@ndeloof ndeloof commented Feb 17, 2021

The embed package add support for embedding static resources without relying on code generation
https://golang.org/pkg/embed/

@ndeloof ndeloof force-pushed the embed branch 5 times, most recently from 8f26ce7 to 4921014 Compare February 17, 2021 13:26
@ndeloof ndeloof requested a review from chris-crone February 17, 2021 13:28
@@ -16,13 +16,13 @@ jobs:
test:
strategy:
matrix:
go-version: [1.13.x, 1.14.x]
go-version: [1.16.0]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should make this float with patch releases.

Suggested change
go-version: [1.16.0]
go-version: [1.16.x]

@@ -87,7 +87,7 @@
"dockerfile": {"type": "string"},
"args": {"$ref": "#/definitions/list_or_dict"},
"labels": {"$ref": "#/definitions/list_or_dict"},
"cache_from": {"$ref": "#/definitions/list_of_strings"},
"cache_from": {"type": "array", "items": {"type": "string"}},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Were the changes to the schema intentional?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I used the latest from compose-spec repo

Copy link
Contributor

@chris-crone chris-crone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with CI fix

@ndeloof ndeloof merged commit 9f2c61f into compose-spec:master Feb 17, 2021
@ndeloof ndeloof deleted the embed branch February 17, 2021 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants