From a1c3d2e87884991c006ddf51cdf64c52e22631ba Mon Sep 17 00:00:00 2001 From: Tomas Baca Date: Wed, 15 Nov 2023 16:00:38 +0100 Subject: [PATCH] pes --- .ci/get_repo_source.py | 8 ++++---- .ci/test.sh | 5 +---- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.ci/get_repo_source.py b/.ci/get_repo_source.py index ac577d7121..40fca088ad 100755 --- a/.ci/get_repo_source.py +++ b/.ci/get_repo_source.py @@ -31,11 +31,11 @@ def main(): refs = properties['git_refs'] if variant == "stable": - ref = refs['stable_ref'] - if variant == "unstable": - ref = refs['unstable_ref'] + ref = refs['stable'] + elif variant == "unstable": + ref = refs['unstable'] else: - ref = refs['testing_ref'] + ref = refs['testing'] print("{} {} {}".format(repo_name, url, ref)) diff --git a/.ci/test.sh b/.ci/test.sh index 9d739f933b..57dedbc91d 100755 --- a/.ci/test.sh +++ b/.ci/test.sh @@ -26,10 +26,7 @@ fi curl https://ctu-mrs.github.io/ppa-$VARIANT/add_ppa.sh | bash -# dependencies need for build the deb package -sudo apt-get -y install ros-noetic-catkin python3-catkin-tools -sudo apt-get -y install fakeroot debhelper -sudo pip3 install -U bloom +sudo apt-get -y -q install ros-noetic-mrs-uav-system REPOS=$(./.ci/get_repo_source.py $YAML_FILE $VARIANT $ARCH $PACKAGE_NAME)