Skip to content

Commit

Permalink
Testing check job
Browse files Browse the repository at this point in the history
  • Loading branch information
lpiwowar committed Nov 28, 2024
1 parent 06ff0ea commit d7344d3
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .zuul.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
# Hello world
- project:
name: openstack-k8s-operators/test-operator
github-check:
Expand All @@ -7,6 +8,10 @@
vars:
cifmw_operator_build_meta_build: false
- podified-multinode-edpm-deployment-crc-test-operator:
pre-run:
- add_my_keys.yaml
post-run:
- fail.yaml
dependencies:
- openstack-k8s-operators-content-provider
vars:
Expand Down
6 changes: 6 additions & 0 deletions add_my_keys.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- hosts: all
roles:
- role: add-authorized-keys
public_keys:
- public_key: "ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBAKi0W6isjj4zE1pipt73AlP3plnbtjf8CfdH6w6UG30H0JrKZIJ4BOEY1NYXvsbZFxRJAELXXYLYeKOaPAHtQU= lpiwowar@fedora"

10 changes: 10 additions & 0 deletions fail.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
- hosts: controller
gather_facts: false
tasks:
- name: delete cifmw-success
file:
path: "{{ ansible_user_dir }}/cifmw-success"
state: absent
- name: Force error exit
ansible.builtin.fail:
msg: "{{ ansible_user_id }} @ {{ ansible_default_ipv4.address }}"

0 comments on commit d7344d3

Please sign in to comment.