Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
isochrone-vm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
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
Institut für Informatik
dbis
dbis-isochrone
isochrone-vm
Commits
ebc457c6
Commit
ebc457c6
authored
9 years ago
by
User expired
Browse files
Options
Downloads
Patches
Plain Diff
added jenkins deploy mode (to prevent tomcat webapp deploy on dbis-tests)
parent
051dfaec
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
CHANGELOG.md
+1
-0
1 addition, 0 deletions
CHANGELOG.md
Vagrantfile
+1
-1
1 addition, 1 deletion
Vagrantfile
bootstrap/config.sh
+1
-0
1 addition, 0 deletions
bootstrap/config.sh
bootstrap/prepareEnvironment.sh
+3
-1
3 additions, 1 deletion
bootstrap/prepareEnvironment.sh
with
6 additions
and
2 deletions
CHANGELOG.md
+
1
−
0
View file @
ebc457c6
Upcoming version:
-----------------
-
added jenkins deploy mode (to prevent tomcat webapp deploy on dbis-tests) (Nikolaus Krismer)
-
added missing srid for italy and st dataset (Nikolaus Krismer)
-
not starting tomcat on jenknis (Nikolaus Krismer)
-
added some more options; moved remote cache dir to owncloud (Nikolaus Krismer)
...
...
This diff is collapsed.
Click to expand it.
Vagrantfile
+
1
−
1
View file @
ebc457c6
...
...
@@ -80,7 +80,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config
.
vm
.
synced_folder
"log/bootstrap"
,
"/var/log/vagrant_bootstrap"
,
create:
true
,
owner:
"vagrant"
,
group:
"vagrant"
# Setup environment on startup (done using a shell script)
config
.
vm
.
provision
"shell"
,
path:
"bootstrap/prepareEnvironment.sh"
,
args:
[
"secretPhdPassword#2014!"
,
(
isLocalDeploy
?
"true"
:
"false"
)]
config
.
vm
.
provision
"shell"
,
path:
"bootstrap/prepareEnvironment.sh"
,
args:
[
"secretPhdPassword#2014!"
,
(
isLocalDeploy
?
"true"
:
"false"
),
(
isJenkinsDeploy
?
"true"
:
"false"
)]
config
.
vm
.
provision
"shell"
,
path:
"bootstrap/createDatabase.sh"
,
args:
[
"niko"
,
"secretPhdPassword#2014!"
]
config
.
vm
.
provision
"shell"
,
path:
"bootstrap/importData.sh"
,
args:
[
"niko"
,
"secretPhdPassword#2014!"
,
(
deployAllDatasets
?
"true"
:
"false"
)]
# Optionally activate database logging (for queryTimeLogging this is done in the testcase itself now)
...
...
This diff is collapsed.
Click to expand it.
bootstrap/config.sh
+
1
−
0
View file @
ebc457c6
...
...
@@ -25,6 +25,7 @@ WORKING_DIR="/var/log/vagrant_bootstrap"
# Parameters that can also (some must) be passed as arguments
DEPLOY_ALL_DATASETS
=
false
IS_JENKINS_DEPLOY
=
false
IS_LOCAL_DEPLOY
=
false
PG_DB_NAME
=
"isochrone"
PG_DB_USER
=
"@db_username@"
...
...
This diff is collapsed.
Click to expand it.
bootstrap/prepareEnvironment.sh
+
3
−
1
View file @
ebc457c6
...
...
@@ -65,6 +65,7 @@ source "${SCRIPT_DIR}/config.sh"
fn_arg2string TOMCAT_PASSWORD
"
${
1
}
"
"
${
TOMCAT_PASSWORD
}
"
fn_arg2boolean IS_LOCAL_DEPLOY
"
${
2
}
"
"
${
IS_LOCAL_DEPLOY
}
"
fn_arg2boolean IS_JENKINS_DEPLOY
"
${
3
}
"
"
${
IS_JENKINS_DEPLOY
}
"
######################################
# Configuration (tool versions, ...) #
...
...
@@ -212,7 +213,7 @@ if $UPDATE_DATA; then
INSTALL_ISOCHRONE_DATAMODEL
=
true
fi
if
$IS_LOCAL_DEPLOY
;
then
if
$IS_LOCAL_DEPLOY
||
$IS_JENKINS_DEPLOY
;
then
# Some projects will never be installed when in local deploy mode (like latest release/snapshot from nexus)
INSTALL_PROJECT_PSIPROBE
=
false
INSTALL_ISOCHRONE_LOCAL
=
false
...
...
@@ -360,6 +361,7 @@ echo " Bootstrapping the VM ($(date +%H:%M:%S)):"
echo
"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
echo
"Operating system
$DISTRI_NAME
"
echo
" - osType:
$DISTRI_TYPE
"
if
$IS_JENKINS_DEPLOY
;
then
echo
"Starting in jenkins test deploy mode"
;
fi
if
$IS_LOCAL_DEPLOY
;
then
echo
"Starting in local test deploy mode"
;
fi
echo
"Installing software:"
if
$INSTALL_HTTPD
;
then
echo
" - apache webserver"
;
fi
...
...
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