-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove vendored CUE dependencies (#13)
Signed-off-by: Antoine THEBAUD <[email protected]>
- Loading branch information
1 parent
209baa2
commit f1c1243
Showing
59 changed files
with
109 additions
and
1,566 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,8 +45,30 @@ jobs: | |
- run: npm ci | ||
- run: npm run lint | ||
|
||
validate-cue: | ||
name: "Validate CUE schemas" | ||
get-schemas-deps: | ||
name: "Get dependencies for plugin schemas" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
- uses: perses/[email protected] | ||
- uses: ./.github/perses-ci/actions/setup_environment | ||
with: | ||
enable_go: true | ||
- uses: ./.github/perses-ci/actions/install_percli | ||
with: | ||
cli_version: "main-2024-11-13-e99df92a-distroless" # To replace by latest when `percli plugin update` command will be released | ||
- run: go run ./scripts/get-schemas-deps/get-schemas-deps.go | ||
- name: store plugin schema dependencies | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: plugins-schema-deps | ||
path: | | ||
*/cue.mod/pkg | ||
validate-schemas: | ||
name: "Validate plugin schemas" | ||
needs: "get-schemas-deps" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
|
@@ -55,11 +77,15 @@ jobs: | |
- uses: ./.github/perses-ci/actions/setup_environment | ||
with: | ||
enable_go: true | ||
- name: retrieve plugin schema dependencies | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: plugins-schema-deps | ||
- run: go run ./scripts/validate-schemas/validate-schemas.go | ||
|
||
release: | ||
name: "release" | ||
needs: "build" | ||
needs: ["build","validate-schemas"] | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
|
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
16 changes: 0 additions & 16 deletions
16
BarChart/cue.mod/pkg/github.com/perses/perses/cue/schemas/common/calculation.cue
This file was deleted.
Oops, something went wrong.
44 changes: 0 additions & 44 deletions
44
BarChart/cue.mod/pkg/github.com/perses/perses/cue/schemas/common/format.cue
This file was deleted.
Oops, something went wrong.
40 changes: 0 additions & 40 deletions
40
BarChart/cue.mod/pkg/github.com/perses/perses/cue/schemas/common/proxy/http.cue
This file was deleted.
Oops, something went wrong.
26 changes: 0 additions & 26 deletions
26
BarChart/cue.mod/pkg/github.com/perses/perses/cue/schemas/common/threshold.cue
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
BarChart/cue.mod/pkg/github.com/perses/perses/cue/schemas/common/url.cue
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
GaugeChart/cue.mod/pkg/github.com/perses/perses/cue/schemas/common/calculation.cue
This file was deleted.
Oops, something went wrong.
44 changes: 0 additions & 44 deletions
44
GaugeChart/cue.mod/pkg/github.com/perses/perses/cue/schemas/common/format.cue
This file was deleted.
Oops, something went wrong.
40 changes: 0 additions & 40 deletions
40
GaugeChart/cue.mod/pkg/github.com/perses/perses/cue/schemas/common/proxy/http.cue
This file was deleted.
Oops, something went wrong.
26 changes: 0 additions & 26 deletions
26
GaugeChart/cue.mod/pkg/github.com/perses/perses/cue/schemas/common/threshold.cue
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
GaugeChart/cue.mod/pkg/github.com/perses/perses/cue/schemas/common/url.cue
This file was deleted.
Oops, something went wrong.
16 changes: 0 additions & 16 deletions
16
MarkdownChart/cue.mod/pkg/github.com/perses/perses/cue/schemas/common/calculation.cue
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.