apache / incubator-kie-issues

Apache License 2.0
12 stars 1 forks source link

Fix build kogito-clean-old-nightly-images in kogito other folder #1405

Open pibizza opened 4 months ago

pibizza commented 4 months ago

The build consistently fails due to a problem with a quay token: "ERROR: QUAY_ACCESS_TOKEN"

https://ci-builds.apache.org/job/KIE/job/kogito/job/10.0.x/job/tools/job/kogito-clean-old-nightly-images/

pibizza commented 4 months ago

The issue seems that in the code we are trying to access the following credential: QUAY_ACCESS_TOKEN = credentials('QUAY_ACCESS_TOKEN') https://github.com/apache/incubator-kie-kogito-pipelines/blob/267d2e5aacf4aecd6ddcfaeae0b8910f4b4fcb23/.ci/jenkins/Jenkinsfile.tools.clean-nightly-images#L17

However there is no such credential defined in the jenkins credentianls.

@jstastny-cz I saw that there are a number of other quay*something credentials already defined. Should we switch to one of them?

rodrigonull commented 4 months ago

We no longer publish images to quay.io. All images are published to dockerhub under the Apache organization.

This job needs to be either updated or disable as we don't have credentials to delete tags on dockerhub. Only @porcelli and @ricardozanini have admin access to dockerhub.

ricardozanini commented 3 months ago

+1 to disable this job.