Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
minerva
core
Commits
2fff2388
Commit
2fff2388
authored
May 06, 2019
by
Piotr Gawron
Browse files
ci adapted for the new debian dependencies
parent
c969982e
Pipeline
#10109
failed with stages
in 18 minutes and 49 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
2fff2388
...
...
@@ -231,13 +231,9 @@ test_upgrade_debian_package:
-
version=$(echo $debian_file| cut -f2 -d"_")
-
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://ppa.launchpad.net/webupd8team/java/ubuntu trusty main"
-
apt-key adv --no-tty --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
-
apt-add-repository "deb http://repo-r3lab.uni.lu/debian/ stable main"
-
apt-key adv --no-tty --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0xcb185f4e31872412
-
apt-get update
# auto accept oracle license
-
echo debconf shared/accepted-oracle-license-v1-1 select
true
| debconf-set-selections
#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
...
...
@@ -278,12 +274,8 @@ test_install_debian_package:
-
debian_file=$(ls debian/*.deb)
-
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://ppa.launchpad.net/webupd8team/java/ubuntu trusty main"
-
apt-key adv --no-tty --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
-
apt-add-repository "deb http://debian-repo/ unstable main"
-
apt-get update
# auto accept oracle license
-
echo debconf shared/accepted-oracle-license-v1-1 select
true
| debconf-set-selections
#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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment