Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: layer5io/sistent
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.14.68
Choose a base ref
...
head repository: layer5io/sistent
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: refs/heads/master
Choose a head ref
Loading
Showing 323 changed files with 21,971 additions and 13,051 deletions.
7 changes: 2 additions & 5 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: 🐛 General Bug Report
about: Report an issue to help improve the project.
title: ''
title: '[Bug]'
labels: 'kind/bug'
assignees: ''
---
@@ -20,10 +20,7 @@ assignees: ''

#### Environment

- **Host OS:** Mac Linux Windows
- **Platform:** Docker or Kubernetes
- **Meshery Server Version:** stable-v
- **Meshery Client Version:** stable-v
<!-- Please mention the environment where you encountered the issue (e.g., browser, OS, etc.). -->

<!-- Optional
#### To Reproduce
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: 💡 Feature Request
about: Suggest an enhancement to Meshery.
title: ''
about: Suggest a new idea for Sistent.
title: '[Feature]'
labels: 'kind/enhancement'
assignees: ''
---
179 changes: 179 additions & 0 deletions .github/workflows/bump-meshery-version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,179 @@
name: Bump Meshery, Meshery Extensions and Meshery Cloud

on:
workflow_run:
workflows: [Publish Node.js Package]
types:
- completed

jobs:
versions-check:
runs-on: ubuntu-latest
outputs:
current: ${{ steps.current.outputs.VERSION }}
steps:
- name: Download Version
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
with:
name: version-number
github-token: ${{ secrets.GH_ACCESS_TOKEN }}
run-id: ${{ github.event.workflow_run.id }}
- name: Retrieve Version
run: |
echo "VERSION=$(cat ./number)" >> $GITHUB_OUTPUT
id: current
bump-meshery:
runs-on: ubuntu-latest
needs: versions-check
steps:
- name: Checkout Meshery code
uses: actions/checkout@v4
with:
repository: meshery/meshery
fetch-depth: 1
token: ${{ secrets.RELEASEDRAFTER_PAT }}
- uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: "npm"
cache-dependency-path: '**/package-lock.json'
- name: Make changes to pull request
working-directory: ui
run: npm install @layer5/sistent@${{needs.versions-check.outputs.current}}
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.RELEASEDRAFTER_PAT }}
commit-message: Bump sistent v${{ needs.versions-check.outputs.current }} dependencies
committer: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
signoff: true
branch: bump-sistent-bot
delete-branch: true
title: '[Chore]: Bump Sistent v${{ needs.versions-check.outputs.current }}'
add-paths: |
ui/package.json
ui/package-lock.json
body: |
Update to Sistent v${{ needs.versions-check.outputs.current }}
_This pull request has been auto-generated by [l5io](http://github.com/l5io)_
assignees: l5io
draft: false
bump-meshery-extensions:
runs-on: ubuntu-latest
needs: versions-check
steps:
- name: Checkout Meshery Extensions code
uses: actions/checkout@v4
with:
repository: layer5labs/meshery-extensions
fetch-depth: 1
token: ${{ secrets.RELEASEDRAFTER_PAT }}
- uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: "npm"
cache-dependency-path: '**/package-lock.json'
- name: Make changes to pull request
working-directory: meshmap
run: npm install @layer5/sistent@${{needs.versions-check.outputs.current}}
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.RELEASEDRAFTER_PAT }}
commit-message: Bump sistent v${{ needs.versions-check.outputs.current }} dependencies
committer: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
signoff: true
branch: bump-sistent-bot
delete-branch: true
title: '[Chore]: Bump Sistent v${{needs.versions-check.outputs.current }}'
add-paths: |
meshmap/package.json
meshmap/package-lock.json
body: |
Update to Sistent v${{ needs.versions-check.outputs.current }}
_This pull request has been auto-generated by [l5io](http://github.com/l5io)_
assignees: l5io
draft: false
bump-layer5:
runs-on: ubuntu-latest
needs: versions-check
steps:
- name: Checkout Layer5 code
uses: actions/checkout@v4
with:
repository: layer5io/layer5
fetch-depth: 1
token: ${{ secrets.RELEASEDRAFTER_PAT }}
- uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: "npm"
cache-dependency-path: '**/package-lock.json'
- name: Make changes to pull request
run: npm install @layer5/sistent@${{needs.versions-check.outputs.current}} --legacy-peer-deps
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.RELEASEDRAFTER_PAT }}
commit-message: Bump sistent v${{ needs.versions-check.outputs.current }} dependencies
committer: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
signoff: true
branch: bump-sistent-bot
delete-branch: true
title: '[Chore]: Bump Sistent v${{ needs.versions-check.outputs.current }}'
add-paths: |
package.json
package-lock.json
body: |
Update to Sistent v${{ needs.versions-check.outputs.current }}
_This pull request has been auto-generated by [l5io](http://github.com/l5io)_
assignees: l5io
draft: false
bump-meshery-cloud:
runs-on: ubuntu-latest
needs: versions-check
steps:
- name: Checkout Meshery Extensions code
uses: actions/checkout@v4
with:
repository: layer5io/meshery-cloud
fetch-depth: 1
token: ${{ secrets.RELEASEDRAFTER_PAT }}
- uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: "npm"
cache-dependency-path: '**/package-lock.json'
- name: Make changes to pull request
working-directory: ui
run: npm install @layer5/sistent@${{needs.versions-check.outputs.current}}
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.RELEASEDRAFTER_PAT }}
commit-message: Bump sistent v${{ needs.versions-check.outputs.current }} dependencies
committer: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
signoff: true
branch: bump-sistent-bot
delete-branch: true
title: '[Chore]: Bump Sistent v${{ needs.versions-check.outputs.current }}'
add-paths: |
ui/package.json
ui/package-lock.json
body: |
Update to Sistent v${{ needs.versions-check.outputs.current }}
_This pull request has been auto-generated by [l5io](http://github.com/l5io)_
assignees: l5io
draft: false
35 changes: 0 additions & 35 deletions .github/workflows/checks.yml

This file was deleted.

34 changes: 0 additions & 34 deletions .github/workflows/lint.yml

This file was deleted.

44 changes: 44 additions & 0 deletions .github/workflows/node-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Node version and Lint Check
on:
pull_request:
types: [opened, synchronize]
push:
branches:
- '*'
paths-ignore:
- 'system/**/*'
- '.github/**/*'
- '*.md'

jobs:
compatibility-check:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16, 18, 20]
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: Install Dependencies
run: npm install

