diff options
author | Austin S. Hemmelgarn <austin@netdata.cloud> | 2023-06-28 16:21:24 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-28 23:21:24 +0300 |
commit | 265fac6cbb5a26d777ba7a1214df6ca9f9c54139 (patch) | |
tree | e222922b838f79f318824ecf55511bf7d2b757b7 /.github | |
parent | b52a989497f68cddeeb0282f5fd650c4e373e477 (diff) |
Agent dashboard reorganization. (#15200)
* Add v0 copy of legacy dashboard.
* Update dashboard bundling script and remove old copy of single-node dashboard.
* Add updated single-node dashboard to v1 path.
* Add dummy `switch.html` page.
* Add v2 dashboard.
* Exclude v2 dashboard from eslint checking.
* Update to latest v2 dashboard.
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/dashboard-pr.yml | 2 | ||||
-rw-r--r-- | .github/workflows/review.yml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/dashboard-pr.yml b/.github/workflows/dashboard-pr.yml index c7d14c486a..ac414da109 100644 --- a/.github/workflows/dashboard-pr.yml +++ b/.github/workflows/dashboard-pr.yml @@ -25,7 +25,7 @@ jobs: - name: Update Files id: update run: | - web/gui/bundle_dashboard.py ${{ github.event.inputs.dashboard_version }} + web/gui/bundle_dashboard_v1.py ${{ github.event.inputs.dashboard_version }} - name: Create Pull Request id: pr uses: peter-evans/create-pull-request@v5 diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml index 5756e4b214..0b7bfdf8df 100644 --- a/.github/workflows/review.yml +++ b/.github/workflows/review.yml @@ -54,7 +54,7 @@ jobs: run: | if [ "${{ contains(github.event.pull_request.labels.*.name, 'run-ci/eslint') }}" = "true" ]; then echo "run=true" >> "${GITHUB_OUTPUT}" - elif git diff --name-only origin/${{ github.base_ref }} HEAD | grep -v "web/gui/dashboard" | grep -Eq '.*\.js|node\.d\.plugin\.in' ; then + elif git diff --name-only origin/${{ github.base_ref }} HEAD | grep -v "web/gui/v1" | grep -v "web/gui/v2" | grep -Eq '.*\.js|node\.d\.plugin\.in' ; then echo "run=true" >> "${GITHUB_OUTPUT}" echo 'JS files have changed, need to run ESLint.' else |