Skip to content

Commit

Permalink
[draft] [chef] Upgrade CI workers for chef tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitryax committed Jan 17, 2025
1 parent 22d8607 commit 535a02f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/chef-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ env:
jobs:
chef-lint-spec-test:
name: chef-lint-spec-test
# Use 20.04.5 until https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/16450 is resolved
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Check out the codebase.
uses: actions/checkout@v4
Expand All @@ -46,7 +45,7 @@ jobs:
make rake-spec
chef-kitchen-matrix:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- name: Check out code
uses: actions/checkout@v4
Expand Down Expand Up @@ -80,8 +79,7 @@ jobs:
win-matrix: ${{ steps.get-win-matrix.outputs.matrix }}

chef-kitchen-linux:
# Use 20.04.5 until https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/16450 is resolved
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
needs: [chef-lint-spec-test, chef-kitchen-matrix]
strategy:
matrix: ${{ fromJSON(needs.chef-kitchen-matrix.outputs.linux-matrix) }}
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/chef.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ permissions:
jobs:
push-release-tag:
name: Push Release Tag
# Use 20.04.5 until https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/16450 is resolved
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
if: github.ref == 'refs/heads/main'
steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion deployments/chef/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:2.7-buster
FROM ruby:3.4-buster

RUN apt-get update &&\
apt-get install -yq ca-certificates procps systemd apt-transport-https libcap2-bin curl gnupg
Expand Down

0 comments on commit 535a02f

Please sign in to comment.