summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHerman van Rink2019-02-25 13:22:56 (GMT)
committerHerman van Rink2019-02-25 13:22:56 (GMT)
commit3c40bec980eb01c131299beeb76bb840a716546b (patch)
treec66e1d201e24f1fd636f427447dc550f5169c849
parent1f895b111dfee3f8e4620a0c513fe4e4decc070a (diff)
secure apt in upgrade test
-rw-r--r--.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index afbc6bf..1862dea 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -304,6 +304,6 @@ upgradetest:debian-stretch-aegir3-apt-upgrade:
- sudo su aegir --login --command 'drush @hostmaster php-eval "echo hosting_task_count_running();"'
# upgrade to the latest version from the unstable repo.
- rm -v /etc/apt/sources.list.d/aegir-stable.list
- - echo "deb http://debian.aegirproject.org unstable main" | sudo tee -a /etc/apt/sources.list.d/aegir-unstable.list
+ - echo "deb [signed-by=/usr/share/keyrings/aegir-archive-keyring.gpg] http://debian.aegirproject.org unstable main" | sudo tee -a /etc/apt/sources.list.d/aegir-unstable.list
- sudo apt-get update
- sudo apt-get --yes dist-upgrade