From e219f5c45b755f86e343bd04035efc46b89cf820 Mon Sep 17 00:00:00 2001 From: KrzysztofMolon Date: Fri, 17 Oct 2025 10:28:50 +0200 Subject: [PATCH 1/3] Add x-github-bridge so actual barney tests are run --- meta.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/meta.yaml b/meta.yaml index adf4bdff..02402bf9 100644 --- a/meta.yaml +++ b/meta.yaml @@ -9,3 +9,13 @@ x-bar: epoch: 1 ObsoleteNames: - github.com/bigswitch/pybsn + +Epoch: 1 +x-github-bridge: + reviews: + - image: test + events: + - type: pull_request + - type: push + branch-re: ^main$ + From c036afdc3edf18193f277fe91f2afef797f91455 Mon Sep 17 00:00:00 2001 From: Andreas Wundsam Date: Fri, 17 Oct 2025 11:11:38 +0200 Subject: [PATCH 2/3] make a change to barney.yaml --- barney.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/barney.yaml b/barney.yaml index ddc270dc..3c418cf9 100644 --- a/barney.yaml +++ b/barney.yaml @@ -20,6 +20,7 @@ images: mappings: /src/package: .%package build: | + echo "=== test ===" ls /src/package/pybsn/__init__.py From 6a4534c3a8f21ab7a332e4e4ae44dd746209b85d Mon Sep 17 00:00:00 2001 From: Andreas Wundsam Date: Fri, 17 Oct 2025 11:25:44 +0200 Subject: [PATCH 3/3] add status curl --- barney.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/barney.yaml b/barney.yaml index 3c418cf9..caeb8139 100644 --- a/barney.yaml +++ b/barney.yaml @@ -4,6 +4,7 @@ images: no-create-mountpoints: true units: - build: | + curl -k https://10.226.78.174:8443/barney/minimal-source mkdir -p /dest/usr/lib/python3.11/site-packages/pybsn/ cp pybsn/__init__.py /dest/usr/lib/python3.11/site-packages/pybsn/ @@ -11,6 +12,7 @@ images: no-create-mountpoints: true units: - build: | + curl -k https://10.226.78.174:8443/barney/package mkdir -p /dest/pybsn cp pybsn/__init__.py /dest/pybsn/ @@ -20,7 +22,7 @@ images: mappings: /src/package: .%package build: | - echo "=== test ===" + curl -k https://10.226.78.174:8443/barney/test/package ls /src/package/pybsn/__init__.py @@ -28,6 +30,7 @@ images: pybsn-install-floor: units: - build: | + curl -k https://10.226.78.174:8443/barney/pybsn-install-floor mkdir -p /dest/pybsn/ cp pybsn/__init__.py /dest/pybsn/ echo '#!/bin/sh