Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mqtt-Matrix bridge test #37

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .zuul.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
sonobouy_mode: quick

- project:
name: SovereignCloudStack/k8s-cluster-api-provider
name: matofederorg/k8s-cluster-api-provider
default-branch: main
merge-mode: "squash-merge"
e2e-test:
Expand Down
8 changes: 8 additions & 0 deletions playbooks/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,21 @@
X-GitHub-Api-Version: 2022-11-28
register: pull_request
when: zuul.change is defined # execute when the e2e pipeline is initiated on a PR
- name: Force a failure

Check failure on line 35 in playbooks/e2e.yaml

View workflow job for this annotation

GitHub Actions / Ansible Lint

no-changed-when

Commands should not change things if nothing needs doing.
ansible.builtin.command: /bin/false
- name: |
Set facts -
Priority is given to the values of git_reference and git_repo over variables collected from the PR.
In cases where git_reference and git_repo are undefined, and e2e is not executed on the PR, a fallback mechanism is employed.
ansible.builtin.set_fact:
git_branch_name: "{{ git_reference | default(pull_request.json.head.ref) | default(git_reference_default) }}"
git_repository_url: "{{ git_repo | default(pull_request.json.head.repo.clone_url) | default(git_repo_default) }}"
- name: Checkout PR branch
ansible.builtin.git:
repo: "{{ git_repository_url }}"
dest: "{{ zuul.project.src_dir }}"
version: "{{ git_branch_name }}"
when: zuul.change is defined
- name: Create environment file
ansible.builtin.template:
src: "templates/environment.tfvars.j2"
Expand Down
Loading