-
Notifications
You must be signed in to change notification settings - Fork 485
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
80d4ebf
commit 340307a
Showing
3 changed files
with
27 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# The Dockerfile's resulting image is purpose-built for executing OpenTelemetry Operator e2e tests within the OpenShift release (https://github.com/openshift/release) using Prow CI. | ||
|
||
FROM golang:1.22 | ||
FROM golang:1.23 | ||
|
||
# Copy the repository files | ||
COPY . /tmp/opentelemetry-operator | ||
|
@@ -12,6 +12,7 @@ ENV GOPATH=/tmp/go | |
ENV GOBIN=/tmp/go/bin | ||
ENV GOCACHE=/tmp/.cache/go-build | ||
ENV PATH=$PATH:$GOBIN | ||
ENV CHAINSAW_VERSION=v0.2.12 | ||
|
||
# Create the /tmp/go/bin and build cache directories, and grant read and write permissions to all users | ||
RUN mkdir -p /tmp/go/bin $GOCACHE \ | ||
|
@@ -25,8 +26,11 @@ RUN curl -LO https://github.com/kudobuilder/kuttl/releases/download/v0.15.0/kube | |
&& chmod +x kubectl-kuttl_0.15.0_linux_x86_64 \ | ||
&& mv kubectl-kuttl_0.15.0_linux_x86_64 /usr/local/bin/kuttl | ||
|
||
# Install Chainsaw e2e | ||
RUN go install github.com/kyverno/[email protected] | ||
# Install chainsaw | ||
RUN curl -L -o chainsaw.tar.gz https://github.com/kyverno/chainsaw/releases/download/${CHAINSAW_VERSION}/chainsaw_linux_amd64.tar.gz \ | ||
&& tar -xvzf chainsaw.tar.gz \ | ||
&& chmod +x chainsaw \ | ||
&& mv chainsaw /usr/local/bin/ | ||
|
||
# Install kubectl and oc | ||
RUN curl -LO https://mirror.openshift.com/pub/openshift-v4/x86_64/clients/ocp/latest/openshift-client-linux.tar.gz \ | ||
|
@@ -41,4 +45,4 @@ RUN curl -LO https://github.com/grafana/loki/releases/latest/download/logcli-lin | |
&& mv logcli-linux-amd64 /usr/local/bin/logcli | ||
|
||
# Set the working directory | ||
WORKDIR /tmp/opentelemetry-operator | ||
WORKDIR /tmp/opentelemetry-operator |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters