-
Notifications
You must be signed in to change notification settings - Fork 613
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' into fix-sortby-arrow-error
Signed-off-by: Vivek Vishal <[email protected]>
- Loading branch information
Showing
7,097 changed files
with
97,785 additions
and
12,905 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ jobs: | |
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.21' | ||
go-version: '1.23' | ||
|
||
- name: Set env | ||
run: | | ||
|
@@ -76,10 +76,10 @@ jobs: | |
compatibility="" | ||
echo "contentID=$designId" >> $GITHUB_OUTPUT | ||
# check if directory doesn't exists; then create it | ||
if [ ! -d "./collections/_catalog/"$(echo $filterType | tr '[:upper:]' '[:lower:]')"" ]; then | ||
if [ ! -d "./collections/_filters/"$(echo $filterType | tr '[:upper:]' '[:lower:]')"" ]; then | ||
echo "$(echo $filterType | tr '[:upper:]' '[:lower:]') doesn't exist." | ||
echo "Creating directory...$(echo $filterType | tr '[:upper:]' '[:lower:]')" | ||
mkdir "./collections/_catalog/"$(echo $filterType | tr '[:upper:]' '[:lower:]')"" | ||
mkdir "./collections/_filters/"$(echo $filterType | tr '[:upper:]' '[:lower:]')"" | ||
fi | ||
if [[ $filterInfo == "null" ]]; then | ||
|
@@ -135,7 +135,7 @@ jobs: | |
$filterCaveats | ||
URL: 'https://raw.githubusercontent.com/meshery/meshery.io/master/$MESHERY_CATALOG_FILES_DIR/$filterId.yaml' | ||
downloadLink: $filterId.yaml | ||
---" > ./collections/_catalog/"$(echo $filterType | tr '[:upper:]' '[:lower:]')"/$filterId.md | ||
---" > ./collections/_filters/"$(echo $filterType | tr '[:upper:]' '[:lower:]')"/$filterId.md | ||
done | ||
rm temp.json | ||
|
@@ -158,7 +158,6 @@ jobs: | |
repository: ./meshery | ||
commit_user_name: l5io | ||
commit_user_email: [email protected] | ||
commit_author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> | ||
commit_options: "--signoff" | ||
commit_message: "[Docs] Update _catalog collection" | ||
branch: master | ||
|
@@ -174,7 +173,6 @@ jobs: | |
repository: ./meshery.io | ||
commit_user_name: l5io | ||
commit_user_email: [email protected] | ||
commit_author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> | ||
commit_options: '--signoff' | ||
commit_message: '[Catalog] Update Catalog items' | ||
branch: master | ||
|
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,65 @@ | ||
name: Error Codes Utility Runner | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- "master" | ||
paths: | ||
- "assets/artifact-hub-pkg/**.go" | ||
|
||
jobs: | ||
Update-error-codes: | ||
name: Error codes utility | ||
if: github.repository == 'meshery/meshery.io' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
with: | ||
token: ${{ secrets.GH_ACCESS_TOKEN }} | ||
ref: "master" | ||
|
||
- name: Setup Go | ||
uses: actions/setup-go@master | ||
with: | ||
go-version: "1.23" | ||
|
||
- name: Run utility | ||
run: | | ||
go run github.com/layer5io/meshkit/cmd/errorutil -d ./assets/artifact-hub-pkg update -i ./assets/artifact-hub-pkg -o ./assets/artifact-hub-pkg | ||
- name: Pull changes from remote | ||
run: git pull origin master | ||
|
||
- name: Commit changes to meshery.io | ||
uses: stefanzweifel/git-auto-commit-action@v4 | ||
with: | ||
commit_user_name: l5io | ||
commit_user_email: [email protected] | ||
commit_author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> | ||
commit_options: "--signoff" | ||
commit_message: "run error codes utility for artifact-hub-pkg" | ||
file_pattern: assets/artifact-hub-pkg/**.go assets/artifact-hub-pkg/component_info.json | ||
|
||
- name: Checkout meshery | ||
uses: actions/checkout@master | ||
with: | ||
repository: "meshery/meshery" | ||
token: ${{ secrets.GH_ACCESS_TOKEN }} | ||
path: "meshery" | ||
ref: "master" | ||
|
||
- name: Update and push docs | ||
run: | | ||
echo '{ "errors_export": "" }' | jq --slurpfile export ./assets/artifact-hub-pkg/errorutil_errors_export.json '.errors_export = $export[0]' > ./meshery/docs/_data/errorref/artifact-hub-pkg_errors_export.json | ||
cd ./meshery | ||
git config user.name l5io | ||
git config user.email [email protected] | ||
if git diff --exit-code --quiet | ||
then | ||
echo "No changes to commit" | ||
exit | ||
fi | ||
git add ./docs/_data/errorref/artifact-hub-pkg_errors_export.json | ||
git commit -m "[Docs] Error Code Reference: Updated codes for Artifact Hub Package" --signoff | ||
git push origin master |
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 |
---|---|---|
|
@@ -36,7 +36,7 @@ permissions: | |
|
||
jobs: | ||
KanvasScreenshot: | ||
runs-on: ubuntu-latest | ||
runs-on: ubuntu-24.04 | ||
outputs: | ||
resource_url: ${{ steps.test_result.outputs.resource_url }} | ||
steps: | ||
|
@@ -54,7 +54,7 @@ jobs: | |
echo ${{ inputs.assetLocation }} | ||
shell: bash | ||
- id: test_result | ||
uses: layer5labs/[email protected].19 | ||
uses: layer5labs/[email protected].20 | ||
with: | ||
githubToken: ${{ secrets.GITHUB_TOKEN }} # github's personal access token example: "ghp_...." | ||
mesheryToken: ${{ secrets.MESHERY_TOKEN }} # Meshery Cloud Authentication token, signin to meshery-cloud to get one, example: ey..... | ||
|
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 |
---|---|---|
|
@@ -191,5 +191,8 @@ DEPENDENCIES | |
tzinfo-data | ||
wdm (>= 0.1.0) | ||
|
||
RUBY VERSION | ||
ruby 3.2.2p53 | ||
|
||
BUNDLED WITH | ||
2.6.0 |
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Oops, something went wrong.