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

chore: disable publication from ci.jenkins.io #351

Merged
merged 2 commits into from
Feb 10, 2024
Merged

Conversation

lemeurherve
Copy link
Member

@lemeurherve lemeurherve commented Feb 9, 2024

This PR disables tagging and publication of docker image and github release from ci.jenkins.io

The merge of this PR will also serve as a test for jenkins-infra/pipeline-library#784

Ref:

Comment on lines +1 to +2
@Library('pipeline-library@pull/784/head') _

Copy link
Member Author

@lemeurherve lemeurherve Feb 9, 2024

Choose a reason for hiding this comment

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

Suggested change
@Library('pipeline-library@pull/784/head') _

To be removed in a future PR when jenkins-infra/pipeline-library#784 will be merged.

EDIT:

@lemeurherve
Copy link
Member Author

lemeurherve commented Feb 10, 2024

Cherry-picked #353 commit to get a passing job.

@lemeurherve lemeurherve merged commit 41600a8 into main Feb 10, 2024
6 checks passed
@lemeurherve lemeurherve deleted the lemeurherve-patch-1 branch February 10, 2024 13:03
Comment on lines +1 to +5
buildDockerAndPublishImage('account-app', [
rebuildImageOnPeriodicJob: false,
automaticSemanticVersioning: true,
targetplatforms: 'linux/amd64,linux/arm64'
])
Copy link
Contributor

Choose a reason for hiding this comment

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

We should merge these 2 pipelines into a single one to ensure the same set of parameters is applied to both CI and CD process (and avoid CD issues which could have been caught by CI).

=> WDYT about the method you used (can't remember where though): disablePublication: !infra.isInfra() ?

Choose a reason for hiding this comment

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

This is the next step.
First I needed to be sure that my pipeline change worked.

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.

None yet

4 participants