Project

General

Profile

Actions

Feature #3342

open

Docker image building with every nightly build

Added by Jan Potočiar over 1 year ago. Updated over 1 year ago.

Status:
In Progress
Priority:
High
Assignee:
Luděk Urban
Category:
Infrastructure
Target version:
Start date:
04/26/2023
Due date:
% Done:

50%

Estimated time:
Owner:

Description

For every nightly build a related docker image should be created and uploaded to the repository.


Related issues

Copied from IdStory Identity Manager - Feature #3042: Process of docker image building with every new releaseIn ProgressJan Potočiar01/19/2022

Actions
Actions #1

Updated by Jan Potočiar over 1 year ago

  • Copied from Feature #3042: Process of docker image building with every new release added
Actions #2

Updated by Jan Potočiar over 1 year ago

  • Category changed from Release to Infrastructure
Actions #3

Updated by Jan Potočiar over 1 year ago

Current progress - created a test job on Jenkins: https://jean.bcvsolutions.eu/job/docker-images-test/
The job should (in the end) be triggered by the nightly build job (https://jean.bcvsolutions.eu/view/Product/job/czechidm-product-develop-build/) and use the war produced by the job as a base for the docker image.

The job is currently failing trying to fetch the war from Nexus:
Resolving artifact eu.bcvsolutions.idm:idm-app:war:13.1.0-SNAPSHOT
Resolving metadata eu.bcvsolutions.idm:idm-app:13.1.0-SNAPSHOT/maven-metadata.xml from /tmp/repositoryconnector-repo (enhanced)
Resolved metadata eu.bcvsolutions.idm:idm-app:13.1.0-SNAPSHOT/maven-metadata.xml from /tmp/repositoryconnector-repo (enhanced)
Resolving metadata eu.bcvsolutions.idm:idm-app:13.1.0-SNAPSHOT/maven-metadata.xml from central (https://repo1.maven.org/maven2, default, releases+snapshots, managed)
Resolved metadata eu.bcvsolutions.idm:idm-app:13.1.0-SNAPSHOT/maven-metadata.xml from central (https://repo1.maven.org/maven2, default, releases+snapshots, managed)
Failed to resolve artifact eu.bcvsolutions.idm:idm-app:war:13.1.0-SNAPSHOT
Deleting 1 temporary files
FATAL: Could not transfer artifact eu.bcvsolutions.idm:idm-app:war:13.1.0-SNAPSHOT from/to central (https://repo1.maven.org/maven2): PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
org.jvnet.hudson.plugins.repositoryconnector.aether.AetherException: Could not transfer artifact eu.bcvsolutions.idm:idm-app:war:13.1.0-SNAPSHOT from/to central (https://repo1.maven.org/maven2): PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
at org.jvnet.hudson.plugins.repositoryconnector.aether.Aether.aetherException(Aether.java:163)
at org.jvnet.hudson.plugins.repositoryconnector.aether.Aether.resolve(Aether.java:109)
at org.jvnet.hudson.plugins.repositoryconnector.ArtifactResolver.download(ArtifactResolver.java:154)
at org.jvnet.hudson.plugins.repositoryconnector.ArtifactResolver.perform(ArtifactResolver.java:101)
at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:123)
at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:80)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:803)
at hudson.model.Build$BuildExecution.build(Build.java:197)
at hudson.model.Build$BuildExecution.doRun(Build.java:163)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:513)
at hudson.model.Run.execute(Run.java:1907)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
Finished: FAILURE

Actions #4

Updated by Peter Štrunc over 1 year ago

  • Sprint changed from Sprint 13.1-5 (Apr 19 - May 03) to Sprint 13.0.5 - 1 (May 03 - May 17)
Actions #5

Updated by Jan Potočiar over 1 year ago

  • % Done changed from 0 to 50
Actions #6

Updated by Peter Štrunc over 1 year ago

  • Sprint changed from Sprint 13.0.5 - 1 (May 03 - May 17) to Sprint 13.0.5 - 2 (May 17 - May 29)
Actions #7

Updated by Peter Štrunc over 1 year ago

  • Sprint changed from Sprint 13.0.5 - 2 (May 17 - May 29) to Sprint 13.0.5 - 3 (May 29 - Jun 12)
Actions #8

Updated by Peter Štrunc over 1 year ago

  • Sprint deleted (Sprint 13.0.5 - 3 (May 29 - Jun 12))
Actions #9

Updated by Luděk Urban over 1 year ago

  • Assignee changed from Jan Potočiar to Luděk Urban
Actions

Also available in: Atom PDF