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
3eb2ac14
There was a problem fetching the latest pipeline status.
Commit
3eb2ac14
authored
8 years ago
by
Piotr Maślanka
Browse files
Options
Downloads
Patches
Plain Diff
build test
parent
a8c7d162
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#588
failed with stage
in 24 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+4
-1
4 additions, 1 deletion
README.md
make.py
+12
-15
12 additions, 15 deletions
make.py
with
16 additions
and
16 deletions
README.md
+
4
−
1
View file @
3eb2ac14
...
@@ -19,4 +19,7 @@ Click on particular boxes to see description and how to use:
...
@@ -19,4 +19,7 @@ Click on particular boxes to see description and how to use:
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**
.
Only it will then rebuild upon commit.
Only it will then rebuild upon commit.
\ No newline at end of file
Boxes, after being built, will be automatically available at
[
http://dev.dms-serwis.com.pl/vagrant/
](
http://dev.dms-serwis.com.pl/vagrant/
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
make.py
+
12
−
15
View file @
3eb2ac14
...
@@ -13,6 +13,17 @@ if __name__ == '__main__':
...
@@ -13,6 +13,17 @@ if __name__ == '__main__':
with
open
(
'
.gitlab-ci.yml
'
,
'
wb
'
)
as
ci
:
with
open
(
'
.gitlab-ci.yml
'
,
'
wb
'
)
as
ci
:
ci
.
write
(
b
'''
ci
.
write
(
b
'''
.job_template: &box_build_job
.job_template: &box_build_job
'''
)
for
box
in
boxes
:
ci
.
write
(
b
'''
build_%s:
<<: *box_build_job
only:
- master
- /^$BOX\-(.*)$/
stage: build
stage: build
before_script:
before_script:
- python make.py
- python make.py
...
@@ -30,21 +41,7 @@ if __name__ == '__main__':
...
@@ -30,21 +41,7 @@ if __name__ == '__main__':
- cd ..
- cd ..
after_script:
after_script:
- vagrant destroy -f
- vagrant destroy -f
'''
.
replace
(
'
$BOX
'
,
box
).
replace
(
'
$PREFIX
'
,
'
henrietta/
'
))
'''
)
for
box
in
boxes
:
ci
.
write
(
b
'''
build_%s:
<<: *box_build_job
variables:
BOX:
"
%s
"
PREFIX:
"
henrietta/
"
only:
- master
- /^%s\-(.*)$/
'''
%
(
box
,
box
,
box
))
# Generate metadata
# Generate metadata
for
box
in
boxes
:
for
box
in
boxes
:
...
...
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