Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
112 changes: 0 additions & 112 deletions .eslintrc.js

This file was deleted.

2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ blank_issues_enabled: false
contact_links:
- name: Bug Report or Feature Request
url: https://github.com/perses/perses/issues
about: Please open all issues in the perses/perses repository.
about: Please open all issues in the perses/perses repository.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/other.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: Other
description: Other kind of issue.
labels: [ "bug" ]
labels: ['bug']
body:
- type: markdown
attributes:
Expand All @@ -11,4 +11,4 @@ body:
Even if it concerns a specific plugin, if your issue is a feature request or bug report please create it in the [perses/perses](https://github.com/perses/perses/issues) repository instead.
- type: textarea
attributes:
label: Description
label: Description
24 changes: 12 additions & 12 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
version: 2
updates:
- package-ecosystem: "gomod"
- package-ecosystem: 'gomod'
directories:
- "**/*"
- '**/*'
open-pull-requests-limit: 10
schedule:
interval: "weekly"
interval: 'weekly'
groups:
gomod:
patterns:
- "*"
- package-ecosystem: "github-actions"
directory: "/"
- '*'
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: "weekly"
interval: 'weekly'
groups:
actions:
patterns:
- "*"
- package-ecosystem: "docker"
- '*'
- package-ecosystem: 'docker'
directories:
- "/"
- '/'
schedule:
interval: "weekly"
interval: 'weekly'
groups:
docker:
patterns:
- "*"
- '*'
44 changes: 22 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
build:
name: "build"
name: 'build'
runs-on: ubuntu-latest
steps:
- name: checkout
Expand All @@ -22,11 +22,11 @@ jobs:
enable_npm: true
enable_go: true
enable_cue: true
cue_version: "v0.15.1"
cue_version: 'v0.15.1'
- name: install percli
uses: perses/cli-actions/actions/install_percli@v0.2.1
with:
cli-version: "v0.53.0-rc.0"
cli-version: 'v0.53.0-rc.0'
- name: cache cue deps
uses: actions/cache@v5
with:
Expand All @@ -52,7 +52,7 @@ jobs:
!node_modules

lint-npm:
name: "lint-npm"
name: 'lint-npm'
runs-on: ubuntu-latest
steps:
- name: checkout
Expand All @@ -63,8 +63,9 @@ jobs:
enable_npm: true
- run: npm ci
- run: npm run lint
- run: npm run format:check
test-npm:
name: "test-npm"
name: 'test-npm'
runs-on: ubuntu-latest
steps:
- name: checkout
Expand All @@ -77,7 +78,7 @@ jobs:
- run: npm run test

e2e:
name: "e2e tests"
name: 'e2e tests'
needs: build # <--- CRITICAL: Wait for build to finish. PERSES_PLUGIN_ARCHIVE_PATHS accepts archive files only
runs-on: ubuntu-latest
steps:
Expand All @@ -97,23 +98,22 @@ jobs:
- name: start dev env
uses: hoverkraft-tech/compose-action@v3.0.0
with:
compose-file: .github/dev/docker-compose.ci.yml
compose-file: .github/dev/docker-compose.ci.yml
- uses: perses/github-actions@v0.12.0
- uses: ./.github/perses-ci/actions/setup_environment
with:
enable_npm: true
nvmrc_path: ".nvmrc"
nvmrc_path: '.nvmrc'
- name: install dependencies
run: npm ci
- name: install Playwright browsers
run: npx playwright install --with-deps
working-directory: e2e
- name: run e2e tests
run: npm run test:ci --prefix e2e -- src/tests


type-check:
name: "type-check"
name: 'type-check'
runs-on: ubuntu-latest
steps:
- name: checkout
Expand All @@ -124,9 +124,9 @@ jobs:
enable_npm: true
- run: npm ci
- run: npm run type-check

checkformat-cue:
name: "Check CUE files format"
name: 'Check CUE files format'
runs-on: ubuntu-latest
steps:
- name: checkout
Expand All @@ -136,11 +136,11 @@ jobs:
with:
enable_go: true
enable_cue: true
cue_version: "v0.15.1"
cue_version: 'v0.15.1'
- run: make checkformat-cue

validate-schemas:
name: "Validate plugin schemas"
name: 'Validate plugin schemas'
runs-on: ubuntu-latest
steps:
- name: checkout
Expand All @@ -150,11 +150,11 @@ jobs:
with:
enable_go: true
enable_cue: true
cue_version: "v0.15.1"
cue_version: 'v0.15.1'
- name: Install percli
uses: perses/cli-actions/actions/install_percli@v0.2.1
with:
cli-version: "v0.53.0-rc.0"
cli-version: 'v0.53.0-rc.0'
- uses: actions/cache@v5
id: cache
with:
Expand All @@ -166,7 +166,7 @@ jobs:
- run: make test-schemas-plugins

module-check:
name: "Check plugin modules"
name: 'Check plugin modules'
runs-on: ubuntu-latest
steps:
- name: checkout
Expand All @@ -176,7 +176,7 @@ jobs:
with:
enable_go: true
enable_cue: true
cue_version: "v0.15.1"
cue_version: 'v0.15.1'
- uses: actions/cache@v5
id: cache
with:
Expand All @@ -190,8 +190,8 @@ jobs:
run: git diff --exit-code -- */cue.mod

release:
name: "release"
needs: "build"
name: 'release'
needs: 'build'
runs-on: ubuntu-latest
permissions:
contents: write
Expand All @@ -207,8 +207,8 @@ jobs:
enable_npm: true
enable_go: true
enable_cue: true
cue_version: "v0.15.1"
nvmrc_path: "./.nvmrc"
cue_version: 'v0.15.1'
nvmrc_path: './.nvmrc'
- name: Download archive
uses: actions/download-artifact@v8
with:
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:

jobs:
docs-fmt:
name: "Check docs format"
name: 'Check docs format'
runs-on: ubuntu-latest
steps:
- name: checkout
Expand All @@ -25,5 +25,3 @@ jobs:
run: go install github.com/bwplotka/mdox@latest
- name: check docs
run: make checkdocs


6 changes: 3 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ concurrency:

jobs:
test-go:
name: "test-go"
name: 'test-go'
runs-on: ubuntu-latest
steps:
- name: checkout
Expand All @@ -22,7 +22,7 @@ jobs:
with:
enable_go: true
enable_cue: true # needed for DaC CLI commands unit tests
cue_version: "v0.14.0"
cue_version: 'v0.14.0'
- name: test
run: make test
golangci:
Expand All @@ -44,7 +44,7 @@ jobs:
version: v2.12.2
- run: make golangci-lint
checklicense:
name: "check license headers"
name: 'check license headers'
runs-on: ubuntu-latest
steps:
- name: checkout
Expand Down
2 changes: 1 addition & 1 deletion .mdox.validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ validators:
type: 'ignore'
# getting 403 forbidden in the CI
- regex: 'npmjs\.com'
type: 'ignore'
type: 'ignore'
Loading
Loading