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

[changelog/Added] Make it possible to add custom validation commands #124

Merged
merged 3 commits into from Jan 30, 2020

Conversation

bkabrda
Copy link
Contributor

@bkabrda bkabrda commented Jan 30, 2020

What does this PR do?

Makes it possible to add custom spec validation commands in config.json that will be executed for each of the created full openapi spec files.

Description of the Change

Alternate Designs

Possible Drawbacks

Verification Process

Additional Notes

Release Notes

Review checklist (to be filled by reviewers)

  • Feature or bug fix MUST have appropriate tests (unit, integration, etc...)
  • PR title must be written as a CHANGELOG entry (see why)
  • Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
  • PR must have one changelog/ label attached. If applicable it should have the backward-incompatible label attached.
  • PR should not have do-not-merge/ label attached.
  • If Applicable, issue must have kind/ and severity/ labels attached at least.

@bkabrda bkabrda requested a review from a team as a code owner January 30, 2020 13:07
Comment on lines 424 to 427
print("exists")
with open("/proc/self/cgroup") as f:
for line in f.readlines():
print(line)
Copy link
Contributor

Choose a reason for hiding this comment

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

Are those two debug logs ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, forgot to remove these... good catch :)

Copy link
Contributor

@zippolyte zippolyte left a comment

Choose a reason for hiding this comment

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

Well, if you've tested locally, LGTM

@bkabrda
Copy link
Contributor Author

bkabrda commented Jan 30, 2020

I did. Thanks for the review, merging.

@bkabrda bkabrda merged commit dbf5ea2 into master Jan 30, 2020
@bkabrda bkabrda deleted the slavek.kabrda/validate-commands branch January 30, 2020 15:24
@bkabrda bkabrda added the changelog/Added Added features results into a minor version bump label Jan 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog/Added Added features results into a minor version bump
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants