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
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:
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**
.
Only it will then rebuild upon commit.
\ No newline at end of file
Only it will then rebuild upon commit.
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__':
with
open
(
'
.gitlab-ci.yml
'
,
'
wb
'
)
as
ci
:
ci
.
write
(
b
'''
.job_template: &box_build_job
'''
)
for
box
in
boxes
:
ci
.
write
(
b
'''
build_%s:
<<: *box_build_job
only:
- master
- /^$BOX\-(.*)$/
stage: build
before_script:
- python make.py
...
...
@@ -30,21 +41,7 @@ if __name__ == '__main__':
- cd ..
after_script:
- vagrant destroy -f
'''
)
for
box
in
boxes
:
ci
.
write
(
b
'''
build_%s:
<<: *box_build_job
variables:
BOX:
"
%s
"
PREFIX:
"
henrietta/
"
only:
- master
- /^%s\-(.*)$/
'''
%
(
box
,
box
,
box
))
'''
.
replace
(
'
$BOX
'
,
box
).
replace
(
'
$PREFIX
'
,
'
henrietta/
'
))
# Generate metadata
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