Skip to content

Add --ignore-duplicate flag to avoid build failures on repeated CI builds#115

Open
bbourdrez wants to merge 1 commit into
jcansdale:masterfrom
bbourdrez:add-ignore-duplicate-flag
Open

Add --ignore-duplicate flag to avoid build failures on repeated CI builds#115
bbourdrez wants to merge 1 commit into
jcansdale:masterfrom
bbourdrez:add-ignore-duplicate-flag

Conversation

@bbourdrez

Copy link
Copy Markdown

When doing builds from github actions or other CI/CD systems it's often good to not fail on repeated production builds of the same package, so this new flag allows you to tell gpr to succeed when pushing a duplicate version (other than showing the server-provided error in the output).
There doesn't seem to be any mocking set up for the network-related parts of the code, so there's no tests.

@f2calv

f2calv commented Mar 1, 2023

Copy link
Copy Markdown

The official argument is --skip-duplicate, so I would be inclined to rename --ignore-duplicate to match;

@alexrp

alexrp commented Apr 12, 2024

Copy link
Copy Markdown
Contributor

@jcansdale @bbourdrez any way we can move this one forward? I've found myself needing this a few times now.

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.

3 participants