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
97f8b6bf
Commit
97f8b6bf
authored
6 years ago
by
Piotr Gawron
Browse files
Options
Downloads
Patches
Plain Diff
missing gitlab ci file added
parent
b67f1556
No related branches found
No related tags found
2 merge requests
!630
WIP: Resolve "The privileges of a new user are not saved in some cases"
,
!577
missing gitlab ci file added
Pipeline
#8198
passed
6 years ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
.gitlab-ci.yml
gitlab-ci-policy-rc.d
+15
-0
15 additions, 0 deletions
gitlab-ci-policy-rc.d
with
17 additions
and
2 deletions
.gitlab-ci.yml
+
2
−
2
View file @
97f8b6bf
...
@@ -240,7 +240,7 @@ test_upgrade_debian_package:
...
@@ -240,7 +240,7 @@ test_upgrade_debian_package:
-
echo debconf shared/accepted-oracle-license-v1-1 select
true
| debconf-set-selections
-
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
#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 /usr/sbin/policy-rc.d /usr/sbin/policy-rc.d.backup
-
mv
Docker/
policy-rc.d /usr/sbin/policy-rc.d
-
mv
gitlab-ci-
policy-rc.d /usr/sbin/policy-rc.d
-
apt-get install -y --allow-unauthenticated minerva
-
apt-get install -y --allow-unauthenticated minerva
#local repository with new version
#local repository with new version
...
@@ -285,7 +285,7 @@ test_install_debian_package:
...
@@ -285,7 +285,7 @@ test_install_debian_package:
-
echo debconf shared/accepted-oracle-license-v1-1 select
true
| debconf-set-selections
-
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
#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 /usr/sbin/policy-rc.d /usr/sbin/policy-rc.d.backup
-
mv
Docker/
policy-rc.d /usr/sbin/policy-rc.d
-
mv
gitlab-ci-
policy-rc.d /usr/sbin/policy-rc.d
-
apt-get install -y --allow-unauthenticated minerva
-
apt-get install -y --allow-unauthenticated minerva
-
mv /usr/sbin/policy-rc.d.backup /usr/sbin/policy-rc.d
-
mv /usr/sbin/policy-rc.d.backup /usr/sbin/policy-rc.d
-
service tomcat8 start
-
service tomcat8 start
...
...
This diff is collapsed.
Click to expand it.
gitlab-ci-policy-rc.d
0 → 100644
+
15
−
0
View file @
97f8b6bf
#
!/
bin
/
sh
#
For
most
Docker
users
,
"apt-get install"
only
happens
during
"docker build"
,
#
where
starting
services
doesn
'
t
work
and
often
fails
in
humorous
ways
.
This
#
prevents
those
failures
by
stopping
the
services
from
attempting
to
start
.
echo
"policy-rc.d for "
$
1
if
[
"$1"
=
"tomcat7"
]
||
[
"$1"
=
"tomcat8"
];
then
exit
101
fi
exit
0
;
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