Move some jobs to zuul-jobs

It moves jobs which do not require secrets.

Change-Id: I61e1a136aea426cc0a4408612589038138f9dd7b
This commit is contained in:
Radosław Piliszek 2023-06-05 07:49:12 +02:00
parent 8c64919b8e
commit cfe480d926
8 changed files with 0 additions and 51 deletions

View File

@ -5,8 +5,6 @@ nox.options.reuse_existing_virtualenvs = True
YAML_PATHS = [
"./zuul.d/",
"./playbooks/",
"./roles/",
]
PYTHON_PATHS = [

View File

@ -1,3 +0,0 @@
- hosts: all
roles:
- ensure-hadolint

View File

@ -1,3 +0,0 @@
- hosts: all
roles:
- hadolint

View File

@ -1 +0,0 @@
hadolint_version: "2.12.0"

View File

@ -1,12 +0,0 @@
- name: Download Hadolint
ansible.builtin.get_url:
url: "https://github.com/hadolint/hadolint/releases/download/v{{ hadolint_version }}/hadolint-Linux-x86_64"
dest: /tmp/hadolint
- name: Install Hadolint
become: true
ansible.builtin.copy:
remote_src: true
src: /tmp/hadolint
dest: /usr/local/bin/hadolint
mode: "0755"

View File

@ -1,3 +0,0 @@
zuul_work_dir: "{{ zuul.project.src_dir }}"
dockerfiles:
- Dockerfile

View File

@ -1,7 +0,0 @@
- name: Lint Dockerfile with Hadolint
ansible.builtin.command: >-
hadolint {{ item }}
args:
chdir: "{{ zuul_work_dir }}"
changed_when: false
loop: "{{ dockerfiles }}"

View File

@ -21,23 +21,3 @@
- name: container_registry_credentials
secret: nebulous-container-registry-credentials
pass-to-parent: true
- job:
name: nebulous-hadolint
description: Run Hadolint on Dockerfile(s).
pre-run: playbooks/hadolint/pre.yaml
run: playbooks/hadolint/run.yaml
- job:
name: nebulous-helm-lint
parent: helm-lint
description: Run helm lint on Helm charts.
vars:
helm_version: &helm_version "3.12.0"
- job:
name: nebulous-apply-helm-charts
parent: apply-helm-charts
description: Deploy a Kubernetes cluster and apply charts.
vars:
helm_version: *helm_version