Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
vagrant-boxen
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Piotr Maślanka
vagrant-boxen
Commits
9ed900c3
There was a problem fetching the pipeline stages.
Commit
9ed900c3
authored
8 years ago
by
Piotr Maślanka
Browse files
Options
Downloads
Patches
Plain Diff
build test
parent
8edec6ee
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#592
failed with stage
in 11 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+9
-0
9 additions, 0 deletions
README.md
cassandra/metadata.json
+5
-5
5 additions, 5 deletions
cassandra/metadata.json
make.py
+12
-9
12 additions, 9 deletions
make.py
with
26 additions
and
14 deletions
README.md
+
9
−
0
View file @
9ed900c3
...
@@ -16,6 +16,15 @@ Click on particular boxes to see description and how to use:
...
@@ -16,6 +16,15 @@ Click on particular boxes to see description and how to use:
*
[
NodeJS 4.x + bower + gulp
](
/nodejs4
)
*
[
NodeJS 4.x + bower + gulp
](
/nodejs4
)
*
[
NodeJS 5.x + JDK + ADT + cordova
](
/nodejs5_jdk_adk25
)
*
[
NodeJS 5.x + JDK + ADT + cordova
](
/nodejs5_jdk_adk25
)
# How to rebuild
```
bash
python make.py
git add
--all
git commit
-m
"dfdf"
git push origin master
```
Boxes are automatically regenerated upon a push to master.
Boxes are automatically regenerated upon a push to master.
If you want to develop a single box, just make a branch that starts with it's name
If you want to develop a single box, just make a branch that starts with it's name
and a dash, eg.
**cassandra-something**
.
and a dash, eg.
**cassandra-something**
.
...
...
This diff is collapsed.
Click to expand it.
cassandra/metadata.json
+
5
−
5
View file @
9ed900c3
{
{
"description"
:
""
,
"description"
:
"
Debian Jessie x86_64 with Cassandra 3.0.9
"
,
"short_description"
:
"Debian
+
Cassandra"
,
"short_description"
:
"Debian
Jessie x86_64 with
Cassandra
3.0.9
"
,
"name"
:
"henrietta/cassandra"
,
"name"
:
"henrietta/cassandra"
,
"versions"
:
[{
"versions"
:
[{
"version"
:
"1"
,
"version"
:
"1"
,
"status"
:
"active"
,
"status"
:
"active"
,
"description_html"
:
"<p>Debian
+
Cassandra
t
</p>"
,
"description_html"
:
"<p>Debian
Jessie x86_64 with
Cassandra
3.0.9
</p>"
,
"description_markdown"
:
"Debian
+
Cassandra"
,
"description_markdown"
:
"Debian
Jessie x86_64 with
Cassandra
3.0.9
"
,
"providers"
:
[{
"providers"
:
[{
"name"
:
"virtualbox"
,
"name"
:
"virtualbox"
,
"url"
:
"http://dev.dms-serwis.com.pl/vagrant/cassandra.box"
"url"
:
"http://dev.dms-serwis.com.pl/vagrant/cassandra.box"
}]
}]
}]
}]
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
make.py
+
12
−
9
View file @
9ed900c3
...
@@ -3,16 +3,19 @@
...
@@ -3,16 +3,19 @@
from
__future__
import
print_function
,
absolute_import
,
division
from
__future__
import
print_function
,
absolute_import
,
division
import
os
import
os
import
os.path
import
os.path
import
sys
if
__name__
==
'
__main__
'
:
if
__name__
==
'
__main__
'
:
dirs
=
[
dir
for
dir
in
os
.
listdir
(
'
.
'
)
if
os
.
path
.
isdir
(
dir
)
or
(
dir
!=
'
.git
'
)]
dirs
=
[
dir
for
dir
in
os
.
listdir
(
'
.
'
)
if
os
.
path
.
isdir
(
dir
)
or
(
dir
!=
'
.git
'
)]
exi
=
lambda
box
,
sup
:
os
.
path
.
exists
(
os
.
path
.
join
(
box
,
'
build%s.sh
'
%
(
sup
,
)))
exi
=
lambda
box
,
sup
:
os
.
path
.
exists
(
os
.
path
.
join
(
box
,
'
build%s.sh
'
%
(
sup
,
)))
boxes
=
[
box
for
box
in
dirs
if
exi
(
box
,
''
)
or
exi
(
box
,
'
_as_vagrant
'
)]
boxes
=
[
box
for
box
in
dirs
if
exi
(
box
,
''
)
or
exi
(
box
,
'
_as_vagrant
'
)]
# Generate Gitlab CI file
if
len
(
sys
.
argv
)
==
1
:
with
open
(
'
.gitlab-ci.yml
'
,
'
wb
'
)
as
ci
:
for
box
in
boxes
:
# Generate Gitlab CI file
ci
.
write
(
b
'''
with
open
(
'
.gitlab-ci.yml
'
,
'
wb
'
)
as
ci
:
for
box
in
boxes
:
ci
.
write
(
b
'''
build_$BOX:
build_$BOX:
only:
only:
- master
- master
...
@@ -38,13 +41,13 @@ build_$BOX:
...
@@ -38,13 +41,13 @@ build_$BOX:
- cd ..
- cd ..
'''
.
replace
(
'
$BOX
'
,
box
).
replace
(
'
$PREFIX
'
,
'
henrietta/
'
))
'''
.
replace
(
'
$BOX
'
,
box
).
replace
(
'
$PREFIX
'
,
'
henrietta/
'
))
# Generate metadata
if
sys
.
argv
[
1
]
==
'
meta
'
:
for
box
in
boxes
:
with
open
(
os
.
path
.
join
(
box
,
'
DESCRIPTION
'
),
'
rb
'
)
as
mdin
:
with
open
(
'
DESCRIPTION
'
,
'
rb
'
)
as
mdin
,
open
(
'
metadata.json
'
,
'
wb
'
)
as
mdout
:
description
=
mdin
.
read
().
strip
()
description
=
mdin
.
read
().
strip
()
with
open
(
os
.
path
.
join
(
box
,
'
metadata.json
'
),
'
wb
'
)
as
mdout
:
mdout
.
write
(
'''
{
mdout
.
write
(
'''
{
"
description
"
:
"
%s
"
,
"
description
"
:
"
%s
"
,
"
short_description
"
:
"
%s
"
,
"
short_description
"
:
"
%s
"
,
"
name
"
:
"
henrietta/%s
"
,
"
name
"
:
"
henrietta/%s
"
,
...
...
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