Skip to content

Commit

Permalink
remove opa (#72)
Browse files Browse the repository at this point in the history
Co-authored-by: Pawel Franczak <[email protected]>
  • Loading branch information
pawfra and Pawel Franczak authored Mar 11, 2024
1 parent b50b920 commit 882eed3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ PACKER_VERSION=1.9.4
TERRAFORM_1_VERSION=1.5.7
KUBECTL_VERSION=1.26.8
HELM_VERSION=v3.12.3
ANSIBLE_VERSION=8.4.0
CONFTEST_VERSION=0.45.0
ANSIBLE_VERSION=8.4.0
INFRACOST_VERSION=v0.10.29
COSIGN_VERSION=1.13.1
SENTRY_CLI_VERSION=2.21.0
Expand Down
10 changes: 0 additions & 10 deletions jenkins-inbound-agent/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ ARG TERRAFORM_1_VERSION=1.6.3
ARG KUBECTL_VERSION=1.26.8
ARG HELM_VERSION=v3.12.3
ARG ANSIBLE_VERSION=8.4.0
ARG CONFTEST_VERSION=0.46.0
ARG INFRACOST_VERSION=v0.10.29
ARG COSIGN_VERSION=1.13.1
ARG SENTRY_CLI_VERSION=2.21.2
Expand Down Expand Up @@ -48,7 +47,6 @@ RUN set -eux; \
KUBECTL_DOWNLOAD_URL="https://storage.googleapis.com/kubernetes-release/release/v${KUBECTL_VERSION}/bin/linux/arm64/kubectl"; \
HELM_DOWNLOAD_URL="https://get.helm.sh/helm-${HELM_VERSION}-linux-arm64.tar.gz"; \
HELM_FOLDER="linux-arm64"; \
CONFTEST_DOWNLOAD_URL="https://github.com/open-policy-agent/conftest/releases/download/v${CONFTEST_VERSION}/conftest_${CONFTEST_VERSION}_Linux_arm64.tar.gz"; \
INFRACOST_DOWNLOAD_FILE="infracost-linux-arm64"; \
INFRACOST_DOWNLOAD_URL="https://github.com/infracost/infracost/releases/download/${INFRACOST_VERSION}"; \
COSIGN_DOWNLOAD_URL="https://github.com/sigstore/cosign/releases/download/v${COSIGN_VERSION}/cosign_${COSIGN_VERSION}_arm64.deb"; \
Expand All @@ -64,7 +62,6 @@ RUN set -eux; \
KUBECTL_DOWNLOAD_URL="https://storage.googleapis.com/kubernetes-release/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl"; \
HELM_DOWNLOAD_URL="https://get.helm.sh/helm-${HELM_VERSION}-linux-amd64.tar.gz"; \
HELM_FOLDER="linux-amd64"; \
CONFTEST_DOWNLOAD_URL="https://github.com/open-policy-agent/conftest/releases/download/v${CONFTEST_VERSION}/conftest_${CONFTEST_VERSION}_Linux_x86_64.tar.gz"; \
INFRACOST_DOWNLOAD_FILE="infracost-linux-amd64"; \
INFRACOST_DOWNLOAD_URL="https://github.com/infracost/infracost/releases/download/${INFRACOST_VERSION}"; \
COSIGN_DOWNLOAD_URL="https://github.com/sigstore/cosign/releases/download/v${COSIGN_VERSION}/cosign_${COSIGN_VERSION}_amd64.deb"; \
Expand Down Expand Up @@ -103,13 +100,6 @@ RUN set -eux; \
tar -xvzf helm.tar.gz && chmod +x "${HELM_FOLDER}/helm" && mv "${HELM_FOLDER}/helm" /usr/bin; \
rm -rf "${HELM_FOLDER}" helm.tar.gz; \

#### install conftest (aka opa)
curl -L "${CONFTEST_DOWNLOAD_URL}" -o "conftest_${CONFTEST_VERSION}.tar.gz"; \
tar xzf "conftest_${CONFTEST_VERSION}.tar.gz"; \
mv conftest /usr/local/bin; \
chmod +x /usr/local/bin/conftest; \
rm "conftest_${CONFTEST_VERSION}.tar.gz"; \

#### install infracost
curl -L "${INFRACOST_DOWNLOAD_URL}/${INFRACOST_DOWNLOAD_FILE}.tar.gz" -o "${INFRACOST_DOWNLOAD_FILE}.tar.gz"; \
curl -L "${INFRACOST_DOWNLOAD_URL}/${INFRACOST_DOWNLOAD_FILE}.tar.gz.sha256" -o "${INFRACOST_DOWNLOAD_FILE}.tar.gz.sha256"; \
Expand Down

0 comments on commit 882eed3

Please sign in to comment.