diff --git a/.drone.yml b/.drone.yml index 805d086f3e9ce..633c20d347a45 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,8 +1,8 @@ kind: pipeline name: default -concurrency: - limit: 1 +# concurrency: +# limit: 1 anchors: docker_build_config: &docker_build_config @@ -29,10 +29,11 @@ anchors: - GITHUB_TOKEN steps: - # - name: gradle_build_frontend - # image: gradle:jdk11 - # commands: - # - ./gradlew :datahub-frontend:build :datahub-web-react:build --parallel + - name: gradle_build_frontend + image: gradle:jdk11 + commands: + - ./gradlew :datahub-frontend:dist -x test -x yarnTest -x yarnLint --parallel + - mv ./datahub-frontend/build/distributions/datahub-frontend-*.zip datahub-frontend.zip - name: docker_build_frontend <<: *docker_build_config @@ -43,5 +44,5 @@ steps: - "org.fundingcircle.image.manager=data-platform@fundingcircle.com" cache_from: - 131063299351.dkr.ecr.eu-west-1.amazonaws.com/datahub-frontend:${DRONE_BRANCH//\//-} - # depends_on: - # - gradle_build_frontend + depends_on: + - gradle_build_frontend