Skip to content

cisearch changes and add k8s ci search dns#561

Open
Rajalakshmi-Girish wants to merge 1 commit intoppc64le-cloud:masterfrom
Rajalakshmi-Girish:ci-seearch-tool
Open

cisearch changes and add k8s ci search dns#561
Rajalakshmi-Girish wants to merge 1 commit intoppc64le-cloud:masterfrom
Rajalakshmi-Girish:ci-seearch-tool

Conversation

@Rajalakshmi-Girish
Copy link
Collaborator

Fixed https://search.ppc64le-cloud.cis.ibm.net/ to point jobs from https://prow.ppc64le-cloud.cis.ibm.net/ which have logs uploaded to GCS bucket ppc64le-kubernetes
Created new url https://k8search.ppc64le-cloud.cis.ibm.net/ for searching failures from https://prow.k8s.io/ which have logs uploaded to GCS bucket kubernetes-ci-logs

@ppc64le-cloud-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Rajalakshmi-Girish
Once this PR has been reviewed and has the lgtm label, please assign mkumatag for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ppc64le-cloud-bot ppc64le-cloud-bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jul 4, 2025
Copy link
Contributor

@mkumatag mkumatag left a comment

Choose a reason for hiding this comment

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

will have to avoid building these multiple images and pass command line args.

Comment on lines +5 to +8
&& grep -rl test-platform-results . | xargs sed -i 's/test-platform-results/ppc64le-kubernetes/g' \
&& grep -rl "OpenShift" . | xargs sed -i 's/OpenShift/ppc64le-cloud/g' \
&& grep -rl "ci\.openshift\.org" . | xargs sed -i 's/ci\.openshift\.org/ppc64le-cloud\.cis\.ibm\.net/g' \
&& GO_BUILD_PACKAGES=./cmd/search make GO_REQUIRED_MIN_VERSION:= build
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should get rid of these crazy seds, e.g: index-bucket can be used to override the bucket name, likewise lets find all the ways to override these variable to avoid hacks

@@ -2,12 +2,12 @@ FROM golang
WORKDIR /go/src/github.com/openshift
Copy link
Contributor

Choose a reason for hiding this comment

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

we need to pin above golang version

RUN mkdir /var/lib/ci-search && chown 1000:1000 /var/lib/ci-search && chmod 1777 /var/lib/ci-search
USER 1000:1000
ENTRYPOINT ["search"]
CMD ["--path=/var/lib/ci-search/", "--deck-uri=https://prow.k8s.io"]
Copy link
Contributor

Choose a reason for hiding this comment

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

deck-url can be overridden during the runtime to avoid duplicate images

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants