mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git
synced 2026-08-19 04:24:12 +00:00
Setup dev.portal.izyim.com
This commit is contained in:
@@ -28,3 +28,4 @@ storage/framework/laravel-excel/*
|
||||
.vapor/
|
||||
.env.production
|
||||
.env.staging
|
||||
.env.development
|
||||
|
||||
Vendored
+5
-1
@@ -23,6 +23,7 @@ pipeline {
|
||||
switch(GIT_BRANCH) {
|
||||
case "vapor/production":
|
||||
case "vapor/staging":
|
||||
case "vapor/development":
|
||||
git(
|
||||
url: 'https://gitlab.com/CIEFWorldwideSdnBhd/shipping-portal.git',
|
||||
credentialsId: 'gitlab-jenkins-localhost',
|
||||
@@ -65,8 +66,11 @@ pipeline {
|
||||
case "vapor/staging":
|
||||
sh "vendor/bin/vapor deploy staging --message='${gitCommitMessage}'"
|
||||
break
|
||||
case "vapor/development":
|
||||
sh "vendor/bin/vapor deploy development --message='${gitCommitMessage}'"
|
||||
break
|
||||
case "origin/dillon/34-jenkins-vapor":
|
||||
sh "vendor/bin/vapor deploy staging --message='${gitCommitMessage}'"
|
||||
sh "vendor/bin/vapor deploy development --message='${gitCommitMessage}'"
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
FROM laravelphp/vapor:php74
|
||||
|
||||
COPY . /var/task
|
||||
@@ -31,3 +31,18 @@ environments:
|
||||
- 'gulp build'
|
||||
deploy:
|
||||
- 'php artisan migrate --force'
|
||||
development:
|
||||
domain: dev.portal.izyim.com
|
||||
memory: 1024
|
||||
cli-memory: 512
|
||||
database: vapor-laravel-poc-db
|
||||
storage: shipping-portal-development
|
||||
runtime: 'docker'
|
||||
timeout: 180
|
||||
build:
|
||||
- 'composer update'
|
||||
- 'npm install'
|
||||
- 'npm run dev'
|
||||
- 'gulp build'
|
||||
deploy:
|
||||
- 'php artisan migrate --force'
|
||||
|
||||
Reference in New Issue
Block a user