Update default FAST org policies (#3207)
This commit is contained in:
4
.github/actions/fabric-tests/action.yml
vendored
4
.github/actions/fabric-tests/action.yml
vendored
@@ -1,4 +1,4 @@
|
||||
# Copyright 2024 Google LLC
|
||||
# Copyright 2025 Google LLC
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
@@ -71,7 +71,7 @@ runs:
|
||||
- name: Pin provider versions
|
||||
shell: bash
|
||||
run: |
|
||||
for f in $(find . -name versions.tf); do
|
||||
for f in $(find . -name versions.tf -o -name versions.tofu); do
|
||||
sed -i 's/>=\(.*# tftest\)/=\1/g' $f;
|
||||
done
|
||||
- name: Install Python Dependencies
|
||||
|
||||
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@@ -83,7 +83,7 @@ jobs:
|
||||
mkdir -p ${{ env.TF_PLUGIN_CACHE_DIR }}
|
||||
echo 'plugin_cache_dir = "${{ env.TF_PLUGIN_CACHE_DIR }}"' | tee -a /home/runner/.terraformrc
|
||||
echo 'disable_checkpoint = true' | tee -a /home/runner/.terraformrc
|
||||
sed -i -e 's/>=\(.*# tftest\)/=\1/g' tools/lockfile/versions.tf
|
||||
sed -i -e 's/>=\(.*# tftest\)/=\1/g' tools/lockfile/versions.tf tools/lockfile/versions.tofu
|
||||
|
||||
# change terraform version to the one that is running
|
||||
sed -i 's/required_version = .*$/required_version = ">= ${{ matrix.version }}"/g' tools/lockfile/versions.tf
|
||||
|
||||
Reference in New Issue
Block a user