Compare commits
14 Commits
feat/jenki
...
stable
Author | SHA1 | Date |
---|---|---|
pcaseiro | 6ff4c2d834 | |
Philippe Caseiro | d550141b92 | |
Philippe Caseiro | 4f60cdebdb | |
pcaseiro | 4fbe432ebf | |
pcaseiro | 80d03bf7e8 | |
pcaseiro | 5eb1f4b610 | |
Philippe Caseiro | 0e16682b0f | |
pcaseiro | a0fe89e310 | |
pcaseiro | 6015496fa0 | |
pcaseiro | 61c8b8d50b | |
Philippe Caseiro | 8af5526c7a | |
pcaseiro | 39f7bc12b5 | |
pcaseiro | 96884e4e56 | |
pcaseiro | 3f098b691a |
3
init-app
3
init-app
|
@ -73,10 +73,11 @@ init_app() {
|
||||||
return 2
|
return 2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
git clone --branch "feat/automation" ${SKELL_GIT_URL} ${appDest}
|
git clone ${SKELL_GIT_URL} ${appDest}
|
||||||
|
|
||||||
cd ${appDest}
|
cd ${appDest}
|
||||||
rm -rf .git
|
rm -rf .git
|
||||||
|
rm -rf init-app
|
||||||
|
|
||||||
echo "Setting Dockerfiles"
|
echo "Setting Dockerfiles"
|
||||||
dirs=$(find ${DOCKERFILES_ROOT}/* -type d -name 'myapplication-*')
|
dirs=$(find ${DOCKERFILES_ROOT}/* -type d -name 'myapplication-*')
|
||||||
|
|
|
@ -40,15 +40,15 @@ spec:
|
||||||
name: myapplication-nginx
|
name: myapplication-nginx
|
||||||
args: ["/usr/sbin/nginx"]
|
args: ["/usr/sbin/nginx"]
|
||||||
env:
|
env:
|
||||||
- name: NGINX_myapplication_UPSTREAM_BACKEND_SERVER
|
- name: NGINX_APP_UPSTREAM_BACKEND_SERVER
|
||||||
value: 127.0.0.1:9000
|
value: 127.0.0.1:9000
|
||||||
- name: NGINX_myapplication_ROOT
|
- name: NGINX_APP_ROOT
|
||||||
value: "/public"
|
value: "/public"
|
||||||
- name: NGINX_myapplication_PHP_INDEX
|
- name: NGINX_APP_PHP_INDEX
|
||||||
value: "/index.php"
|
value: "/index.php"
|
||||||
- name: NGINX_ERROR_LOG_LEVEL
|
- name: NGINX_ERROR_LOG_LEVEL
|
||||||
value: "warn"
|
value: "warn"
|
||||||
- name: NGINX_myapplication_PHP_NON_FILE_PATTERN
|
- name: NGINX_APP_PHP_NON_FILE_PATTERN
|
||||||
value: "^/index\\.php(/|$)"
|
value: "^/index\\.php(/|$)"
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
- op: add
|
||||||
|
path: "/spec/template/spec/imagePullSecrets"
|
||||||
|
value:
|
||||||
|
- name: regcred-dev
|
|
@ -18,4 +18,4 @@ spec:
|
||||||
service:
|
service:
|
||||||
name: myapplication
|
name: myapplication
|
||||||
port:
|
port:
|
||||||
number: 8080
|
number: 80
|
||||||
|
|
Loading…
Reference in New Issue