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

[Feature] Integrate Docker Image Build on Release Publication 🐳 #87

Open
wants to merge 48 commits into
base: master
Choose a base branch
from

Conversation

KlementXV
Copy link

Description:
This pull request integrates the automation of Docker image builds upon release publication. The following changes have been made:

•	Added a .dockerignore file to exclude irrelevant files during the Docker image build.
•	Renamed the GitHub workflow file to clarify its role: build.yml -> cargo-build.yml.
•	Added a new GitHub workflow for Docker image build: docker-build.yml.
•	Created a Dockerfile to define the Docker image build instructions.
•	Added an entrypoint.sh script to initialize the environment when the Docker container starts.
•	Updated README.md to include information about Docker usage.

These changes automate the creation of Docker images on each new release, making the deployment and usage of ORE easier.

- Add a .dockerignore file to exclude irrelevant files during the Docker image build.
- Rename the GitHub workflow file to clarify its role: 'build.yml' -> 'cargo-build.yml'.
- Add a new GitHub workflow for Docker image build: 'docker-build.yml'.
- Create a Dockerfile to define the Docker image build instructions.
- Add an entrypoint.sh script to initialize the environment when the Docker container starts.
- Update README.md to include information about Docker usage.

These changes automate the creation of Docker images on each new release, making the deployment and usage of ORE easier.
The ORE mining launcher script has been updated to include new features and improvements. This update includes:
- Added support for specifying a custom RPC URL
- Improved error handling and messaging
- Fixed entrypoint permissions issue
- Updated version to 1.0

Please review and merge the changes.
@KlementXV
Copy link
Author

GM @HardhatChad

The Docker image build is now functional. Could you please review this PR?

@KlementXV
Copy link
Author

KlementXV commented Aug 31, 2024

Latest Changes :

- Enhanced CI Pipeline: Added a comprehensive Rust test suite (rust-test.yml) to ensure code quality, including features like Clippy linting, test coverage for different feature sets, and uploading results as SARIF files.
- Simplified Build Process: Reorganized the build workflow into a clearer structure (rust-build.yml), now triggered by release events. This workflow supports multiple OS targets (Ubuntu, macOS, Windows) and automates the packaging and upload of release artifacts. However, I was unable to set up the build for ARM64, so that part is currently commented out.

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