Skip to content

Commit

Permalink
New zuul job for edpm_frr role
Browse files Browse the repository at this point in the history
Signed-off-by: Jiri Podivin <[email protected]>
  • Loading branch information
jpodivin committed Oct 6, 2023
1 parent fc7c36f commit 93d712e
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 10 deletions.
21 changes: 21 additions & 0 deletions roles/edpm_frr/molecule/default/converge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
# Copyright 2023 Red Hat, Inc.
# All Rights Reserved.
#
# 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.

- name: Converge
hosts: all
roles:
- role: "osp.edpm.edpm_frr"
become: true
18 changes: 8 additions & 10 deletions roles/edpm_frr/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,15 @@ dependency:
options:
role-file: collections.yml
driver:
name: podman
name: delegated
options:
managed: false
ansible_connection_options:
ansible_connection: local
platforms:
- command: /sbin/init
dockerfile: ../../../../molecule/common/Containerfile.j2
image: ${EDPM_ANSIBLE_MOLECULE_IMAGE:-"ubi9/ubi-init"}
name: instance
privileged: true
registry:
url: ${EDPM_ANSIBLE_MOLECULE_REGISTRY:-"registry.access.redhat.com"}
ulimits:
- host
- name: compute-1
groups:
- compute
provisioner:
log: true
name: ansible
Expand Down
6 changes: 6 additions & 0 deletions roles/edpm_frr/molecule/default/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,9 @@
hosts: all
roles:
- role: ../../../../molecule/common/test_deps
test_deps_extra_packages:
python3-pip
tasks:
- name: Install os-net-config
ansible.builtin.pip:
name: os-net-config
5 changes: 5 additions & 0 deletions zuul.d/jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,8 @@
parent: edpm-ansible-molecule-base
vars:
TEST_RUN: edpm_nova
- job:
name: edpm-ansible-molecule-edpm_frr
parent: edpm-ansible-molecule-base
vars:
TEST_RUN: edpm_frr
1 change: 1 addition & 0 deletions zuul.d/projects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@
- edpm-ansible-molecule-edpm_kernel
- edpm-ansible-molecule-edpm_libvirt
- edpm-ansible-molecule-edpm_nova
- edpm-ansible-molecule-edpm_frr

0 comments on commit 93d712e

Please sign in to comment.