Skip to content

Commit ed594b7

Browse files
Merge pull request #48 from PillaiManish/sscsi-182
SSCSI-182: Follow up PR to install az-cli
2 parents 11d4d89 + bdcc23b commit ed594b7

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

Dockerfile.bats

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,14 @@ COPY --from=builder /go/src/github.com/openshift/secrets-store-csi-driver/google
3434
RUN ln -s /usr/local/google-cloud-sdk/bin/gcloud /usr/local/bin/gcloud
3535
RUN gcloud version
3636

37+
# Install Azure CLI
38+
RUN rpm --import https://packages.microsoft.com/keys/microsoft.asc && \
39+
dnf install -y https://packages.microsoft.com/config/rhel/9/packages-microsoft-prod.rpm && \
40+
mv /etc/yum.repos.d/microsoft-prod.repo /etc/yum.repos.art/ci/ && \
41+
dnf install -y azure-cli && \
42+
dnf clean all
43+
44+
RUN az --version
45+
3746
# Install envsubst and less
3847
RUN dnf install -y gettext less && dnf clean all

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ e2e-provider:
472472
bats -t -T test/bats/e2e-provider.bats
473473

474474
.PHONY: e2e-azure
475-
e2e-azure: $(AZURE_CLI)
475+
e2e-azure:
476476
bats -t test/bats/azure.bats
477477

478478
.PHONY: e2e-vault

0 commit comments

Comments
 (0)