Skip to content
Snippets Groups Projects
Commit cc189091 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

allow unauthenticated apt-get update (for local repository)

parent fe66c92c
No related branches found
No related tags found
3 merge requests!869Test process fix,!868test process fix,!847allow unauthenticated apt-get update (for local repository)
Pipeline #11971 passed
......@@ -279,7 +279,7 @@ test_upgrade_debian_package:
#local repository with new version
- apt-add-repository "deb http://debian-repo/ unstable main"
- apt-get update
- apt-get update --allow-unauthenticated
- apt-get dist-upgrade -y --allow-unauthenticated
- mv /usr/sbin/policy-rc.d.backup /usr/sbin/policy-rc.d
- service tomcat8 start
......@@ -312,7 +312,7 @@ test_install_debian_package:
- echo "PUT $debian_file /docker/incoming" | sftp -o StrictHostKeyChecking=no user@debian-repo
- ssh root@debian-repo /usr/local/sbin/reprepro-import
- apt-add-repository "deb http://debian-repo/ unstable main"
- apt-get update
- apt-get update --allow-unauthenticated
#hacky way of installing minerva on docker - by default rc-invoke is preventing services changes on docker
- mv /usr/sbin/policy-rc.d /usr/sbin/policy-rc.d.backup
- mv gitlab-ci-policy-rc.d /usr/sbin/policy-rc.d
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment