ome / devspace

Continuous integration tool for OME projects
18 stars 18 forks source link

Jenkins-ci upgrade #188

Open jburel opened 2 years ago

jburel commented 2 years ago

PHASE I (Jan 2022) Current build is failing due to old version of Jenkins docker image. Main goal of this work is to have an updated working environment to test scl python 3.8 on CentOS 7

Several repositories need to be updated/adjusted in order to get things to work. Below is the list of repositories with changes:

Infra/Build

DNS assumptions

Jobs

Three jobs were green in merge-ci and failed on a fresh installation, giving us possible false positives.

Others Other changes in BioFormats related repositories will also be required.

PHASE II (Jan 2023)

Upgrade of Jenkins. Upgrade to 2.375.

Infrastructure

Java 11 related issues: The following PRs fails the build due to a Javadoc related flag.

Gradle related issues:

jburel commented 1 year ago

Python test failures with Scl Python 3.8 https://github.com/ome/openmicroscopy/pull/6340

jburel commented 1 year ago

Second upgrade of Jenkins. Upgrade to 2.375. This version of Jenkins uses Java 11

Java 11 related issue:

sbesson commented 1 year ago

Bio-Formats repository

The following minimal changes were made in order to run the repository tests in the staging devspace:

With this set of changes, a full execution of BIOFORMATS-test-repo is close to completion and matches the results of https://merge-ci.openmicroscopy.org/jenkins/.

The steps above expose a few elements which are currently absent from this repository:

More generally, the two points above raise the question of whether this repository should remain generic and act as a re-usable template or whether we should move towards capturing the state of the production deployment on the OME hardware.

jburel commented 1 year ago
mv ~/.ssh/known_hosts ~/.ssh/known_hosts.bak
ssh -T git@github.com
sbesson commented 1 year ago

A more programmatic option might be to set up the public SSH key fingerprints documented in https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/githubs-ssh-key-fingerprints.