|
|
|
@ -1,21 +1,3 @@ |
|
|
|
|
#kind: pipeline |
|
|
|
|
#type: kubernetes |
|
|
|
|
#name: front-end |
|
|
|
|
# |
|
|
|
|
#steps: |
|
|
|
|
#- name: install dependencies |
|
|
|
|
# image: node |
|
|
|
|
# commands: |
|
|
|
|
# - npm install |
|
|
|
|
# - cd client && npm install; cd .. |
|
|
|
|
# |
|
|
|
|
#- name: front-end build |
|
|
|
|
# image: node |
|
|
|
|
# commands: |
|
|
|
|
# - cd client && npm run-script build; cd .. |
|
|
|
|
|
|
|
|
|
--- |
|
|
|
|
|
|
|
|
|
kind: pipeline |
|
|
|
|
type: kubernetes |
|
|
|
|
name: back-end |
|
|
|
@ -33,3 +15,21 @@ steps: |
|
|
|
|
- cd server && npm test; cd .. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#kind: pipeline |
|
|
|
|
#type: kubernetes |
|
|
|
|
#name: front-end |
|
|
|
|
# |
|
|
|
|
#steps: |
|
|
|
|
#- name: install dependencies |
|
|
|
|
# image: node |
|
|
|
|
# commands: |
|
|
|
|
# - npm install |
|
|
|
|
# - cd client && npm install; cd .. |
|
|
|
|
# |
|
|
|
|
#- name: front-end build |
|
|
|
|
# image: node |
|
|
|
|
# commands: |
|
|
|
|
# - cd client && npm run-script build; cd .. |
|
|
|
|
# |
|
|
|
|
#--- |
|
|
|
|
# |