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

Fix Prometheus source JSON schema and generated resources CI job #952

Merged
merged 2 commits into from
Jan 25, 2023

Conversation

pkosiec
Copy link
Member

@pkosiec pkosiec commented Jan 24, 2023

Description

Changes proposed in this pull request:

  • Fix Prometheus source JSON schema
  • Fix check-generated-resources job. Changes will be applied after merge.

Testing

Checkout this PR and run:

PLUGIN_DOWNLOAD_URL_BASE_PATH="http://localhost:8080/plugin-dist" make gen-plugins-index

Then verify the output index file to see if the schema is valid. You can use https://www.jsonschemavalidator.net/ to validate both previous and current (from this PR) schemas.

@pkosiec pkosiec added the bug Something isn't working label Jan 24, 2023
@pkosiec pkosiec added this to the v0.18.0 milestone Jan 24, 2023
@pkosiec pkosiec force-pushed the fix-prometheus-schema branch 2 times, most recently from 4e88902 to f628d10 Compare January 24, 2023 14:48
@pkosiec
Copy link
Member Author

pkosiec commented Jan 24, 2023

I'm not sure why I'm getting error https://github.com/kubeshop/botkube/actions/runs/3997391552/jobs/6858659306 if I already updated the files. And why I didn't get such error earlier when I updated gRPC API? Is it because this is pull_request_target? 🤔

Oh right...

  check-generated-resources:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3
        with:
          fetch-depth: 0

Will fix that here as well.

@pkosiec pkosiec marked this pull request as ready for review January 24, 2023 15:00
@pkosiec pkosiec requested review from a team and PrasadG193 as code owners January 24, 2023 15:00
@pkosiec pkosiec requested review from josefkarasek and mszostok and removed request for josefkarasek January 24, 2023 15:00
@pkosiec pkosiec changed the title Fix Prometheus source JSON schema Fix Prometheus source JSON schema and generated resources CI job Jan 25, 2023
@pkosiec pkosiec merged commit 237e672 into kubeshop:main Jan 25, 2023
@pkosiec pkosiec deleted the fix-prometheus-schema branch January 25, 2023 09:46
mszostok pushed a commit to mszostok/botkube that referenced this pull request Jan 25, 2023
…eshop#952)

* Fix Prometheus source JSON schema
* Fix `check-generated-resources` job
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants