Skip to content

Update main to latest version#84

Merged
craig8 merged 56 commits intomainfrom
develop
Aug 18, 2025
Merged

Update main to latest version#84
craig8 merged 56 commits intomainfrom
develop

Conversation

@craig8
Copy link
Copy Markdown
Contributor

@craig8 craig8 commented Aug 18, 2025

This pull request modernizes the build and CI/CD infrastructure for the project, focusing on updating base images, improving Dockerfile practices, and enhancing workflow flexibility and compatibility. The changes ensure the project uses more recent and secure environments, streamline the build process for multi-platform support, and improve maintainability by removing legacy submodule usage and making workflows more configurable.

Dockerfile and Build Improvements

  • Migrated both Dockerfile and Dockerfile-dev to use the official rust:bookworm image (instead of amd64/debian:buster), added installation steps for Rust and Cargo, and updated default Python and pip handling for better compatibility with modern Python packaging. RabbitMQ installation steps are now commented out for easier maintenance. [1] [2] [3] [4]
  • Changed Volttron source acquisition from a local submodule copy to cloning directly from GitHub using build arguments for branch and repo, improving flexibility and removing the need for .gitmodules. [1] [2] [3] [4] [5]

CI/CD Workflow Updates

  • Updated all GitHub Actions workflows to use ubuntu-22.04 runners and the latest actions/checkout@v4 for improved security and compatibility. [1] [2] [3] [4] [5] [6]
  • Enhanced Docker build steps in workflows to support multi-platform builds (linux/amd64,linux/arm64) and made DockerHub login conditional based on available secrets/variables. [1] [2] [3]
  • Added support for workflow dispatch and pull_request_target triggers in publish_develop_image.yml, and made image tags, repo URLs, and branches configurable via variables. [1] [2]

Maintenance and Tooling

  • Updated the black code formatter version in .pre-commit-config.yaml from 19.3b0 to 22.8.0 for improved code style enforcement.

These changes collectively improve the reliability, security, and maintainability of the build and release process.

bonicim and others added 30 commits February 28, 2022 11:02
Merge main into develop
Update Volttron version to 8.2, tests, documentation, hooks
Correctly updated image name to 8.2-zmq and added missing volume to d…
Updated os/version and set for 9.0 release.
Updated to show the run action for pr branches. Updated ubuntu version as 20.04 is deprecated in github.
Updated ubuntu version as 20.04 is deprected on github.
Updates to docker files to align with new volttron version
@craig8 craig8 requested a review from Copilot August 18, 2025 18:45
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request modernizes the build and CI/CD infrastructure for the project, updating base images from Debian Buster to Debian Bookworm, migrating from submodule-based Volttron source management to direct Git cloning, and enhancing Docker workflows with multi-platform support.

  • Migrated Dockerfiles from amd64/debian:buster to rust:bookworm base image with updated Python and pip handling
  • Replaced git submodule approach with direct Git cloning using configurable build arguments for repository and branch
  • Updated CI/CD workflows to use Ubuntu 22.04 runners, latest checkout actions, and multi-platform Docker builds

Reviewed Changes

Copilot reviewed 16 out of 16 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
volttron Removed git submodule reference
.gitmodules Removed submodule configuration
Dockerfile Updated base image to rust:bookworm, replaced submodule copy with git clone
Dockerfile-dev Updated base image to rust:bookworm, replaced submodule copy with git clone
run-test-docker-image.sh Updated Docker commands, simplified parameters, improved quoting
docker-compose*.yml Updated image tags and added timezone environment variable
core/setup-platform.py Enhanced web user management, commented out RMQ code, improved dependency installation
core/bootstart.sh Reduced Volttron logging verbosity
README*.md Updated documentation for new Docker compose syntax and build process
.pre-commit-config.yaml Updated black formatter version
.github/workflows/* Updated to Ubuntu 22.04, actions/checkout@v4, added multi-platform builds

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

craig8 and others added 5 commits August 18, 2025 11:46
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@craig8 craig8 changed the title Develop Update main to latest version Aug 18, 2025
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@craig8 craig8 merged commit e4c9950 into main Aug 18, 2025
2 checks passed
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.

7 participants