zebra/.github
teor 67dc26fbb5
fix(ci): Split Docker logs into sprout, other checkpoints, and full validation (#4704)
* Checkout zebra in each job to avoid warnings

But put TODOs where we might be able to skip checkouts

* Split log following into sprout checkpoints, sapling/orchard checkpoints, and full validation

* Make job IDs shorter

* Use /dev/stderr because docker doesn't have a tty

* remove pipefail

* Revert "remove pipefail"

This reverts commit a7ee37bebdc107a4215e7dd307b189d925969234.

* Make tee ignore errors writing to a grep pipe

* Avoid launching multiple docker instances for duplicate jobs

* Ignore broken pipe error messages and statuses

* fix(ci): docker wait not finding container

We had this issue before, I can't recall if this was a parsing error between GitHub Actions and gcloud `--command` parsing, but we had to change this into two pieces.

This implementation keeps it how we did it before 9b9578c999/.github/workflows/test.yml (L235-L243)

* docs: remove pending TODO

We can't remove  `actions/checkout` nor set `create_credentials_file` to `false` as next steps won't be able to authenticate to GCP.

We can surely remove `actions/checkout` and leave `create_credentials_file` as `true`, but this will raise a warning on each step, and there's no benefit of doing so.

* Show `docker wait` and `gcloud ssh` output

* If `docker wait` fails, get the exit code using `docker inspect`

Co-authored-by: Conrado Gouvea <conrado@zfnd.org>
Co-authored-by: Gustavo Valverde <gustavo@iterativo.do>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-06-30 10:33:01 +00:00
..
ISSUE_TEMPLATE Remove "solution" from the ticket template (#2385) 2021-06-24 10:43:27 +01:00
PULL_REQUEST_TEMPLATE Change the order of instructions for creating a release (#4595) 2022-06-13 21:26:58 +00:00
workflows fix(ci): Split Docker logs into sprout, other checkpoints, and full validation (#4704) 2022-06-30 10:33:01 +00:00
CODEOWNERS fix(ci): validate tests exit code after reading the container logs (#3968) 2022-04-07 23:16:40 +00:00
dependabot.yml style(ci): lint and standardize the actions structure (#3940) 2022-04-12 15:06:37 +10:00
mergify.yml ci(mergify): do not create draft PRs if not needed (#4540) 2022-06-01 14:40:56 -04:00
pull_request_template.md Update GitHub and RFC templates based on retrospectives (#2242) 2021-06-04 14:40:53 +10:00
release-drafter.yml Enable Release Drafter workflow 2021-01-29 17:33:38 -05:00
zbot.yml Create zbot.yml 2020-06-13 06:15:20 -04:00