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

Update ci config #334

Merged
merged 3 commits into from
Oct 31, 2018
Merged

Update ci config #334

merged 3 commits into from
Oct 31, 2018

Conversation

jbants
Copy link
Collaborator

@jbants jbants commented Oct 29, 2018

This PR updates the circleci config to use the python stac_validator.

This starts to work on #199 as it supports pulling in remote references and can be used locally to validate a STAC. The validator only validates against stac_spec release versions (github tags) right now. An issue has been created to support validating against stac_spec branches and local schemas as well. This would support different CI configurations.

@m-mohr
Copy link
Collaborator

m-mohr commented Oct 29, 2018

Thanks! I have a question: You said, it "only validates against stac_spec release versions (github tags) right now". So if we merge that to dev and want to make a PR that changes JSON schemas and examples, wouldn't this fail in the CI and thus block us from changing anything in JSON schemas in dev at all?

@jbants
Copy link
Collaborator Author

jbants commented Oct 29, 2018

You are correct, It would currently fail on new schema changes to dev. Since there won't be (I don't think) any breaking changes between the json schemas from rc2, I didn't want to hold up the release of 0.6.0.
I'm away at a conference for the beginning of this week, but will add the ability to define local schemas when i'm back.

@matthewhanson
Copy link
Collaborator

This looks good to me for now, since as @jbants points out it will only fail on schema changes.

Copy link
Contributor

@cholmes cholmes left a comment

Choose a reason for hiding this comment

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

Looks good to merge, but yes, would be good to get it validating on the latest instead of on tags for when we start changing the schema on dev.

@matthewhanson matthewhanson merged commit 1802c54 into radiantearth:dev Oct 31, 2018
@jbants jbants deleted the ci branch May 11, 2021 15:16
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.

4 participants