Hi all CI infra tenants/users,
As a follow-up wrt previous mail about cico-workspace container update
(see
https://lists.centos.org/pipermail/ci-users/2021-October/002184.html) we
had a look at what was needed to rebase the cico-workspace container to
CentOS 8-stream.
We've built a container that you can start using with the following specs:
- based on centos 8-stream
- so having python3 (instead of python2), important for your jobs
- still providing python-cicoclient (python3 version)
- ansible 2.9.27
- git
This container is actually available as staging tag, so it's not *yet*
the one that is automatically pulled through your jenkins as
"cloud/container" node to run your jobs.
We'd like you to start testing your jobs against that updated
cico-workspace, at your earliest convenience, so that you have a chance
to eventually adapt your jobs, or ask us to add/change something in that
container.
See the next items
# How to test ?
The current DeploymentConfig used in openshift will provide jenkins,
itself configure to pull cico-workspace from quay.io
(quay.io/centosci/cico-workspace:latest)
But you can also , as you have full admin rights in your own jenkins
namespace, temporary switch to :staging tag.
To proceed, just log into your own jenkins apps on openshift/ocp.ci and
follow the next steps:
Manage Jenkins
Manage Nodes and Clouds (under System Configuration)
Configure Clouds (on the left menu)
Expand Kubernetes and under Pod template you'll see "cico-workspace"
"Pod Template details"
Containers
Just swap quay.io/centosci/cico-workspace:latest =>
quay.io/centosci/cico-workspace:staging
Apply/Save
You can now test your job (test job) and see if that still works or if
you need to adapt something
# How to revert ?
Assuming that you want to revert to :latest test (still c7 based), just
proceed as above and swap back to quay.io/centosci/cico-workspace:latest
#When will you enforce the change ?
We have no fixed date in mind but we'd like to enforce this early
december, which would give you enough time to fix your jobs (if there is
a need to). We can also provide an alternative through a different tag
like :c7 while we'd have c8s for :latest and you'd then be also able to
modify your jobs to just continue to use older c7 container (not adviced
though, but we'll continue to rebuild the container for security updates
automatically)
Should you have questions/remarks, feel free to chime in !
--
Fabian Arrotin
The CentOS Project | https://www.centos.org
gpg key: 17F3B7A1 | twitter: @arrfab
For people not following inititial infra ticket about this
(https://pagure.io/centos-infra/issue/441) here is a quick status about
CentOS Stream 9 availability in CI infra :
Starting from today, each tenant in CI infra can request Stream 9 for
the x86_64 architecture.
Due to lack of compatible hardware for ppc64le, it's not available yet
but we hope to be able to provide it before end of this year.
aarch64 is on the list of architectures to be tested and added (more on
that when it will be ready)
We already updated the python-cicoclient to correct version on the
previous Virtual Machines setup behind ci.centos.org but we still have
(next on the list) to update the cico-workspace container/image to
include newer python-cicoclient (see
http://mirror.centos.org/centos/7/infra/x86_64/infra-common/Packages/p/pyth…)
that is used in the openshift/ocp 4 cluster
Enjoy your tests on Stream 9 !
PS: at the infra side, we'll still have to also have an internal mirror
returned by mirrormanager as it's actually using external mirrors, so
dnf operations will be "slow" versus what you can see for 7/8/8-stream,
but it's on the list
--
Fabian Arrotin
The CentOS Project | https://www.centos.org
gpg key: 17F3B7A1 | twitter: @arrfab
Follow-up on the previous mail about supporting 9-stream in CI infra.
We have refreshed the cico-workspace container that is deployed as
jenkins agent container and it's available on
https://quay.io/repository/centosci/cico-workspace
That's the version that is automatically deployed in the OCP cluster.
Changes:
- updated to CentOS 7.9 + updates
- updated python-cicoclient to 0.4.6 (version that supports requesting
for '9-stream' nodes to duffy)
- added ansible 2.9.27 (per request from some tenants, avoiding to
have to install it themselves)
Next steps: We'd like to rebase that container to 8-stream in the near
future but we'd just need first to have python-cicoclient available as
pkg and tested with python3. Once we'll have such test image, we'll
rebase and keep you informed about it
--
Fabian Arrotin
The CentOS Project | https://www.centos.org
gpg key: 17F3B7A1 | twitter: @arrfab