Skip to content

chore: always push a new image after merging on main - #2850

Merged
sxd merged 2 commits into
mainfrom
dev/fix-image-always-push
Sep 27, 2023
Merged

sxd merged 2 commits into
mainfrom
dev/fix-image-always-push

Conversation

@NiccoloFei

@NiccoloFei NiccoloFei commented Sep 22, 2023 •

Copy link
Copy Markdown
Collaborator

The continuous-integration was only actually pushing images when a PR was labeled with "always push images".
But we should also produce the images whenever a new commit is pushed on main or a release branch.
This will ensure that the ghcr.io/cloudnative-pg/cloudnative-pg-testing main and release-* images are updated as soon as a new commit is pushed (up until now it was done only once per day via the continuos-delivery workflow)

@github-actions github-actions Bot added backport-requested ◀️ This pull request should be backported to all supported releases release-1.19 labels Sep 22, 2023
@github-actions

Copy link
Copy Markdown
Contributor

❗ By default, the pull request is configured to backport to all release branches.

  • To stop backporting this pr, remove the label: backport-requested ◀️ or add the label 'do not backport'
  • To stop backporting this pr to a certain release branch, remove the specific branch label: release-x.y

@sxd
sxd force-pushed the dev/fix-image-always-push branch from ca0cc68 to 400fa0e Compare September 27, 2023 01:15
@sxd

sxd commented Sep 27, 2023

Copy link
Copy Markdown
Contributor

/ok-to-merge CI

@cnpg-bot cnpg-bot added the ok to merge 👌 This PR can be merged label Sep 27, 2023
@sxd
sxd merged commit ab0d5bc into main Sep 27, 2023
@sxd
sxd deleted the dev/fix-image-always-push branch September 27, 2023 01:37
cnpg-bot pushed a commit that referenced this pull request Sep 27, 2023
The continuous-integration was only actually pushing images when a PR was
labeled with "always push images", but we should also produce the images whenever
a new commit is pushed on main or a release branch.
This will ensure that the `ghcr.io/cloudnative-pg/cloudnative-pg-testing` main and release-*
images are updated as soon as a new commit is pushed (up until now it was done only
once per day via the continuous-delivery workflow)

Signed-off-by: Niccolò Fei <[email protected]>
Signed-off-by: Gabriele Bartolini <[email protected]>
Co-authored-by: Gabriele Bartolini <[email protected]>
(cherry picked from commit ab0d5bc)
cnpg-bot pushed a commit that referenced this pull request Sep 27, 2023
The continuous-integration was only actually pushing images when a PR was
labeled with "always push images", but we should also produce the images whenever
a new commit is pushed on main or a release branch.
This will ensure that the `ghcr.io/cloudnative-pg/cloudnative-pg-testing` main and release-*
images are updated as soon as a new commit is pushed (up until now it was done only
once per day via the continuous-delivery workflow)

Signed-off-by: Niccolò Fei <[email protected]>
Signed-off-by: Gabriele Bartolini <[email protected]>
Co-authored-by: Gabriele Bartolini <[email protected]>
(cherry picked from commit ab0d5bc)
Lennart01 pushed a commit to Lennart01/cloudnative-pg that referenced this pull request Sep 30, 2023
…2850)

The continuous-integration was only actually pushing images when a PR was
labeled with "always push images", but we should also produce the images whenever
a new commit is pushed on main or a release branch.
This will ensure that the `ghcr.io/cloudnative-pg/cloudnative-pg-testing` main and release-*
images are updated as soon as a new commit is pushed (up until now it was done only
once per day via the continuous-delivery workflow)

Signed-off-by: Niccolò Fei <[email protected]>
Signed-off-by: Gabriele Bartolini <[email protected]>
Co-authored-by: Gabriele Bartolini <[email protected]>
Signed-off-by: Lennart Krauch <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-requested ◀️ This pull request should be backported to all supported releases no-issue ok to merge 👌 This PR can be merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants