-
Notifications
You must be signed in to change notification settings - Fork 178
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
Provisioning script updates #1774
Conversation
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.
LGTM.
I suspect Systemd may be able to be removed from the container. I'll review that separately and if there is no real usage or dependency inside the container open a new PR for testing to further slim down the container, I'll include others in review to make sure I'm not overlooking some special use cases.
As discussed, haproxy or grest might be related to Systemd in container. I'll play with those in looking into possible additional slimming options. |
- Only run build dependencies as part of os dependencies when included as flag - Adapt libsodium flag to only use os_dependencies (and include minimal set of dependency there) to make it faster/lighter to deploy libsodium fork on block producing nodes - Include os_dependencies prior to running cardano-hw-cli download (to ensure libusb dependencies are available) - Allow CARDANO_NODE_VERSION to be set as environment variable for those who'd like to test guild-deploy against different node release - Bump CARDANO_NODE_VERSION to 8.9.3 files/docker: - Remove docker stage files - Remove cardano-wallet, as it is no longer relevant in the ecosystem now - for dockerfile_bin, remove tcpping (was unused due to comment), and remove cleanup references for build packages, as they're no longer deployed with `-s p` flag. Also, remove gnupg git from initial run, as they're already included as part of `guild-deploy.sh -s -p` call setup-grest.sh: - Dont use `command -v haproxy` (as the shell isnt always refreshed and /usr/sbin may not be part of $PATH), instead look for /usr/sbin/haproxy to verify if haproxy was already installed - Add haproxy installer dependencies (if guild-deploy is only run with os_dependencies flag, haproxy wouldnt compile in it's current state)
ff2a0ae
to
ef5ed9b
Compare
## Description <!--- Describe your changes --> ### Guild Deploy changes: - Only run build dependencies as part of os dependencies when included as flag - Adapt libsodium flag to only use os_dependencies (and include minimal set of dependency there) to make it faster/lighter to deploy libsodium fork on block producing nodes - Include os_dependencies prior to running cardano-hw-cli download (to ensure libusb dependencies are available) - Allow CARDANO_NODE_VERSION to be set as environment variable for those who'd like to test guild-deploy against different node release - Bump CARDANO_NODE_VERSION to 8.9.3 ### files/docker: - Remove docker stage files - Remove cardano-wallet, as it is no longer relevant in the ecosystem now - for dockerfile_bin, remove tcpping (was unused due to comment), and remove cleanup references for build packages, as they're no longer deployed with `-s p` flag. Also, remove gnupg git from initial run, as they're already included as part of `guild-deploy.sh -s -p` call ### setup-grest.sh: - Dont use `command -v haproxy` (as the shell isnt always refreshed and /usr/sbin may not be part of $PATH), instead look for /usr/sbin/haproxy to verify if haproxy was already installed - Add haproxy installer dependencies (if guild-deploy is only run with os_dependencies flag, haproxy wouldnt compile in it's current state)
Description
Guild Deploy changes:
files/docker:
-s p
flag. Also, remove gnupg git from initial run, as they're already included as part ofguild-deploy.sh -s -p
callsetup-grest.sh:
command -v haproxy
(as the shell isnt always refreshed and /usr/sbin may not be part of $PATH), instead look for /usr/sbin/haproxy to verify if haproxy was already installed