Zebra/.github
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
..
ISSUE_TEMPLATE change(doc): Update release, ticket, and PR templates (#5793) 2022-12-07 22:38:41 +00:00
PULL_REQUEST_TEMPLATE Release Zebra 1.0.0-rc.3 (#5928) 2023-01-10 03:48:03 +00:00
workflows ci: add a test to check that the Docker image config works (#5968) 2023-01-23 06:41:59 +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 change(release): Automatically split CHANGELOG entries into categories (#5203) 2022-09-27 12:41:55 +00:00
mergify.yml change(ci): Combine high and low Mergify queues into a batched queue (#5201) 2022-09-28 06:34:53 +10:00
pull_request_template.md updates pull request template (#5988) 2023-01-18 02:23:19 +00:00
release-drafter.yml fix(ci): Reduce false positives for the `C-trivial` label (#5309) 2022-10-03 01:45:23 +00:00
zbot.yml Create zbot.yml 2020-06-13 06:15:20 -04:00