Skip to content

Commit

Permalink
Use new chart-vendor
Browse files Browse the repository at this point in the history
  • Loading branch information
mnaser committed Oct 3, 2024
1 parent 13a0f31 commit 2bd629d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 36 deletions.
9 changes: 0 additions & 9 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,9 @@ commands =
commands =
pytest magnum_cluster_api/tests/functional/

[testenv:sync-charts]
skipsdist = True
deps =
chart-vendor
commands =
chart-vendor --charts-root magnum_cluster_api/charts

[testenv:linters]
skipsdist = True
deps =
{[testenv:sync-charts]deps}
pre-commit
commands =
pre-commit run --all-files --show-diff-on-failure
chart-vendor --check --charts-root magnum_cluster_api/charts
9 changes: 6 additions & 3 deletions zuul.d/jobs.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
- job:
name: magnum-cluster-api-chart-vendor
parent: chart-vendor
vars:
chart_vendor_charts_root: "magnum_cluster_api/charts"

- job:
name: magnum-cluster-api-linters
parent: tox-linters
pre-run: zuul.d/playbooks/linters/pre.yml
required-projects:
- name: vexxhost/chart-vendor

- job:
name: magnum-cluster-api-unit
Expand Down
24 changes: 0 additions & 24 deletions zuul.d/playbooks/linters/pre.yml

This file was deleted.

1 change: 1 addition & 0 deletions zuul.d/project.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
- project:
check:
jobs:
- magnum-cluster-api-chart-vendor
- magnum-cluster-api-linters
- magnum-cluster-api-unit
- magnum-cluster-api-functional
Expand Down

0 comments on commit 2bd629d

Please sign in to comment.