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