Move some jobs to zuul-jobs
It moves jobs which do not require secrets. Change-Id: I61e1a136aea426cc0a4408612589038138f9dd7b
This commit is contained in:
parent
8c64919b8e
commit
cfe480d926
@ -5,8 +5,6 @@ nox.options.reuse_existing_virtualenvs = True
|
|||||||
|
|
||||||
YAML_PATHS = [
|
YAML_PATHS = [
|
||||||
"./zuul.d/",
|
"./zuul.d/",
|
||||||
"./playbooks/",
|
|
||||||
"./roles/",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
PYTHON_PATHS = [
|
PYTHON_PATHS = [
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
- hosts: all
|
|
||||||
roles:
|
|
||||||
- ensure-hadolint
|
|
@ -1,3 +0,0 @@
|
|||||||
- hosts: all
|
|
||||||
roles:
|
|
||||||
- hadolint
|
|
@ -1 +0,0 @@
|
|||||||
hadolint_version: "2.12.0"
|
|
@ -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"
|
|
@ -1,3 +0,0 @@
|
|||||||
zuul_work_dir: "{{ zuul.project.src_dir }}"
|
|
||||||
dockerfiles:
|
|
||||||
- Dockerfile
|
|
@ -1,7 +0,0 @@
|
|||||||
- name: Lint Dockerfile with Hadolint
|
|
||||||
ansible.builtin.command: >-
|
|
||||||
hadolint {{ item }}
|
|
||||||
args:
|
|
||||||
chdir: "{{ zuul_work_dir }}"
|
|
||||||
changed_when: false
|
|
||||||
loop: "{{ dockerfiles }}"
|
|
@ -21,23 +21,3 @@
|
|||||||
- name: container_registry_credentials
|
- name: container_registry_credentials
|
||||||
secret: nebulous-container-registry-credentials
|
secret: nebulous-container-registry-credentials
|
||||||
pass-to-parent: true
|
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
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user