Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
minerva
core
Commits
93a709e7
Commit
93a709e7
authored
1 year ago
by
Piotr Gawron
Browse files
Options
Downloads
Patches
Plain Diff
use archived repositories for debian stretch
parent
27f004d2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
3 merge requests
!1587
merge development 16.2.13 into master
,
!1583
changelog update
,
!1578
Build pipeline issue
Pipeline
#77109
passed
1 year ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+14
-4
14 additions, 4 deletions
.gitlab-ci.yml
with
14 additions
and
4 deletions
.gitlab-ci.yml
+
14
−
4
View file @
93a709e7
...
...
@@ -396,7 +396,7 @@ build_debian_package:
-
debian/create-debian-pkg.sh
test_upgrade_debian_package
:
image
:
debian:
buster
image
:
debian:
stretch
stage
:
test
only
:
-
tags
...
...
@@ -409,6 +409,11 @@ test_upgrade_debian_package:
dependencies
:
-
build_debian_package
script
:
-
echo "deb http://archive.debian.org/debian stretch main" > /etc/apt/sources.list
-
echo "deb-src http://archive.debian.org/debian stretch main" >> /etc/apt/sources.list
-
echo "deb http://archive.debian.org/debian stretch-backports main" >> /etc/apt/sources.list
-
echo "deb http://archive.debian.org/debian-security stretch/updates main" >> /etc/apt/sources.list
-
echo "deb-src http://archive.debian.org/debian-security stretch/updates main" >> /etc/apt/sources.list
-
apt-get update
-
DEBIAN_FRONTEND=noninteractive apt-get install -y ssh software-properties-common dirmngr wget curl apt-transport-https postgresql
-
service postgresql start
...
...
@@ -436,7 +441,7 @@ test_upgrade_debian_package:
-
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 tomcat
9
start
-
service tomcat
8
start
#we need to wait a bit for tomcat start
-
sleep
15
-
wget http://localhost:8080/minerva/
...
...
@@ -447,7 +452,7 @@ test_upgrade_debian_package:
-
test 1 = $(cat configuration.json| grep $version | wc -l)
test_install_debian_package
:
image
:
debian:
buster
image
:
debian:
stretch
stage
:
test
only
:
-
tags
...
...
@@ -460,6 +465,11 @@ test_install_debian_package:
dependencies
:
-
build_debian_package
script
:
-
echo "deb http://archive.debian.org/debian stretch main" > /etc/apt/sources.list
-
echo "deb-src http://archive.debian.org/debian stretch main" >> /etc/apt/sources.list
-
echo "deb http://archive.debian.org/debian stretch-backports main" >> /etc/apt/sources.list
-
echo "deb http://archive.debian.org/debian-security stretch/updates main" >> /etc/apt/sources.list
-
echo "deb-src http://archive.debian.org/debian-security stretch/updates main" >> /etc/apt/sources.list
-
apt-get update
-
DEBIAN_FRONTEND=noninteractive apt-get install -y ssh software-properties-common dirmngr wget curl postgresql
-
service postgresql start
...
...
@@ -480,7 +490,7 @@ test_install_debian_package:
-
chmod 0755 /usr/sbin/policy-rc.d
-
DEBIAN_FRONTEND=noninteractive apt-get install -y --allow-unauthenticated minerva
-
mv /usr/sbin/policy-rc.d.backup /usr/sbin/policy-rc.d
-
service tomcat
9
start
-
service tomcat
8
start
#we need to wait a bit for tomcat start
-
sleep
15
-
wget http://localhost:8080/minerva/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment