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
ea933e64
There was a problem fetching the latest pipeline status.
Commit
ea933e64
authored
8 years ago
by
Piotr Maślanka
Browse files
Options
Downloads
Patches
Plain Diff
meta
parent
a6cdaced
No related branches found
No related tags found
No related merge requests found
Pipeline
#606
skipped with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+6
-15
6 additions, 15 deletions
.gitlab-ci.yml
make.py
+2
-11
2 additions, 11 deletions
make.py
with
8 additions
and
26 deletions
.gitlab-ci.yml
+
6
−
15
View file @
ea933e64
stages
:
-
build
-
deploy
deploy_localhost
:
stage
:
deploy
environment
:
name
:
local
url
:
http://dev.dms-serwis.com.pl
script
:
deploy_cassandra
:
deploy_cassandra
:
when
:
manual
when
:
manual
stage
:
deploy
stage
:
deploy
...
@@ -16,7 +7,7 @@ deploy_cassandra:
...
@@ -16,7 +7,7 @@ deploy_cassandra:
-
develop19216822423
-
develop19216822423
script
:
script
:
-
vagrant box remove henrietta//cassandra
-
vagrant box remove henrietta//cassandra
-
vagrant box add henrietta/
/cassandra file:///var/www/html/dev/vagrant/cassandra.box
-
vagrant box add henrietta//cassandra file:///var/www/html/dev/vagrant/cassandra.box
build_cassandra
:
build_cassandra
:
when
:
manual
when
:
manual
stage
:
build
stage
:
build
...
@@ -45,7 +36,7 @@ deploy_cass_zk_rmq:
...
@@ -45,7 +36,7 @@ deploy_cass_zk_rmq:
-
develop19216822423
-
develop19216822423
script
:
script
:
-
vagrant box remove henrietta//cass_zk_rmq
-
vagrant box remove henrietta//cass_zk_rmq
-
vagrant box add henrietta/
/cass_zk_rmq file:///var/www/html/dev/vagrant/cass_zk_rmq.box
-
vagrant box add henrietta//cass_zk_rmq file:///var/www/html/dev/vagrant/cass_zk_rmq.box
build_cass_zk_rmq
:
build_cass_zk_rmq
:
when
:
manual
when
:
manual
stage
:
build
stage
:
build
...
@@ -74,7 +65,7 @@ deploy_czr_pythons:
...
@@ -74,7 +65,7 @@ deploy_czr_pythons:
-
develop19216822423
-
develop19216822423
script
:
script
:
-
vagrant box remove henrietta//czr_pythons
-
vagrant box remove henrietta//czr_pythons
-
vagrant box add henrietta/
/czr_pythons file:///var/www/html/dev/vagrant/czr_pythons.box
-
vagrant box add henrietta//czr_pythons file:///var/www/html/dev/vagrant/czr_pythons.box
build_czr_pythons
:
build_czr_pythons
:
when
:
manual
when
:
manual
stage
:
build
stage
:
build
...
@@ -103,7 +94,7 @@ deploy_czr_pythons_pg:
...
@@ -103,7 +94,7 @@ deploy_czr_pythons_pg:
-
develop19216822423
-
develop19216822423
script
:
script
:
-
vagrant box remove henrietta//czr_pythons_pg
-
vagrant box remove henrietta//czr_pythons_pg
-
vagrant box add henrietta/
/czr_pythons_pg file:///var/www/html/dev/vagrant/czr_pythons_pg.box
-
vagrant box add henrietta//czr_pythons_pg file:///var/www/html/dev/vagrant/czr_pythons_pg.box
build_czr_pythons_pg
:
build_czr_pythons_pg
:
when
:
manual
when
:
manual
stage
:
build
stage
:
build
...
@@ -132,7 +123,7 @@ deploy_nodejs4:
...
@@ -132,7 +123,7 @@ deploy_nodejs4:
-
develop19216822423
-
develop19216822423
script
:
script
:
-
vagrant box remove henrietta//nodejs4
-
vagrant box remove henrietta//nodejs4
-
vagrant box add henrietta/
/nodejs4 file:///var/www/html/dev/vagrant/nodejs4.box
-
vagrant box add henrietta//nodejs4 file:///var/www/html/dev/vagrant/nodejs4.box
build_nodejs4
:
build_nodejs4
:
when
:
manual
when
:
manual
stage
:
build
stage
:
build
...
@@ -161,7 +152,7 @@ deploy_nodejs5_jdk_adk25:
...
@@ -161,7 +152,7 @@ deploy_nodejs5_jdk_adk25:
-
develop19216822423
-
develop19216822423
script
:
script
:
-
vagrant box remove henrietta//nodejs5_jdk_adk25
-
vagrant box remove henrietta//nodejs5_jdk_adk25
-
vagrant box add henrietta/
/nodejs5_jdk_adk25 file:///var/www/html/dev/vagrant/nodejs5_jdk_adk25.box
-
vagrant box add henrietta//nodejs5_jdk_adk25 file:///var/www/html/dev/vagrant/nodejs5_jdk_adk25.box
build_nodejs5_jdk_adk25
:
build_nodejs5_jdk_adk25
:
when
:
manual
when
:
manual
stage
:
build
stage
:
build
...
...
This diff is collapsed.
Click to expand it.
make.py
+
2
−
11
View file @
ea933e64
...
@@ -15,16 +15,7 @@ if __name__ == '__main__':
...
@@ -15,16 +15,7 @@ if __name__ == '__main__':
if
len
(
sys
.
argv
)
==
1
:
if
len
(
sys
.
argv
)
==
1
:
# Generate Gitlab CI file
# Generate Gitlab CI file
with
open
(
'
.gitlab-ci.yml
'
,
'
wb
'
)
as
ci
:
with
open
(
'
.gitlab-ci.yml
'
,
'
wb
'
)
as
ci
:
ci
.
write
(
'''
stages:
- build
- deploy
deploy_localhost:
stage: deploy
environment:
name: local
url: http://dev.dms-serwis.com.pl
script:
'''
)
for
box
in
boxes
:
for
box
in
boxes
:
ci
.
write
(
'''
ci
.
write
(
'''
deploy_$BOX:
deploy_$BOX:
...
@@ -35,7 +26,7 @@ deploy_$BOX:
...
@@ -35,7 +26,7 @@ deploy_$BOX:
- develop19216822423
- develop19216822423
script:
script:
- vagrant box remove $PREFIX/$BOX
- vagrant box remove $PREFIX/$BOX
- vagrant box add $PREFIX
/$BOX file:///var/www/html/dev/vagrant/$BOX.box
- vagrant box add $PREFIX/$BOX file:///var/www/html/dev/vagrant/$BOX.box
build_$BOX:
build_$BOX:
when: manual
when: manual
stage: build
stage: build
...
...
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