-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi version explorer deployment #22
Conversation
This initializes a docker network and should start two cardano-nodes and two chain observers now reporting into one explorer instance.
The virtualised network and dns resolution was not working out of the box with podman?
Explain again what is wrong with nixos rebuild? |
It didn't work. See for example this build: https://github.com/cardano-scaling/hydra-explorer/actions/runs/13207223652/job/36873147298 |
Oh I see. We are running the CI on the same machine as the explorer. This is not ideal, and why we used nixinate previously. I wonder if the sandbox can ssh to the host it is running on, where it could work. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏻
I had a similar idea. I think for now we should just let this go through as-is, and we can revise it into a nice nix derivation a bit later, if we so desire. |
Deploys the latest (
unstable
) docker images ofhydra-explorer
andhydra-chain-observer
to explorer.hydra.family whenever we merge anything tomaster
on this repository.I tried using
nixos-rebuild switch
at first, but theservices.github-runners
nixos option or the github runner service does seem to do some sandboxing and it was not working out of the box.So I switched to defining a
docker-compose.yaml
and usingdocker compose
to deploy containers (like it was before from thehydra
repo).NOTE: The
CD
action will fail until this is merged. I had it working with branch push triggers here: https://github.com/cardano-scaling/hydra-explorer/actions/runs/13207447976.