Skip to content

Commit

Permalink
Disable more arm64 jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
dflook committed Aug 1, 2024
1 parent d384e0f commit feb3f4e
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 63 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/test-plan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -863,20 +863,20 @@ jobs:
path: tests/workflows/test-plan/plan
label: test-plan test_plan_1_4

arm64:
runs-on: buildjet-2vcpu-ubuntu-2204-arm
name: Test on arm64
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Plan
uses: ./terraform-plan
with:
path: tests/workflows/test-plan/plan
label: arm64
# arm64:
# runs-on: buildjet-2vcpu-ubuntu-2204-arm
# name: Test on arm64
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# steps:
# - name: Checkout
# uses: actions/checkout@v4
#
# - name: Plan
# uses: ./terraform-plan
# with:
# path: tests/workflows/test-plan/plan
# label: arm64

always_new:
runs-on: ubuntu-latest
Expand Down
98 changes: 49 additions & 49 deletions .github/workflows/test-version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -627,55 +627,55 @@ jobs:
exit 1
fi
arm64:
runs-on: buildjet-2vcpu-ubuntu-2204-arm
name: Version detection on arm
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Version unsupported on arm
uses: ./terraform-version
continue-on-error: true
id: arm-unsupported
env:
TERRAFORM_VERSION: 0.12.0
with:
path: tests/workflows/test-version/empty

- name: Check failed to download unsupported platform
run: |
if [[ "${{ steps.arm-unsupported.outcome }}" != "failure" ]]; then
echo "Did not fail correctly"
exit 1
fi
- name: Version doesn't exist
uses: ./terraform-version
continue-on-error: true
id: no-such-version
with:
path: tests/workflows/test-version/nosuchversion

- name: Check failed to download no such version
run: |
if [[ "${{ steps.no-such-version.outcome }}" != "failure" ]]; then
echo "Did not fail correctly"
exit 1
fi
- name: Test terraform-version
uses: ./terraform-version
id: terraform-version
with:
path: tests/workflows/test-version/tfswitch

- name: Check the version
run: |
if [[ "${{ steps.terraform-version.outputs.terraform }}" != "1.1.0" ]]; then
echo "::error:: Terraform version not set from .tfswitchrc"
exit 1
fi
# arm64:
# runs-on: buildjet-2vcpu-ubuntu-2204-arm
# name: Version detection on arm
# steps:
# - name: Checkout
# uses: actions/checkout@v4
#
# - name: Version unsupported on arm
# uses: ./terraform-version
# continue-on-error: true
# id: arm-unsupported
# env:
# TERRAFORM_VERSION: 0.12.0
# with:
# path: tests/workflows/test-version/empty
#
# - name: Check failed to download unsupported platform
# run: |
# if [[ "${{ steps.arm-unsupported.outcome }}" != "failure" ]]; then
# echo "Did not fail correctly"
# exit 1
# fi
#
# - name: Version doesn't exist
# uses: ./terraform-version
# continue-on-error: true
# id: no-such-version
# with:
# path: tests/workflows/test-version/nosuchversion
#
# - name: Check failed to download no such version
# run: |
# if [[ "${{ steps.no-such-version.outcome }}" != "failure" ]]; then
# echo "Did not fail correctly"
# exit 1
# fi
#
# - name: Test terraform-version
# uses: ./terraform-version
# id: terraform-version
# with:
# path: tests/workflows/test-version/tfswitch
#
# - name: Check the version
# run: |
# if [[ "${{ steps.terraform-version.outputs.terraform }}" != "1.1.0" ]]; then
# echo "::error:: Terraform version not set from .tfswitchrc"
# exit 1
# fi

terraform_opentofu_version:
runs-on: ubuntu-latest
Expand Down

0 comments on commit feb3f4e

Please sign in to comment.