-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:spectrocloud/librarium into docum…
…ent-oidc-options-for-spectro-vm-dashboard-pem-2283
- Loading branch information
Showing
263 changed files
with
52,458 additions
and
35,760 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,5 @@ README.md | |
CHANGES | ||
.gitignore | ||
.cache | ||
prow/ | ||
prow/ | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,10 +16,23 @@ jobs: | |
|| (github.event.action == 'closed') | ||
) | ||
steps: | ||
|
||
- name: Retrieve Credentials | ||
id: import-secrets | ||
uses: hashicorp/[email protected] | ||
with: | ||
url: https://vault.prism.spectrocloud.com | ||
method: approle | ||
roleId: ${{ secrets.VAULT_ROLE_ID }} | ||
secretId: ${{ secrets.VAULT_SECRET_ID }} | ||
secrets: /providers/github/organizations/spectrocloud/token?org_name=spectrocloud token | VAULT_GITHUB_TOKEN | ||
|
||
- name: Backport Action | ||
uses: sqren/backport-github-action@v8.9.3 | ||
uses: sqren/backport-github-action@v9.3.0-a | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
# We are using a PAT token through our Vault Operator to address the issue of PRs workflows not being triggered | ||
# Refer to issue https://github.com/sqren/backport-github-action/issues/79 for more details. | ||
github_token: ${{ steps.import-secrets.outputs.VAULT_GITHUB_TOKEN }} | ||
auto_backport_label_prefix: backport- | ||
add_original_reviewers: true | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,8 +3,10 @@ name: Version Branch Update | |
on: | ||
pull_request: | ||
branches: | ||
- 'backport/version-*' | ||
- 'version-[0-9]-[0-9]' | ||
types: [opened, synchronize, reopened] | ||
workflow_dispatch: | ||
|
||
|
||
|
||
concurrency: | ||
|
@@ -22,16 +24,21 @@ env: | |
ALGOLIA_ADMIN_KEY: ${{ secrets.ALGOLIA_ADMIN_KEY }} | ||
ALGOLIA_APP_ID: ${{ secrets.ALGOLIA_APP_ID }} | ||
ALGOLIA_SEARCH_KEY: ${{ secrets.ALGOLIA_SEARCH_KEY }} | ||
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | ||
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | ||
|
||
|
||
jobs: | ||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
runs-on: | ||
group: Default | ||
labels: docbot | ||
|
||
|
||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
|
||
|
||
|
||
|
@@ -41,10 +48,36 @@ jobs: | |
node-version: '18' | ||
cache: 'npm' | ||
|
||
|
||
- run: npm ci | ||
|
||
|
||
- name: Build | ||
- name: Post Netlify progress | ||
uses: mshick/add-pr-comment@v2 | ||
with: | ||
message: | | ||
🤖 Starting the Netlify preview build for commit ${{ github.sha }}. This may take a few minutes. | ||
refresh-message-position: true | ||
|
||
- name: Netlify Build | ||
run: | | ||
make build | ||
netlify build --context deploy-preview | ||
- name: Deploy to Netlify | ||
id: netlify | ||
uses: nwtgck/[email protected] | ||
with: | ||
publish-dir: ./build | ||
deploy-message: 'Manual Netlify deployment from GitHub Actions - ${{ github.sha }}' | ||
enable-pull-request-comment: true | ||
overwrites-pull-request-comment: true | ||
enable-commit-comment: true | ||
|
||
- name: Post Netlify URL | ||
uses: mshick/add-pr-comment@v2 | ||
with: | ||
message: | | ||
🚀 Netlify preview deployed succesfully for commit ${{ github.sha }}. Click [here](${{steps.netlify.outputs.deploy-url}}) to preview the changes. | ||
message-failure: | | ||
👎 Uh oh! The Netlify Preview failed to deploy for commit ${{ github.sha }}. Please check the Netlify logs for more information. | ||
refresh-message-position: true | ||
update-only: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
./scripts/check-branch.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.