From 6d7d7c77e3dedf2a6efdfa279f81a979c138e78e Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Wed, 24 Oct 2018 16:51:00 +0300 Subject: [PATCH] ci: only publish builds if relevant `aio` jobs pass (#26722) Some of the `aio`-/`docs`-related jobs rely on the locally built Angular packages. When these jobs fail, it could mean that there is an issue with the Angular packages (e.g. an unintentional breaking change). This commit ensures that the `publish_artifacts` job is not run, unless those `aio`-/`docs`-related jobs pass. (The `test_aio_tools` job also uses the locally built Angular packages, but it does not exercise them in a meaningful way to be worth making it a prerequisite for `publish_artifacts`.) PR Close #26722 --- .circleci/config.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index c25bf5c786..3613592615 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -427,6 +427,10 @@ workflows: - test_ivy_jit - test_ivy_aot - integration_test + # Only publish if `aio`/`docs` tests using the locally built Angular packages pass + - test_aio_local + - test_docs_examples_0 + - test_docs_examples_1 # Get the artifacts to publish from the build-packages-dist job # since the publishing script expects the legacy outputs layout. - build-packages-dist