Skip to content

Conversation

@MacMur85
Copy link
Contributor

@MacMur85 MacMur85 commented May 6, 2025

Description

This PR includes a modification to a stage-3-build-images.yaml workflow and a get-docker-names.sh script for us to be able to run a manual image rebuilding process.

Context

A manual rebuilding process is needed to be able to:

  1. Re-run a failed job which was supposed to create new image versions after a code merge to the main branch.
  2. Test changes in the CI process itself without the need to wait for a code merge.

The proposed solution consists of:

  1. A modification to the stage-3-build-images.yaml, which will have two alternative executing methods:
  • the default automatic one (no changes to the process)
  • a manual one, which will be triggered from the GitHub Actions Portal and will always result in rebuilding all images using the code from the current main branch
  1. A modification to the get-docker-names.sh, which will have another parameter passed in by the workflow (MANUAL_BUILD_ALL).
  • for MANUAL_BUILD_ALL = false the script will work the same as before
  • for MANUAL_BUILD_ALL = true the script will no longer look for changes in the code, and will always return a full list of functions to rebuild (input needed by the workflow)

Type of changes

  • Refactoring (non-breaking change)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would change existing functionality)
  • Bug fix (non-breaking change which fixes an issue)

Checklist

  • I am familiar with the contributing guidelines
  • I have followed the code style of the project
  • I have added tests to cover my changes
  • I have updated the documentation accordingly
  • This PR is a result of pair or mob programming

Sensitive Information Declaration

To ensure the utmost confidentiality and protect your and others privacy, we kindly ask you to NOT including PII (Personal Identifiable Information) / PID (Personal Identifiable Data) or any other sensitive data in this PR (Pull Request) and the codebase changes. We will remove any PR that do contain any sensitive information. We really appreciate your cooperation in this matter.

  • I confirm that neither PII/PID nor sensitive data are included in this PR and the codebase changes.

@MacMur85 MacMur85 changed the title Feat/manual image rebuild feat: manual image rebuild trigger May 6, 2025
@MacMur85 MacMur85 marked this pull request as ready for review May 13, 2025 12:35
@MacMur85 MacMur85 added this pull request to the merge queue May 14, 2025
Merged via the queue into main with commit 5747870 May 14, 2025
23 checks passed
@MacMur85 MacMur85 deleted the feat/manual-image-rebuild branch May 14, 2025 11:44
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.

2 participants