fix: Attempt to fix broken build

This commit is contained in:
2021-02-09 15:42:43 +01:00
parent c82a7f0fa1
commit 79e95cecfa

View File

@@ -1,3 +1,4 @@
---
kind: pipeline kind: pipeline
type: docker type: docker
name: frontend name: frontend
@@ -23,14 +24,6 @@ steps:
- cd frontend - cd frontend
- yarn - yarn
# - name: Run unit tests
# image: node
# environment:
# CI: true
# commands:
# - cd frontend
# - yarn test
- name: Build and push frontend image - name: Build and push frontend image
image: plugins/docker image: plugins/docker
settings: settings:
@@ -61,9 +54,7 @@ steps:
- frontend/node_modules - frontend/node_modules
when: when:
event: push event: push
status: status: [ success, failure ]
- success
- failure
- name: Flush cache - name: Flush cache
image: plugins/s3-cache:1 image: plugins/s3-cache:1
@@ -79,17 +70,12 @@ steps:
debug: true debug: true
filename: frontend.tar filename: frontend.tar
when: when:
status: status: [ success, failure ]
- success
- failure
trigger: trigger:
branch: branch: release/*
- release/* event: tag
event: ref: refs/tags/* # only trigger when tagging
- tag
ref:
- refs/tags/* # only trigger when tagging
--- ---
kind: pipeline kind: pipeline
@@ -118,14 +104,6 @@ steps:
- ls -la - ls -la
- yarn - yarn
# - name: Run unit tests
# image: node
# environment:
# CI: true
# commands:
# - cd frontend
# - yarn test
- name: Build and push frontend dev image - name: Build and push frontend dev image
image: plugins/docker image: plugins/docker
settings: settings:
@@ -156,9 +134,7 @@ steps:
- frontend/node_modules - frontend/node_modules
when: when:
event: push event: push
status: status: [ success, failure ]
- success
- failure
- name: Flush cache - name: Flush cache
image: plugins/s3-cache:1 image: plugins/s3-cache:1
@@ -179,12 +155,8 @@ steps:
- failure - failure
trigger: trigger:
branch: event: [ push, pull_request ]
exclude: branch: [ master, feature/* ]
- release/*
event:
exclude:
- tag
--- ---
kind: pipeline kind: pipeline
@@ -219,11 +191,6 @@ steps:
- ls -la - ls -la
- npm run test:cov - npm run test:cov
# - name: Run E2E tests
# image: node
# - cd backend
# - npm run test:e2e
- name: Build and push backend image - name: Build and push backend image
image: plugins/docker image: plugins/docker
settings: settings:
@@ -254,9 +221,7 @@ steps:
- backend/node_modules - backend/node_modules
when: when:
event: push event: push
status: status: [ success, failure ]
- success
- failure
- name: Flush cache - name: Flush cache
image: plugins/s3-cache:1 image: plugins/s3-cache:1
@@ -272,17 +237,12 @@ steps:
debug: true debug: true
filename: backend.tar filename: backend.tar
when: when:
status: status: [ success, failure ]
- success
- failure
trigger: trigger:
branch: branch: release/*
- release/* event: tag
event: ref: refs/tags/* # only trigger when tagging
- tag
ref:
- refs/tags/* # only trigger when tagging
--- ---
kind: pipeline kind: pipeline
@@ -316,11 +276,6 @@ steps:
- cd backend - cd backend
- npm run test:cov - npm run test:cov
# - name: Run E2E tests
# image: node
# - cd backend
# - npm run test:e2e
- name: Build and push backend dev image - name: Build and push backend dev image
image: plugins/docker image: plugins/docker
settings: settings:
@@ -351,9 +306,7 @@ steps:
- backend/node_modules - backend/node_modules
when: when:
event: push event: push
status: status: [ success, failure ]
- success
- failure
- name: Flush cache - name: Flush cache
image: plugins/s3-cache:1 image: plugins/s3-cache:1
@@ -369,14 +322,8 @@ steps:
debug: true debug: true
filename: backend-dev.tar filename: backend-dev.tar
when: when:
status: status: [ success, failure ]
- success
- failure
trigger: trigger:
branch: event: [ push, pull_request ]
exclude: branch: [ master, feature/* ]
- release/*
event:
exclude:
- tag