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