Skip to content

Commit

Permalink
Merge pull request #346 from alphagov/fix-github-actions-ci
Browse files Browse the repository at this point in the history
Fix GitHub actions CI
  • Loading branch information
monotypical authored Mar 4, 2025
2 parents 272908a + dbf550c commit 3db6173
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-image-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jobs:
platforms: ${{ inputs.test_platform }}

- name: Set up ruby
uses: ruby/setup-ruby@5cfe23c062c0aac352e765b1b7cc12ea5255ccc4
uses: ruby/setup-ruby@32110d4e311bd8996b2a82bf2a43b714ccc91777
with:
bundler-cache: true
if: steps.check_for_tests.outputs.files_exists == 'true'
Expand Down
5 changes: 3 additions & 2 deletions bosh-cli-v2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ FROM ruby:3.1-slim-buster
ENV BOSH_CLI_VERSION 7.3.1
ENV BOSH_CLI_SUM f6f80461208f186aa3587b25abc12b86e217e7c96594e335de3c17f4ed683a3f
ENV BOSH_CLI_FILENAME bosh-cli-${BOSH_CLI_VERSION}-linux-amd64
ENV BOSH_CLI_PATH v${BOSH_CLI_VERSION}/${BOSH_CLI_FILENAME}

ENV DEBIAN_PACKAGES "ca-certificates wget git openssh-client file jq"

Expand All @@ -21,14 +22,14 @@ 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/${BOSH_CLI_PATH} \
&& echo "${BOSH_CLI_SUM} ${BOSH_CLI_FILENAME}" | sha256sum -c - \
&& chmod +x ${BOSH_CLI_FILENAME} \
&& mv ${BOSH_CLI_FILENAME} /usr/local/bin/bosh

COPY bosh_init_cache /tmp/bosh_init_cache/
RUN /tmp/bosh_init_cache/seed_bosh_init_cache.sh && \
rm -rf /tmp/bosh_init_cache
rm -rf /tmp/bosh_init_cache

ENV CREDHUB_CLI_VERSION 2.9.19
ENV CREDHUB_CLI_SUM dcb942badda5db92ed25fa20eefe110a39f8af31ae6cd978aa5b1f0241ae05a6
Expand Down
2 changes: 1 addition & 1 deletion cf-uaac/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ FROM ghcr.io/alphagov/paas/ruby-base:main

RUN apk add --no-cache musl-dev gcc make g++

RUN gem install cf-uaac -v 4.14.0 --no-document
RUN gem install cf-uaac -v 4.27.0 --no-document
2 changes: 1 addition & 1 deletion cf-uaac/cf-uaac_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
require 'docker'
require 'serverspec'

UAAC_VERSION="4.14.0"
UAAC_VERSION="4.27.0"

describe "cf-uaac image" do
before(:all) {
Expand Down
16 changes: 8 additions & 8 deletions middleman/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM ghcr.io/alphagov/paas/ruby:main
FROM ruby:3.4-slim

RUN apt update \
&& apt install -y \
build-essential \
libffi-dev \
git \
libcurl4-openssl-dev \
nodejs
build-essential \
libffi-dev \
git \
libcurl4-openssl-dev \
nodejs

RUN gem install \
middleman
RUN gem install concurrent-ruby -v 1.3.4
RUN gem install middleman
2 changes: 1 addition & 1 deletion ruby/Dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FROM ruby:3.1-slim
FROM ruby:3.4-slim

0 comments on commit 3db6173

Please sign in to comment.