<commit_before>FROM golang:1.18 as build-env
ENV CGO_ENABLED=0 \
    GOOS=linux \
    GOARCH=amd64

# e2e test
WORKDIR /tmp/secrets-store-csi-driver-provider-gcp/test/e2e
COPY . ./
RUN go get -t ./...
RUN go test -c .

# Use Cloud SDK image to use gCloud in tests
FROM gcr.io/google.com/cloudsdktool/cloud-sdk:debian_component_based

COPY --from=build-env /tmp/secrets-store-csi-driver-provider-gcp/test/e2e/e2e.test /bin/
COPY --from=build-env /tmp/secrets-store-csi-driver-provider-gcp/test/e2e/templates /test/templates<commit_msg>chore: install the gke auth plugin on test image (#176)<commit_after>FROM golang:1.18 as build-env
ENV CGO_ENABLED=0 \
    GOOS=linux \
    GOARCH=amd64

# e2e test
WORKDIR /tmp/secrets-store-csi-driver-provider-gcp/test/e2e
COPY . ./
RUN go get -t ./...
RUN go test -c .

# Use Cloud SDK image to use gCloud in tests
ARG INSTALL_COMPONENTS=gke-gcloud-auth-plugin
FROM gcr.io/google.com/cloudsdktool/cloud-sdk:debian_component_based

COPY --from=build-env /tmp/secrets-store-csi-driver-provider-gcp/test/e2e/e2e.test /bin/
COPY --from=build-env /tmp/secrets-store-csi-driver-provider-gcp/test/e2e/templates /test/templates
{'fraction_non_alphanumeric': 0.13321799307958476, 'fraction_numerical': 0.02162629757785467, 'mean_word_length': 3.5731225296442686, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4969177', 'n_tokens_mistral': 476, 'n_tokens_neox': 456, 'n_words': 90}