mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +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: actions/checkout@v3
|
||||||
|
|
||||||
- uses: ./.github/actions/setup-go
|
- uses: ./.github/actions/setup-go
|
||||||
|
- uses: ./.github/actions/setup-tf
|
||||||
- uses: hashicorp/setup-terraform@v2
|
|
||||||
with:
|
|
||||||
terraform_version: 1.5.1
|
|
||||||
terraform_wrapper: false
|
|
||||||
|
|
||||||
- name: Test with Mock Database
|
- name: Test with Mock Database
|
||||||
id: test
|
id: test
|
||||||
@ -305,11 +301,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- uses: ./.github/actions/setup-go
|
- uses: ./.github/actions/setup-go
|
||||||
|
- uses: ./.github/actions/setup-tf
|
||||||
- uses: hashicorp/setup-terraform@v2
|
|
||||||
with:
|
|
||||||
terraform_version: 1.5.1
|
|
||||||
terraform_wrapper: false
|
|
||||||
|
|
||||||
- name: Test with PostgreSQL Database
|
- name: Test with PostgreSQL Database
|
||||||
run: |
|
run: |
|
||||||
@ -349,11 +341,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- uses: ./.github/actions/setup-go
|
- uses: ./.github/actions/setup-go
|
||||||
|
- uses: ./.github/actions/setup-tf
|
||||||
- uses: hashicorp/setup-terraform@v2
|
|
||||||
with:
|
|
||||||
terraform_version: 1.5.1
|
|
||||||
terraform_wrapper: false
|
|
||||||
|
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
run: |
|
run: |
|
||||||
@ -488,11 +476,7 @@ jobs:
|
|||||||
|
|
||||||
- uses: ./.github/actions/setup-node
|
- uses: ./.github/actions/setup-node
|
||||||
- uses: ./.github/actions/setup-go
|
- uses: ./.github/actions/setup-go
|
||||||
|
- uses: ./.github/actions/setup-tf
|
||||||
- uses: hashicorp/setup-terraform@v2
|
|
||||||
with:
|
|
||||||
terraform_version: 1.5.1
|
|
||||||
terraform_wrapper: false
|
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
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: actions/checkout@v3
|
||||||
|
|
||||||
- uses: ./.github/actions/setup-go
|
- uses: ./.github/actions/setup-go
|
||||||
|
- uses: ./.github/actions/setup-tf
|
||||||
- uses: hashicorp/setup-terraform@v2
|
|
||||||
with:
|
|
||||||
terraform_version: 1.1.9
|
|
||||||
terraform_wrapper: false
|
|
||||||
|
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
run: |
|
run: |
|
||||||
|
@ -13,11 +13,8 @@ RUN apk add --no-cache \
|
|||||||
git \
|
git \
|
||||||
openssh-client && \
|
openssh-client && \
|
||||||
# Use the edge repo, since Terraform doesn't seem to be backported to 3.18.
|
# 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 \
|
apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community \
|
||||||
terraform=~1.5-r0 && \
|
terraform=1.5.2-r0 && \
|
||||||
addgroup \
|
addgroup \
|
||||||
-g 1000 \
|
-g 1000 \
|
||||||
coder && \
|
coder && \
|
||||||
|
Reference in New Issue
Block a user