sourcegraph/dev
Manuel Ucles 0004d6410a
ci: error handle story book build fail (#52428)
Automatically fail Buildkite build step `:chromatic: Upload Storybook to
Chromatic` if Chromatic storybook build fails.

Previously, if the Chromatic deployment failed to build for some reason,
the build would still succeed. Making the report unreliable

This change adds a check to see if the `pnpm chromatic` exit status is
non zero, and If so, the script will immediately exit with a failure,
causing the Buildkite build to be marked as failed.

context:
https://sourcegraph.slack.com/archives/C04MYFW01NV/p1684969967117259

## Test plan
ci 
<!-- All pull requests REQUIRE a test plan:
https://docs.sourcegraph.com/dev/background-information/testing_principles
-->
2023-05-24 20:29:42 -07:00
..
adr-docs bazel: introduce build files for Go (#46770) 2023-01-23 14:00:01 +01:00
auth-provider Remove left-over mentions of dev/start.sh (#25745) 2021-10-07 16:38:00 +02:00
authtest cloud: guard o11y for non-operator users (#51331) 2023-05-05 16:35:23 +00:00
backcompat ranking: Make map and reduce steps atomic and non-continuous (#51214) 2023-05-09 17:00:06 -05:00
bkstats bazel: introduce build files for Go (#46770) 2023-01-23 14:00:01 +01:00
build-tracker ci: enable bazel builds for docker images (#51241) 2023-04-28 10:41:13 +02:00
buildchecker remove okayhq usage in buildchecker (#50107) 2023-03-30 14:53:20 +02:00
check ci: add annotation for linters (#51800) 2023-05-15 17:40:58 +00:00
ci ci: error handle story book build fail (#52428) 2023-05-24 20:29:42 -07:00
codeintel-qa [language platform] Updates failing QA tests (#51669) 2023-05-11 09:15:31 -06:00
corrupt-archives bazel: introduce build files for Go (#46770) 2023-01-23 14:00:01 +01:00
db dev/deb: Remove scripts replaced by sg (#28767) 2021-12-08 23:22:00 +00:00
depgraph Update buildfiles + fix analysis (#50013) 2023-03-27 12:11:46 +02:00
dx bazel: build //enterprise (#47327) 2023-02-07 15:30:46 +01:00
gqltest (feat) make "repository-metadata" feature flag enabled by default (#52301) 2023-05-24 18:36:17 +06:00
grafana dev/sg: introduce 'sg ci logs' with Loki support (#25835) 2021-10-12 11:14:50 -04:00
internal/cmd Revert "Revert "grpc: create interceptors to log / chart errors that seem like they come from go-grpc (#51749) (#52083)" (#52090) 2023-05-17 20:04:10 +00:00
linters bazel: add unparam nogo linter (#50730) 2023-04-18 10:03:35 +00:00
nix nix: update p4 fusion openssl3 (#51913) 2023-05-23 12:49:08 +02:00
perforce bazel: fix buf files (#49444) 2023-03-15 20:21:38 +00:00
perforce-testing-helpers ci: update the use of perforce.sgdev to perforce-tests.sgdev (#50664) 2023-04-17 17:42:28 -07:00
phabricator web: migrate from yarn to pnpm (#46143) 2023-01-11 19:50:09 -08:00
pr-auditor Update rules_rust to fix the issue with repinning the rust crates (#49698) 2023-03-21 11:02:33 +01:00
prometheus Add embeddings to server behind env var (#50288) 2023-04-04 16:45:50 +02:00
release release-tool: remove release publishing cherrypick step (#52157) 2023-05-18 15:24:11 +00:00
scaletesting [github app] Add GitHub App authenticators (#50963) 2023-04-24 09:05:50 +02:00
sg sg: run generate buf only with changes (#52128) 2023-05-22 19:14:22 +02:00
src-expose ci: enable bazel builds for docker images (#51241) 2023-04-28 10:41:13 +02:00
team bazel: introduce build files for Go (#46770) 2023-01-23 14:00:01 +01:00
tilt Remove left-over mentions of dev/start.sh (#25745) 2021-10-07 16:38:00 +02:00
zoekt zoekt: set -indexserver_proxy for webserver (#44995) 2022-12-02 08:38:44 +01:00
.gitignore
add_https_domain_to_hosts.sh
babel.bzl bazel: rename arg to follow convention (#50627) 2023-04-14 04:46:45 +00:00
bazel_buildkite_stamp_vars.sh bazel: test volatile variables with Percy (#51693) 2023-05-11 09:20:42 +00:00
bazel_stamp_vars.sh app: tauri+bazel; fix permissions issue / enable Tauri API access from localhost:3080 (#51335) 2023-05-02 16:28:26 +00:00
BUILD.bazel bazel: client e2e tests (#50330) 2023-04-13 04:01:37 -07:00
caddy.sh Bump caddy version (#26329) 2021-10-19 22:06:22 +00:00
Caddyfile dev/Caddyfile: use 127.0.0.1 instead of localhost (#38955) 2022-07-18 13:19:09 -07:00
CLA.txt
codecov.yml vscode: ignore vscode in Codecov (#32676) 2022-03-16 11:28:28 -04:00
codeinsights-db.sh insights: update references to TimescaleDB (#32948) 2022-03-29 11:04:47 +01:00
comby-install-or-upgrade.sh update team reviewers (#50119) 2023-04-03 16:36:12 +02:00
ctags-install.sh dev: add installer script for building a local universal-ctag (#45198) 2022-12-06 18:32:21 +01:00
defs.bzl bazel: implement custom ESLint Bazel rule (#52062) 2023-05-22 04:05:45 -07:00
dev-sourcegraph-server.sh
docsite.sh doc: fix bad and broken links (#51902) 2023-05-12 17:57:43 -04:00
drop-entire-local-database-and-redis.sh all: /bin/bash -> /usr/bin/env bash (#23673) 2021-08-06 12:02:43 +02:00
eslint.bzl bazel: implement custom ESLint Bazel rule (#52062) 2023-05-22 04:05:45 -07:00
foreach-non-web-client-project.sh Cody: Add E2E test setup based on Playwright (#52071) 2023-05-19 19:11:52 +02:00
git-stats search: create and document git-stats script (#32663) 2022-03-16 13:41:17 +02:00
global-settings.json codeintel: Revive braindot (#49128) 2023-03-13 13:33:39 +00:00
go-mod-update.sh
js_lib.bzl bazel: implement custom ESLint Bazel rule (#52062) 2023-05-22 04:05:45 -07:00
licenses.sh rework plugin structure and implement frontside blogpost (#46883) 2023-02-15 11:49:51 +02:00
mocha.bzl bazel: test volatile variables with Percy (#51693) 2023-05-11 09:20:42 +00:00
postgres_exporter.sh migrations: Update postgres exporter queries for dirty database (#30774) 2022-02-10 17:40:09 -06:00
proto.bzl fix: gazelle and proto generation (continuation of #49547) (#49713) 2023-04-11 11:36:45 +02:00
prune-pick.sh
redis-postgres.yml Update Postgres to 12.7 (#31933) 2022-03-03 14:39:52 -06:00
redis.conf Local dev with docker-compose (#23537) 2021-08-06 22:11:40 +00:00
run-server-image.sh bazel: client e2e tests (#50330) 2023-04-13 04:01:37 -07:00
sass.bzl Buildifier fixes (#48691) 2023-03-07 10:15:26 +01:00
site-config.json Always disable user external service mode in UI (#44721) 2022-11-23 14:49:03 +01:00
src-prof-services.json Add embeddings to server behind env var (#50288) 2023-04-04 16:45:50 +02:00
src-search-meta.sh GraphQL: remove deprecated resultCount field (#31573) 2022-02-21 12:03:36 -07:00
tools.go llm-proxy: add graphql client generator (#51318) 2023-05-02 10:53:31 -07:00
universal-ctags-dev dev: add installer script for building a local universal-ctag (#45198) 2022-12-06 18:32:21 +01:00
webpack.bzl bazel: test bundlesize report ts (#50847) 2023-04-27 19:11:06 -07:00