You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Building from source is broken: the resulting hydra binary is not usable to missing schema.
The procedure https://www.ory.sh/hydra/docs/install#building-from-source does not contain the step to install packr2 binary beforehand and the Makefile does not include the necessary calls to packr2 in install-stable and install targets.
packr2 binary is a needed pre-requisite used to generate .go files that
pack the static files of the project into bytes that can be bundled.
Invokes packr2 in install-stable and install targets of Makefile in
order to generate the .go files that pack the static files into bytes
that can be bundled.
Closes#1857
Describe the bug
Building from source is broken: the resulting
hydra
binary is not usable to missing schema.The procedure https://www.ory.sh/hydra/docs/install#building-from-source does not contain the step to install
packr2
binary beforehand and the Makefile does not include the necessary calls topackr2
ininstall-stable
andinstall
targets.Reproducing the bug
Steps to reproduce the behavior:
git checkout -b v1.4.10 https://github.com/ory/hydra
make install-stable
.schema
directory located in sources:mv .schema{,.test}
$(go env GOPATH)/bin/hydra --config /path/to/test_config.yml serve all
and get the error.Server logs
Server configuration
Expected behavior
Resulting binary must run without the sources being present.
Environment
Additional context
The problem has been discovered while building Ory Hydra with the goal of producing internal Debian/Ubuntu packages.
The text was updated successfully, but these errors were encountered: