Skip to content

Commit fb449b2

Browse files
author
Jonathan Rosser
committed
Add zuul jobs for playbooks/download_binaries.yml
1 parent d7c3cce commit fb449b2

File tree

4 files changed

+26
-26
lines changed

4 files changed

+26
-26
lines changed
+12-26
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,25 @@
1-
# Copyright (c) 2023 VEXXHOST, Inc.
2-
#
3-
# Licensed under the Apache License, Version 2.0 (the "License"); you may
4-
# not use this file except in compliance with the License. You may obtain
5-
# a copy of the License at
6-
#
7-
# http://www.apache.org/licenses/LICENSE-2.0
8-
#
9-
# Unless required by applicable law or agreed to in writing, software
10-
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11-
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12-
# License for the specific language governing permissions and limitations
13-
# under the License.
1+
# Copyright (c) 2024 VEXXHOST, Inc.
2+
# SPDX-License-Identifier: Apache-2.0
143

154
dependency:
165
name: galaxy
176
driver:
18-
name: docker
7+
name: default
8+
options:
9+
managed: False
10+
ansible_connection_options:
11+
ansible_become: "true"
12+
ansible_connection: local
1913
platforms:
2014
- name: instance
21-
image: geerlingguy/docker-${MOLECULE_DISTRO:-ubuntu2204}-ansible:latest
22-
command: ${MOLECULE_DOCKER_COMMAND:-""}
23-
privileged: true
24-
cgroupns_mode: host
25-
pre_build_image: true
26-
environment:
27-
container: docker
28-
security_opts:
29-
- apparmor=unconfined
30-
volumes:
31-
- /sys/fs/cgroup:/sys/fs/cgroup:rw
32-
- /lib/modules:/lib/modules:ro
15+
groups:
16+
- controllers
3317
provisioner:
3418
name: ansible
3519
config_options:
3620
connection:
3721
pipelining: true
22+
defaults:
23+
callbacks_enabled: ansible.posix.profile_tasks
3824
verifier:
3925
name: ansible

tox.ini

+6
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,9 @@ deps =
3939
{[testenv:molecule-venv]deps}
4040
commands =
4141
molecule test -s upload-helm-chart
42+
43+
[testenv:molecule-download-binaries]
44+
deps =
45+
{[testenv:molecule-venv]deps}
46+
commands =
47+
molecule test -s download_binaries

zuul.d/jobs.yaml

+6
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,9 @@
4141
parent: ansible-collection-kubernetes-molecule
4242
vars:
4343
tox_envlist: molecule-upload-helm-chart
44+
45+
- job:
46+
name: ansible-collection-kubernetes-molecule-download-binaries
47+
parent: ansible-collection-kubernetes-molecule
48+
vars:
49+
tox_envlist: molecule-download-binaries

zuul.d/project.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
- ansible-collection-kubernetes-molecule-cluster-api-upgrade
2323
- ansible-collection-kubernetes-molecule-helm
2424
- ansible-collection-kubernetes-molecule-upload-helm-chart
25+
- ansible-collection-kubernetes-molecule-download-binaries
2526
- build-ansible-collection
2627
gate:
2728
jobs:
@@ -31,6 +32,7 @@
3132
- ansible-collection-kubernetes-molecule-cluster-api-upgrade
3233
- ansible-collection-kubernetes-molecule-helm
3334
- ansible-collection-kubernetes-molecule-upload-helm-chart
35+
- ansible-collection-kubernetes-molecule-download-binaries
3436
- build-ansible-collection
3537
release:
3638
jobs:

0 commit comments

Comments
 (0)