Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
I
install-test
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
External Wiki
External Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
minerva
install-test
Commits
829a474d
Commit
829a474d
authored
Mar 21, 2019
by
Piotr Gawron
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
curl is not preinstalled
parent
0e7835c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
.gitlab-ci.yml
.gitlab-ci.yml
+3
-2
No files found.
.gitlab-ci.yml
View file @
829a474d
...
...
@@ -7,6 +7,8 @@ test_debian_stretch:
tags
:
-
privileged
script
:
-
apt-get update
-
apt-get install -y curl
-
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
...
...
@@ -21,8 +23,7 @@ test_debian_stretch:
-
sleep
15
-
wget http://localhost:8080/minerva/
#test if we can login and get configuration
using new version
#test if we can login and get configuration
data
-
test 200 = $(curl --write-out %{http_code} --silent --output /dev/null -c cookie.txt http://localhost:8080/minerva/api/doLogin)
-
test 200 = $(curl --write-out %{http_code} --silent --output configuration.json --cookie cookie.txt http://localhost:8080/minerva/api/configuration/)
-
test 1 = $(cat configuration.json| grep $version | wc -l)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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