From 8be7f8a09f2d4ac3a189acbb109bbf563b5858b2 Mon Sep 17 00:00:00 2001 From: Tomas Baca Date: Wed, 15 Nov 2023 15:51:30 +0100 Subject: [PATCH] wup --- .ci/get_repo_source.py | 8 ++++++-- .ci/test.sh | 2 ++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.ci/get_repo_source.py b/.ci/get_repo_source.py index 07a4b704af..ac577d7121 100755 --- a/.ci/get_repo_source.py +++ b/.ci/get_repo_source.py @@ -28,10 +28,14 @@ def main(): if build_for in architecture: + refs = properties['git_refs'] + if variant == "stable": - ref = properties['stable_ref'] + ref = refs['stable_ref'] + if variant == "unstable": + ref = refs['unstable_ref'] else: - ref = properties['unstable_ref'] + ref = refs['testing_ref'] print("{} {} {}".format(repo_name, url, ref)) diff --git a/.ci/test.sh b/.ci/test.sh index 9d739f933b..d740e4574b 100755 --- a/.ci/test.sh +++ b/.ci/test.sh @@ -21,9 +21,11 @@ ARCH=$(dpkg-architecture -qDEB_HOST_ARCH) # we already have a docker image with ros for the ARM build if [[ "$ARCH" != "arm64" ]]; then + echo "curl https://ctu-mrs.github.io/ppa-$VARIANT/add_ros_ppa.sh | bash" curl https://ctu-mrs.github.io/ppa-$VARIANT/add_ros_ppa.sh | bash fi +echo "curl https://ctu-mrs.github.io/ppa-$VARIANT/add_ppa.sh | bash" curl https://ctu-mrs.github.io/ppa-$VARIANT/add_ppa.sh | bash # dependencies need for build the deb package