Zebra/.github/workflows
Gustavo Valverde 85bcbbdf16
ci: add a test to check that the Docker image config works (#5968)
* ci: add a test to validate Zebra's config file and path

* fix: use `ZEBRA_CONF_PATH` as single variable locating the conf

* fix: do not remove the containers

* fix: use extended regex

* fix: use different steps to validate the conf tests

* fix: do not specify a default CMD for running Docker in test builds

* fix: use actual starting commands for entrypoint

* fix: do not add cargo twice if cargo is in $1

* fix: allow to run `zebrad` in the `tests` stage of Dockerfile

* fix: new entrypoint does not allow an empty CMD

* fix: do not duplicate the `zebrad` command

* fix: segregate configuration jobs

* refactor(entrypoint): handle better parameters conditions

* fix: make `zebrad` an executable command in `tests` stage

* Show the commands that are being executed in the new docker test

* Show full logs without tee or grep

* Apply suggestions from code review

Co-authored-by: teor <teor@riseup.net>

* fix: use the actual path inside docker

* fix: use `grep` with exit code

If the container is logging to stderr, piping works only for stdout, so we're adding `2>&1`

* fix: use `grep -q` to get an exit code

* fix: fail if any error is detected

* fix: fail if this test takes more than 5 minutes

* fix: update patch workflows

* feat: test Dockerfile `runtime` config

* fix: depend on the configuration test to continue

Co-authored-by: teor <teor@riseup.net>
2023-01-23 06:41:59 +00:00
..
scripts ci(ssh): revert using `ssh-compute` action & increase sshd connection limit (#5367) 2022-10-11 00:11:49 +00:00
build-crates-individually.patch.yml build(deps): bump actions/checkout from 3.2.0 to 3.3.0 (#5918) 2023-01-05 18:08:18 +00:00
build-crates-individually.yml ci: reduce the amount of API calls made by `arduino/setup-protoc@v1` (#5930) 2023-01-10 21:22:03 +00:00
build-docker-image.yml fix(ci): Move docker push fix to the setup action (#5998) 2023-01-19 03:30:38 +00:00
continous-delivery.yml ci: add a test to check that the Docker image config works (#5968) 2023-01-23 06:41:59 +00:00
continous-integration-docker.patch-always.yml change(ci): only run the send transaction test on the main branch (#5480) 2022-10-26 21:26:07 +00:00
continous-integration-docker.patch.yml ci: add a test to check that the Docker image config works (#5968) 2023-01-23 06:41:59 +00:00
continous-integration-docker.yml ci: add a test to check that the Docker image config works (#5968) 2023-01-23 06:41:59 +00:00
continous-integration-os.patch.yml Add a missing runs-on field (#5562) 2022-11-07 15:13:06 +10:00
continous-integration-os.yml ci: reduce the amount of API calls made by `arduino/setup-protoc@v1` (#5930) 2023-01-10 21:22:03 +00:00
coverage.patch.yml ci(test): run build and test jobs on cargo and clippy config changes (#4941) 2022-08-26 18:06:32 +00:00
coverage.yml build(deps): bump actions/checkout from 3.2.0 to 3.3.0 (#5918) 2023-01-05 18:08:18 +00:00
delete-gcp-resources.yml feat(ci): delete unused artifacts in registries (#5873) 2023-01-16 23:38:14 +00:00
deploy-gcp-tests.yml build(deps): bump actions/checkout from 3.2.0 to 3.3.0 (#5918) 2023-01-05 18:08:18 +00:00
dockerhub-description.yml build(deps): bump actions/checkout from 3.2.0 to 3.3.0 (#5918) 2023-01-05 18:08:18 +00:00
docs.yml ci: reduce the amount of API calls made by `arduino/setup-protoc@v1` (#5930) 2023-01-10 21:22:03 +00:00
lint.patch.yml fix(ci): Run required jobs on dependent PRs (#5550) 2022-11-07 11:59:32 +10:00
lint.yml build(deps): bump tj-actions/changed-files from 35.4.3 to 35.4.4 (#6009) 2023-01-21 23:05:24 +00:00
release-binaries.yml fix(ci): Run required jobs on dependent PRs (#5550) 2022-11-07 11:59:32 +10:00
release-drafter.yml change(release): Automatically split CHANGELOG entries into categories (#5203) 2022-09-27 12:41:55 +00:00
zcash-lightwalletd.patch.yml fix(ci): Run required jobs on dependent PRs (#5550) 2022-11-07 11:59:32 +10:00
zcash-lightwalletd.yml fix(ci): Move docker push fix to the setup action (#5998) 2023-01-19 03:30:38 +00:00
zcash-params.yml fix(ci): Run required jobs on dependent PRs (#5550) 2022-11-07 11:59:32 +10:00
zcashd-manual-deploy.yml build(deps): bump actions/checkout from 3.2.0 to 3.3.0 (#5918) 2023-01-05 18:08:18 +00:00