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 latest pipeline status.
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
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:
*
[
NodeJS 4.x + bower + gulp
](
/nodejs4
)
*
[
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.
If you want to develop a single box, just make a branch that starts with it's name
and a dash, eg.
**cassandra-something**
.
...
...
This diff is collapsed.
Click to expand it.
cassandra/metadata.json
+
5
−
5
View file @
9ed900c3
{
"description"
:
""
,
"short_description"
:
"Debian
+
Cassandra"
,
"description"
:
"
Debian Jessie x86_64 with Cassandra 3.0.9
"
,
"short_description"
:
"Debian
Jessie x86_64 with
Cassandra
3.0.9
"
,
"name"
:
"henrietta/cassandra"
,
"versions"
:
[{
"version"
:
"1"
,
"status"
:
"active"
,
"description_html"
:
"<p>Debian
+
Cassandra
t
</p>"
,
"description_markdown"
:
"Debian
+
Cassandra"
,
"description_html"
:
"<p>Debian
Jessie x86_64 with
Cassandra
3.0.9
</p>"
,
"description_markdown"
:
"Debian
Jessie x86_64 with
Cassandra
3.0.9
"
,
"providers"
:
[{
"name"
:
"virtualbox"
,
"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 @@
from
__future__
import
print_function
,
absolute_import
,
division
import
os
import
os.path
import
sys
if
__name__
==
'
__main__
'
:
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
,
)))
boxes
=
[
box
for
box
in
dirs
if
exi
(
box
,
''
)
or
exi
(
box
,
'
_as_vagrant
'
)]
# Generate Gitlab CI file
with
open
(
'
.gitlab-ci.yml
'
,
'
wb
'
)
as
ci
:
for
box
in
boxes
:
ci
.
write
(
b
'''
if
len
(
sys
.
argv
)
==
1
:
# Generate Gitlab CI file
with
open
(
'
.gitlab-ci.yml
'
,
'
wb
'
)
as
ci
:
for
box
in
boxes
:
ci
.
write
(
b
'''
build_$BOX:
only:
- master
...
...
@@ -38,13 +41,13 @@ build_$BOX:
- cd ..
'''
.
replace
(
'
$BOX
'
,
box
).
replace
(
'
$PREFIX
'
,
'
henrietta/
'
))
# Generate metadata
for
box
in
boxes
:
with
open
(
os
.
path
.
join
(
box
,
'
DESCRIPTION
'
),
'
rb
'
)
as
mdin
:
if
sys
.
argv
[
1
]
==
'
meta
'
:
with
open
(
'
DESCRIPTION
'
,
'
rb
'
)
as
mdin
,
open
(
'
metadata.json
'
,
'
wb
'
)
as
mdout
:
description
=
mdin
.
read
().
strip
()
with
open
(
os
.
path
.
join
(
box
,
'
metadata.json
'
),
'
wb
'
)
as
mdout
:
mdout
.
write
(
'''
{
mdout
.
write
(
'''
{
"
description
"
:
"
%s
"
,
"
short_description
"
:
"
%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