Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: 3.2.2
ruby-version: 3.4.8
- run: bundle install
- run: rake spec

Expand All @@ -29,7 +29,7 @@ jobs:
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: 3.2.2
ruby-version: 3.4.8
- run: rake version
- run: rake build
- uses: actions/upload-artifact@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: 3.2.2
ruby-version: 3.4.8
- run: rake version
- run: rake build
- uses: actions/upload-artifact@v4
Expand All @@ -40,7 +40,7 @@ jobs:
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: 3.2.2
ruby-version: 3.4.8
- uses: actions/download-artifact@v4
with:
name: pkg
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.2
3.4.8
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ruby 3.4.8
14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:3.2.2-alpine3.18
FROM ruby:3.4.8-alpine3.23

ARG TERRAFYING_VERSION=0.0.0

Expand All @@ -10,12 +10,12 @@ RUN wget -O terraform.zip https://releases.hashicorp.com/terraform/0.11.14/terra

COPY pkg /tmp

RUN apk add --update --no-cache --virtual .terra-builddeps build-base ruby-dev \
&& apk add --update --no-cache --virtual .terra-rundeps git bash \
&& gem install /tmp/terrafying-${TERRAFYING_VERSION}.gem \
&& install -d /terra \
&& apk del .terra-builddeps \
&& rm -rf /var/cache/apk/*
RUN apk add --update --no-cache --virtual .terra-builddeps build-base ruby-dev
RUN apk add --update --no-cache --virtual .terra-rundeps git bash
RUN gem install /tmp/terrafying-${TERRAFYING_VERSION}.gem
RUN install -d /terra
RUN apk del .terra-builddeps
RUN rm -rf /var/cache/apk/*

WORKDIR /terra

Expand Down
2 changes: 1 addition & 1 deletion terrafying.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ Gem::Specification.new do |spec|
spec.add_runtime_dependency 'deep_merge', '~> 1.1.1'
spec.add_runtime_dependency 'netaddr', '~> 1.5'
spec.add_runtime_dependency 'thor', '~> 1.4.0'
spec.add_runtime_dependency 'xxhash', '~> 0.4.0'
spec.add_runtime_dependency 'xxhash', '~> 0.7.0'
end