From d90d85e8d32f64bbc67f8e70836bff28dd0f1c4d Mon Sep 17 00:00:00 2001 From: Matej Feder Date: Mon, 16 Oct 2023 10:53:19 +0200 Subject: [PATCH 1/3] Fix dnation zuul Signed-off-by: Matej Feder --- .zuul.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zuul.yaml b/.zuul.yaml index 71afd7f6..707c3a0c 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -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: From 2b26a577dcd268e07b18ebdcef751d8791aa93e1 Mon Sep 17 00:00:00 2001 From: Michal Gubricky <72123234+michal-gubricky@users.noreply.github.com> Date: Tue, 17 Oct 2023 10:54:15 +0200 Subject: [PATCH 2/3] Add checkout to PR branch(#34) --- playbooks/e2e.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/playbooks/e2e.yaml b/playbooks/e2e.yaml index 6edf84d5..866aa43a 100644 --- a/playbooks/e2e.yaml +++ b/playbooks/e2e.yaml @@ -39,6 +39,12 @@ 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" From 6fdff6e4f70f5fafe348dd79a89b89b85c7fe233 Mon Sep 17 00:00:00 2001 From: Matej Feder Date: Wed, 18 Oct 2023 12:01:42 +0200 Subject: [PATCH 3/3] Mqtt-Matrix bridge test Signed-off-by: Matej Feder --- playbooks/e2e.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/playbooks/e2e.yaml b/playbooks/e2e.yaml index 866aa43a..13706283 100644 --- a/playbooks/e2e.yaml +++ b/playbooks/e2e.yaml @@ -32,6 +32,8 @@ 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 + 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.