mirror of
https://github.com/coder/coder.git
synced 2025-07-13 21:36:50 +00:00
chore: pin terraform to 1.5.2 (#8322)
The Alpine ARM builders are no longer behind on releases.
This commit is contained in:
11
.github/actions/setup-tf/action.yaml
vendored
Normal file
11
.github/actions/setup-tf/action.yaml
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
name: "Setup Terraform"
|
||||
description: |
|
||||
Sets up Terraform for tests, builds, etc.
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: Install Terraform
|
||||
uses: hashicorp/setup-terraform@v2
|
||||
with:
|
||||
terraform_version: 1.5.2
|
||||
terraform_wrapper: false
|
24
.github/workflows/ci.yaml
vendored
24
.github/workflows/ci.yaml
vendored
@ -240,11 +240,7 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- uses: ./.github/actions/setup-go
|
||||
|
||||
- uses: hashicorp/setup-terraform@v2
|
||||
with:
|
||||
terraform_version: 1.5.1
|
||||
terraform_wrapper: false
|
||||
- uses: ./.github/actions/setup-tf
|
||||
|
||||
- name: Test with Mock Database
|
||||
id: test
|
||||
@ -305,11 +301,7 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- uses: ./.github/actions/setup-go
|
||||
|
||||
- uses: hashicorp/setup-terraform@v2
|
||||
with:
|
||||
terraform_version: 1.5.1
|
||||
terraform_wrapper: false
|
||||
- uses: ./.github/actions/setup-tf
|
||||
|
||||
- name: Test with PostgreSQL Database
|
||||
run: |
|
||||
@ -349,11 +341,7 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- uses: ./.github/actions/setup-go
|
||||
|
||||
- uses: hashicorp/setup-terraform@v2
|
||||
with:
|
||||
terraform_version: 1.5.1
|
||||
terraform_wrapper: false
|
||||
- uses: ./.github/actions/setup-tf
|
||||
|
||||
- name: Run Tests
|
||||
run: |
|
||||
@ -488,11 +476,7 @@ jobs:
|
||||
|
||||
- uses: ./.github/actions/setup-node
|
||||
- uses: ./.github/actions/setup-go
|
||||
|
||||
- uses: hashicorp/setup-terraform@v2
|
||||
with:
|
||||
terraform_version: 1.5.1
|
||||
terraform_wrapper: false
|
||||
- uses: ./.github/actions/setup-tf
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
|
6
.github/workflows/nightly-gauntlet.yaml
vendored
6
.github/workflows/nightly-gauntlet.yaml
vendored
@ -19,11 +19,7 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- uses: ./.github/actions/setup-go
|
||||
|
||||
- uses: hashicorp/setup-terraform@v2
|
||||
with:
|
||||
terraform_version: 1.1.9
|
||||
terraform_wrapper: false
|
||||
- uses: ./.github/actions/setup-tf
|
||||
|
||||
- name: Run Tests
|
||||
run: |
|
||||
|
@ -13,11 +13,8 @@ RUN apk add --no-cache \
|
||||
git \
|
||||
openssh-client && \
|
||||
# Use the edge repo, since Terraform doesn't seem to be backported to 3.18.
|
||||
# TODO: remove =~
|
||||
# For some reason alpine's ARM builders are offline, so ARM builds will have
|
||||
# to fall back to 1.5.0.
|
||||
apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community \
|
||||
terraform=~1.5-r0 && \
|
||||
terraform=1.5.2-r0 && \
|
||||
addgroup \
|
||||
-g 1000 \
|
||||
coder && \
|
||||
|
Reference in New Issue
Block a user