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
92dd61d9
There was a problem fetching the latest pipeline status.
Commit
92dd61d9
authored
8 years ago
by
Piotr Maślanka
Browse files
Options
Downloads
Patches
Plain Diff
```
parent
c654c777
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#624
failed with stage
in 28 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+6
-22
6 additions, 22 deletions
.gitlab-ci.yml
example/README.md
+7
-0
7 additions, 0 deletions
example/README.md
make.py
+1
-1
1 addition, 1 deletion
make.py
with
14 additions
and
23 deletions
.gitlab-ci.yml
+
6
−
22
View file @
92dd61d9
deploy_example
:
stage
:
deploy
tags
:
-
vagrant
-
develop19216822423
check_validity
:
stage
:
test
script
:
-
vagrant box remove henrietta/example ||
true
-
vagrant box add henrietta/example file:///var/www/html/dev/vagrant/example.box
build_example
:
stage
:
build
tags
:
-
vagrant
-
develop19216822423
before_script
:
-
cp *.sh example/
-
cp SkeletonVagrantfile example/Vagrantfile
-
cd example
-
python make.py newbox test
-
cd test
-
python ../make.py meta
script
:
-
grep "1.0" metadata.json
-
grep "example" metadata.json
-
vagrant up
-
vagrant package --out example.box
-
mv -f example.box /var/www/html/dev/vagrant/example.box
-
cd ..
after_script
:
-
vagrant destroy -f
-
cd ..
This diff is collapsed.
Click to expand it.
example/README.md
+
7
−
0
View file @
92dd61d9
...
...
@@ -11,6 +11,13 @@ This section will be automatically replaced by `python make.py` with auto-genera
content of Vagrantfile that will refer to this box
---
Usage in Vagrantfile:
```
config.vm.box = "henrietta/example"
config.vm.box_url = "http://dev.dms-serwis.com.pl/vagrant/example.box"
``
---
Usage in Vagrantfile:
```
config.vm.box = "henrietta/example"
...
...
This diff is collapsed.
Click to expand it.
make.py
+
1
−
1
View file @
92dd61d9
...
...
@@ -42,7 +42,7 @@ def writefile(content, path, prefix=None):
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
)
and
(
dir
not
in
(
'
.git
'
,
'
example
'
)
)]
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
'
)]
...
...
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