From 813b14018ed23db5def3a486262ee66a8723be37 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Mon, 13 Jan 2020 13:36:35 -0700 Subject: [PATCH] Fix CI build steps for new environment. Some of the CI stuff requires the autogenerated files to be present. Easiest way to get them all is to build the thing. Previously this was done in an install stage, but we don't do that anymore. --- .buildkite/pipeline.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.buildkite/pipeline.yaml b/.buildkite/pipeline.yaml index e5ee817934..a8ce1273fb 100644 --- a/.buildkite/pipeline.yaml +++ b/.buildkite/pipeline.yaml @@ -33,12 +33,13 @@ steps: queue: "medium" command: - "echo '--- Install js-sdk'" - # Run tests # TODO: Remove hacky chmod for BuildKite - "chmod +x ./scripts/ci/*.sh" - "chmod +x ./scripts/*" - "echo '--- Installing Dependencies'" - "./scripts/ci/install-deps.sh" + - "echo '--- Running initial build steps'" + - "yarn build" - "echo '+++ Running Tests'" - "yarn test" plugins: @@ -49,6 +50,7 @@ steps: command: - "echo '--- Install js-sdk'" - "./scripts/ci/install-deps.sh" + - "echo '+++ Building Project'" - "yarn build" plugins: - docker#v3.0.1: @@ -66,6 +68,9 @@ steps: - "chmod +x ./scripts/*" - "echo '--- Install js-sdk'" - "./scripts/ci/install-deps.sh" + - "echo '--- Running initial build steps'" + - "yarn build" + - "echo '+++ Running Tests'" - "./scripts/ci/end-to-end-tests.sh" plugins: - docker#v3.0.1: @@ -84,12 +89,13 @@ steps: - "sh -c 'echo \"deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main\" >> /etc/apt/sources.list.d/google.list'" - "apt-get update" - "apt-get install -y google-chrome-stable" - # Run tests # TODO: Remove hacky chmod for BuildKite - "chmod +x ./scripts/ci/*.sh" - "chmod +x ./scripts/*" - "echo '--- Installing Dependencies'" - "./scripts/ci/install-deps.sh" + - "echo '--- Running initial build steps'" + - "yarn build" - "echo '+++ Running Tests'" - "./scripts/ci/riot-unit-tests.sh" env: