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)