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

Fixes staging-docs #4070

Merged
merged 2 commits into from
Oct 9, 2023
Merged

Fixes staging-docs #4070

merged 2 commits into from
Oct 9, 2023

Conversation

foot
Copy link
Contributor

@foot foot commented Oct 9, 2023

  • var interpolation wasn't working with single quotes
  • also introduce env var into docusaurus so you can optionally disable versioning (DISABLE_VERSIONING=true yarn build to dramatically speed up builds when testing things..)

What changed?

Some of the github action code, switch from single '' to double "" quoted strings so we can do the var interpolation

Switch to env vars which relied on the variable expansion made in #4046

Why was this change made?

So staging docs works

How was this change implemented?

  • Use heredoc for JSON payloads.. seems to work okay and avoids having to escape all the double quoted key names in JSON..

How did you validate the change?

Checked that the staging docs now works

- var interpolation wasn't working with single quotes
- also introduce change to skip versioning on PRs which makes the build
  much faster
@foot foot requested a review from yiannistri October 9, 2023 07:27
@foot foot marked this pull request as ready for review October 9, 2023 07:36
Copy link
Contributor

@yiannistri yiannistri left a comment

Choose a reason for hiding this comment

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

Well spotted 👍

@foot foot merged commit 8bdfe76 into main Oct 9, 2023
25 checks passed
@foot foot deleted the fix-staging-docs branch October 9, 2023 08:02
AsmaaNabilBakr pushed a commit that referenced this pull request Oct 10, 2023
* Fixes staging-docs

- var interpolation wasn't working with single quotes
- also introduce change to skip versioning on PRs which makes the build
  much faster

* Don't disable versioning on PRs
AsmaaNabilBakr added a commit that referenced this pull request Oct 26, 2023
* Fixes staging-docs (#4070)

* Fixes staging-docs

- var interpolation wasn't working with single quotes
- also introduce change to skip versioning on PRs which makes the build
  much faster

* Don't disable versioning on PRs

* add notifications

* Update javascript library version to 0.34.0

* Update helm chart to 4.0.32 to use gitops 0.34.0

* Update the helm reference

* Update docs for release 0.34.0

* Update README to point download link to 0.34.0

* Remove test-connection.yaml

* replace notiication context with props from EE

* fix notifications

* using AlertListErrors in Page

* fix alert message padding

---------

Co-authored-by: Simon <[email protected]>
Co-authored-by: weave-gitops-bot <[email protected]>
Co-authored-by: Lauri <[email protected]>
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