zebra/book
Gustavo Valverde fbd6b0f8b3
ref(docker): combine test and prod entrypoints into one (#7660)
* ref(docker): combine test and prod entrypoints into one

This makes the following changes
- Uses `-x` instead of echoing the variables values
- Sets default values where required
- Create a function to list directories
- Create a function to run cargo tests
- Use a better approach to handle different options in the `case` manegement for tests and production
- Replaces all instances of `runtime-entrypoint.sh` with `entrypoint.sh`

* chore: use 2 spaces insted of 4 for indentation

* fix: add missing `test-threads` to `fully_synced_rpc_`

* fix: allow 3 arguments instead of 2 to handle `fully_synced_rpc_` correctly

* chore: remove extra file

* chore: add comments to main parts of the file

* fix(ci): just create the `$ZEBRA_CONF_PATH` if `$ENTRYPOINT_FEATURES` is not set

* fix(entrypoint): just print ${ZEBRA_CONF_PATH} if exists

* fix: missing condition

* ref: handle tests better if `$ENTRYPOINT_FEATURES` is set

* fix(ci): We just want `ZEBRA_CONF_PATH` to be set in the `release` image

* fix(entrypoint): fix the overall `case` logic

* fix(ci): allos to run with custom config in CI image

* fix(ci): more edgecases

* fix: we don't need to find files, but subdirectories

* fix(ci): handle Signal Forwarding and exit codes for `cargo`

* fix(ci): parse `fully_synced_rpc_` test correctly

* chore: add missing cache dir variable for LWD

* fix(entrypoint): handle an arbitrary number of arguments

* fix(entrypoint): handle features list

* fix(entrypoint): typo

* chore: typo
2023-10-11 19:04:45 +00:00
..
src ref(docker): combine test and prod entrypoints into one (#7660) 2023-10-11 19:04:45 +00:00
theme change(docs): Update 'Design Overview' page of Zebra book (#5892) 2023-01-10 10:10:45 +00:00
.gitignore Add skeleton of eventual zebra book (#653) 2020-07-17 20:15:50 -07:00
book.toml change(docs): Update 'Design Overview' page of Zebra book (#5892) 2023-01-10 10:10:45 +00:00
mermaid-init.js fix(doc): add support for Mermaid to render graphs (#4359) 2022-05-09 20:29:49 +00:00
mermaid.min.js fix(doc): add support for Mermaid to render graphs (#4359) 2022-05-09 20:29:49 +00:00