Skip to content
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

Make the install script more better #68

Merged
merged 5 commits into from
Jul 31, 2024
Merged

Make the install script more better #68

merged 5 commits into from
Jul 31, 2024

Conversation

UnstoppableMango
Copy link
Contributor

No description provided.

The binary naming convention has been updated to include OS and architecture information. The archive name template has also been modified for better organization. Additionally, extra files have been added to the release section, including provisioner distributions, an install script, and a service file.
The workflow has been updated to include a step for generating release artifacts. This involves creating 'install.sh' and 'baremetal-provisioner.service'. The Makefile has also been modified to handle the creation of these new artifacts.
Significant changes include:
- Added a new systemd service file for the Pulumi Bare Metal Provisioner.
- Enhanced the installation script with additional checks, logging, and functionality. This includes fetching the systemd unit file if it doesn't exist locally, creating a configuration directory and vars file, and setting up environment variables.
- Improved user feedback messages in the installation script to provide more clarity.
The install.sh script in the provisioner command has been refactored for better readability and maintainability. The changes include:
- Extracted variable printing into a separate function, printVars.
- Simplified directory creation logic by removing unnecessary checks.
- Added handling for DEV_MODE in fetching systemd unit file.
- Included steps to reload systemd and enable service after configuration updates.
And also some other stuff
@UnstoppableMango UnstoppableMango merged commit 1708d6e into main Jul 31, 2024
14 checks passed
@UnstoppableMango UnstoppableMango deleted the systemd branch July 31, 2024 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant