[stable/zed] Implement tooling to sync Helm charts (#1108)
Pin chart requirements
Refactor godaddy-webhook chart name
Sync Neutron with Gerrit #914886
Drop language changes in tox.ini
Pin all charts with a simplified tool
Add linter job to make sure charts are synced
diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml
index 31fcd3e..c78e4f1 100644
--- a/zuul.d/jobs.yaml
+++ b/zuul.d/jobs.yaml
@@ -13,6 +13,11 @@
# under the License.
- job:
+ name: atmosphere-linters
+ parent: tox-linters
+ pre-run: zuul.d/playbooks/linters/pre.yml
+
+- job:
name: atmosphere-build-collection
pre-run: zuul.d/playbooks/build-collection/pre.yml
run: zuul.d/playbooks/build-collection/run.yml
diff --git a/zuul.d/playbooks/linters/pre.yml b/zuul.d/playbooks/linters/pre.yml
new file mode 100644
index 0000000..bb40794
--- /dev/null
+++ b/zuul.d/playbooks/linters/pre.yml
@@ -0,0 +1,24 @@
+# Copyright (c) 2024 VEXXHOST, Inc.
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
+- hosts: all
+ roles:
+ - role: ensure-helm
+ helm_version: 3.13.3
+ tasks:
+ - name: Install patchutils
+ become: true
+ ansible.builtin.package:
+ name: patchutils
+ state: present
diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml
index 7089996..a0206ea 100644
--- a/zuul.d/project.yaml
+++ b/zuul.d/project.yaml
@@ -16,6 +16,7 @@
merge-mode: squash-merge
check:
jobs:
+ - atmosphere-linters
- atmosphere-build-collection
- atmosphere-molecule-aio-keycloak:
dependencies: &molecule_check_dependencies
@@ -79,6 +80,7 @@
dependencies: *molecule_check_dependencies
gate:
jobs:
+ - atmosphere-linters
- atmosphere-build-collection
- atmosphere-molecule-aio-keycloak:
dependencies: &molecule_gate_dependencies