Skip to content

Commit

Permalink
Merge pull request #77 from orange-cloudfoundry/renovate/cloudfoundry…
Browse files Browse the repository at this point in the history
…-bosh-cli-7.x

chore(deps): update dependency cloudfoundry/bosh-cli to v7.5.6
  • Loading branch information
o-orand authored May 7, 2024
2 parents 7253f58 + eec5055 commit 0812269
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions bosh-cli-v2-cf-cli/bosh-cli-v2-cf-cli_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
require 'docker'
require 'serverspec'

BOSH_CLI_VERSION="7.4.0" # renovate: datasource=github-releases depName=cloudfoundry/bosh-cli
BOSH_CLI_VERSION="7.5.6" # renovate: datasource=github-releases depName=cloudfoundry/bosh-cli
CF_CLI_VERSION="8.7.6" # renovate: datasource=github-releases depName=cloudfoundry/cli
SPRUCE_BIN = "/usr/local/bin/spruce"
SPRUCE_VERSION = "1.31.0" # renovate: datasource=github-releases depName=geofffranks/spruce
Expand Down Expand Up @@ -31,7 +31,7 @@
it "has the expected version of the Bosh CLI (#{BOSH_CLI_VERSION})" do
expect(
command("bosh -v").stdout.strip
).to match("version #{BOSH_CLI_VERSION}-")
).to match("version #{BOSH_CLI_VERSION}$")
end

it "has the expected version of the CF CLI (#{CF_CLI_VERSION})" do
Expand Down
6 changes: 3 additions & 3 deletions bosh-cli-v2/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
FROM ruby:3.1-slim-bullseye

# renovate: datasource=github-releases depName=cloudfoundry/bosh-cli
ENV BOSH_CLI_VERSION 7.4.0
ENV BOSH_CLI_SUM 98705c704beedb08621db48ab2f4cad42704b85aba36cc99f3a9dc2738ebc226
ENV BOSH_CLI_VERSION 7.5.6
ENV BOSH_CLI_SUM 6fb9bb085c3afe7eff6e9a4e783731aeb4f03baf5ce1caf7ed229f29a97e60ac
ENV BOSH_CLI_FILENAME bosh-cli-${BOSH_CLI_VERSION}-linux-amd64

ENV DEBIAN_PACKAGES "ca-certificates wget git openssh-client file jq"
Expand All @@ -17,7 +17,7 @@ RUN apt-get update \
&& apt-get install -y --no-install-recommends ${BOSH_ENV_DEPS} \
&& rm -rf /var/lib/apt/lists/*

RUN wget -nv https://s3.amazonaws.com/bosh-cli-artifacts/${BOSH_CLI_FILENAME} \
RUN wget -nv https://github.com/cloudfoundry/bosh-cli/releases/download/v${BOSH_CLI_VERSION}/${BOSH_CLI_FILENAME} \
&& echo "${BOSH_CLI_SUM} ${BOSH_CLI_FILENAME}" | sha256sum -c - \
&& chmod +x ${BOSH_CLI_FILENAME} \
&& mv ${BOSH_CLI_FILENAME} /usr/local/bin/bosh
Expand Down
4 changes: 2 additions & 2 deletions bosh-cli-v2/bosh-cli-v2_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
require 'docker'
require 'serverspec'

BOSH_CLI_VERSION="7.4.0" # renovate: datasource=github-releases depName=cloudfoundry/bosh-cli
BOSH_CLI_VERSION="7.5.6" # renovate: datasource=github-releases depName=cloudfoundry/bosh-cli
CREDHUB_CLI_VERSION='2.9.24' # renovate: datasource=github-releases depName=cloudfoundry/credhub-cli
RUBY_VERSION = "3.1"

Expand All @@ -23,7 +23,7 @@
it "has the expected version of the Bosh CLI (#{BOSH_CLI_VERSION})" do
expect(
command("bosh -v").stdout.strip
).to match("version #{BOSH_CLI_VERSION}-")
).to match("version #{BOSH_CLI_VERSION}$")
end

it "has `file` available" do
Expand Down
6 changes: 3 additions & 3 deletions k8s-tools/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ RUN echo "Computed ${YQ_FILENAME} sha256sum: $(sha256sum ${YQ_FILENAME})" \
&& mv ${YQ_FILENAME} /usr/local/bin/yq

# renovate: datasource=github-releases depName=cloudfoundry/bosh-cli
ENV BOSH_CLI_VERSION 7.4.0
ENV BOSH_CLI_SUM 98705c704beedb08621db48ab2f4cad42704b85aba36cc99f3a9dc2738ebc226
ENV BOSH_CLI_VERSION 7.5.6
ENV BOSH_CLI_SUM 6fb9bb085c3afe7eff6e9a4e783731aeb4f03baf5ce1caf7ed229f29a97e60ac
ENV BOSH_CLI_FILENAME bosh-cli-${BOSH_CLI_VERSION}-linux-amd64
ADD https://s3.amazonaws.com/bosh-cli-artifacts/${BOSH_CLI_FILENAME} .
ADD https://github.com/cloudfoundry/bosh-cli/releases/download/v${BOSH_CLI_VERSION}/${BOSH_CLI_FILENAME} .
RUN echo "Computed ${BOSH_CLI_FILENAME} sha256sum: $(sha256sum ${BOSH_CLI_FILENAME})" \
&& echo "${BOSH_CLI_SUM} ${BOSH_CLI_FILENAME}" | sha256sum -c - \
&& chmod +x ${BOSH_CLI_FILENAME} \
Expand Down
4 changes: 2 additions & 2 deletions k8s-tools/k8s-tools_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
require 'docker'
require 'serverspec'

BOSH_CLI_VERSION="7.4.0" # renovate: datasource=github-releases depName=cloudfoundry/bosh-cli
BOSH_CLI_VERSION="7.5.6" # renovate: datasource=github-releases depName=cloudfoundry/bosh-cli
YTT_VERSION="0.49.0" # renovate: datasource=github-releases depName=k14s/ytt
CREDHUB_CLI_VERSION='2.9.24' # renovate: datasource=github-releases depName=cloudfoundry/credhub-cli
KUSTOMIZE_VERSION="5.0.3" # renovate: datasource=github-releases depName=kubernetes-sigs/kustomize
Expand Down Expand Up @@ -129,6 +129,6 @@
it "has the expected version of the Bosh CLI" do
expect(
command("bosh -v").stdout.strip
).to match("version #{BOSH_CLI_VERSION}-")
).to match("version #{BOSH_CLI_VERSION}$")
end
end

0 comments on commit 0812269

Please sign in to comment.