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

Sending HTTP get request to doc.crds.dev to index new version #868

Merged
merged 1 commit into from
Apr 1, 2022

Conversation

jkremser
Copy link
Member

@jkremser jkremser commented Apr 1, 2022

Fix #765

Piggy-backing on the changelog_pr action because creating a standalone workflow just for this would be over-kill (we have already 17 yamls there and it's hard to find and match things in there).

When this action runs the tag should be already created (it runs after the draft release is pronounced as published)

the response from the "curl-grep" will look like this:

curl -sL https://doc.crds.dev/github.com/k8gb-io/k8gb@v0.9.5 | grep -A2 'class="container"'
    <div class="container">
        <h2>Oops! Looks like we haven't indexed this version of this repo yet. We are working on that now...</h2>
    </div>

or this (when it has already been done, perhaps re-running the action or doing it manually)

curl -sL https://doc.crds.dev/github.com/k8gb-io/k8gb@v0.9.0 | grep -A2 'class="container"'
    <div class="container">
        <div class="content">
            <h1><a href="/github.com/k8gb-io/k8gb@v0.9.0">k8gb-io/k8gb@v0.9.0</a></h1>

Signed-off-by: Jirka Kremser jiri.kremser@gmail.com

Signed-off-by: Jirka Kremser <jiri.kremser@gmail.com>
@jkremser jkremser merged commit 4944467 into k8gb-io:master Apr 1, 2022
@jkremser jkremser deleted the issue-765-index-crds branch April 1, 2022 16:20
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.

Update doc.crds.dev in release pipeline
4 participants