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

Enable remote publishing #6097

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

iwahbe
Copy link
Member

@iwahbe iwahbe commented Nov 27, 2024

This PR adds a repository dispatch target to accept incoming docs PRs for providers without host repositories.

Unfortunately, I'm not able to test dispatch events without them being present on the default branch. For risk mitigation:

  • The edited file does not effect community providers at all.
  • There are minimal changes to the existing job.

Copy link

Your site preview for commit dd45c7c is ready! 🎉

http://registry--origin-pr-6097-dd45c7c6.s3-website.us-west-2.amazonaws.com/registry.

Copy link

Your site preview for commit 24cef21 is ready! 🎉

http://registry--origin-pr-6097-24cef219.s3-website.us-west-2.amazonaws.com/registry.

Copy link

Your site preview for commit b9e90cc is ready! 🎉

http://registry--origin-pr-6097-b9e90cc6.s3-website.us-west-2.amazonaws.com/registry.

Copy link
Contributor

@guineveresaenger guineveresaenger left a comment

Choose a reason for hiding this comment

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

let's try it out!

- name: Validate Inputs
run: |
if ![ "${{ env.PROVIDER_VERSION }} = "" ]; then echo "PROVIDER_VERSION is not respected; exit 1; fi
if ![ "${{ env.PROVIDER_SCHEMA_PATH }} = "" ]; then echo "PROVIDER_VERSION is not respected; exit 1; fi
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
if ![ "${{ env.PROVIDER_SCHEMA_PATH }} = "" ]; then echo "PROVIDER_VERSION is not respected; exit 1; fi
if ![ "${{ env.PROVIDER_SCHEMA_PATH }} = "" ]; then echo "PROVIDER_SCHEMA_PATH is not respected; exit 1; fi

Also I don't speak fluent bash but that doesn't look right to me with the placement of the quotes.

I also can't tell without context what are we asserting. If I ran into this error, I wouldn't know what do do next.

- resource-provider
# An update for a provider that is hosted opaquely.
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a new term - presumbably referring to third-party and dynamic providers? Could we make this clear?

Or just say "hosted elsewhere".

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