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
fbae28b4
Commit
fbae28b4
authored
8 years ago
by
User expired
Browse files
Options
Downloads
Patches
Plain Diff
removing usage of deprecated method << (using doLast/doFirst instead)
parent
10f680ba
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.md
+1
-0
1 addition, 0 deletions
CHANGELOG.md
build.gradle
+17
-22
17 additions, 22 deletions
build.gradle
with
18 additions
and
22 deletions
CHANGELOG.md
+
1
−
0
View file @
fbae28b4
Upcoming version:
Upcoming version:
-----------------
-----------------
-
removing usage of deprecated method << (using doLast/doFirst instead) (Nikolaus Krismer)
-
updating gradle wrapper (to version 3.4) (Nikolaus Krismer)
-
updating gradle wrapper (to version 3.4) (Nikolaus Krismer)
-
fixed some issues with postgresql logs when using NFS for synced folders (Nikolaus Krismer)
-
fixed some issues with postgresql logs when using NFS for synced folders (Nikolaus Krismer)
-
using owner/group name for postgresql logs (Nikolaus Krismer)
-
using owner/group name for postgresql logs (Nikolaus Krismer)
...
...
This diff is collapsed.
Click to expand it.
build.gradle
+
17
−
22
View file @
fbae28b4
...
@@ -63,7 +63,7 @@ eclipse {
...
@@ -63,7 +63,7 @@ eclipse {
filterGit
.
appendNode
(
'id'
,
1421146667415
)
filterGit
.
appendNode
(
'id'
,
1421146667415
)
filterGit
.
appendNode
(
'name'
,
''
)
filterGit
.
appendNode
(
'name'
,
''
)
filterGit
.
appendNode
(
'type'
,
30
)
filterGit
.
appendNode
(
'type'
,
30
)
Node
matcherGit
=
filterG
radle
.
appendNode
(
'matcher'
)
Node
matcherGit
=
filterG
it
.
appendNode
(
'matcher'
)
matcherGit
.
appendNode
(
'id'
,
'org.eclipse.ui.ide.multiFilter'
)
matcherGit
.
appendNode
(
'id'
,
'org.eclipse.ui.ide.multiFilter'
)
matcherGit
.
appendNode
(
'arguments'
,
'1.0-name-matches-false-false-.git'
)
matcherGit
.
appendNode
(
'arguments'
,
'1.0-name-matches-false-false-.git'
)
...
@@ -102,6 +102,22 @@ vagrantDestroy.doFirst {
...
@@ -102,6 +102,22 @@ vagrantDestroy.doFirst {
}
}
}
}
vagrantUp
.
doFirst
{
if
(!
vagrantDir
.
isDirectory
())
{
println
"Creating directory $vagrantDir and copying content"
vagrantDir
.
mkdirs
()
sync
{
from
files
(
'etc/vagrant'
)
into
vagrantDir
filter
(
FixCrLfFilter
)
filter
(
ReplaceTokens
,
tokens:
[
db_username:
'niko'
,
db_password:
'secretPhdPassword#2014!'
])
}
}
}
// Custom tasks
// Custom tasks
task
vagrantExport
(
type:
Zip
)
{
task
vagrantExport
(
type:
Zip
)
{
...
@@ -117,24 +133,3 @@ task vagrantExport(type: Zip) {
...
@@ -117,24 +133,3 @@ task vagrantExport(type: Zip) {
filter
(
FixCrLfFilter
)
filter
(
FixCrLfFilter
)
filter
(
ReplaceTokens
,
tokens:
[
db_username:
'myUser'
,
db_password:
'myPassword'
])
filter
(
ReplaceTokens
,
tokens:
[
db_username:
'myUser'
,
db_password:
'myPassword'
])
}
}
task
vagrantPrepare
<<
{
description
=
'Prepares the vagrant environment (creates directory, copies Vagrantfile, ...)'
if
(!
vagrantDir
.
isDirectory
())
{
println
"Creating directory $vagrantDir and copying content"
vagrantDir
.
mkdirs
()
sync
{
from
files
(
'etc/vagrant'
)
into
vagrantDir
filter
(
FixCrLfFilter
)
filter
(
ReplaceTokens
,
tokens:
[
db_username:
'niko'
,
db_password:
'secretPhdPassword#2014!'
])
}
}
}
// task dependencies
tasks
.
vagrantUp
.
dependsOn
vagrantPrepare
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