From 1880c9531ff6e6e089716d53ea78861f821d8e4c 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 1e93e8a61d..4ae9eeb2f3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -423,6 +423,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