- name: Lint Check
run: npm run lint

- name: Prettier Check
run: npm run format:check

- name: Build Project
run: npm run build

- name: Run Tests
run: npm run test

- name: Log Node.js Version
run: echo "Tested on Node.js version ${{ matrix.node-version }}"
2 changes: 1 addition & 1 deletion .github/workflows/preview-site.yml
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@v2.3.1

- name: Download Site dir
uses: dawidd6/action-download-artifact@v2
uses: dawidd6/action-download-artifact@v6
with:
github_token: ${{ secrets.GH_ACCESS_TOKEN }}
workflow: build-and-preview-site.yml
35 changes: 29 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ on:
types: [published]
env:
HUSKY: 0

jobs:
build:
runs-on: ubuntu-latest
@@ -17,9 +17,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 18
- run: |
npm install
node-version: '20.x'

publish-gpr:
needs: build
@@ -37,12 +35,37 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 18
node-version: '20.x'
registry-url: "https://registry.npmjs.org"
scope: "@layer5"
- run: |
npm install
npm run build
npm publish --verbose
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
versions-check:
needs: publish-gpr
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v7
id: versions
with:
result-encoding: string
script: |
let str = `${{github.event.release.tag_name}}`
return str.replace(/^v/, '')
- name: Save Release number
if: ${{ !cancelled() }}
run: |
mkdir -p ./version
echo ${{ steps.versions.outputs.result }} > ./version/number
- name: Upload Version Report
if: ${{ !cancelled() }}
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
with:
name: version-number
path: |
version/number
retention-days: 14
Loading