Clean workflow files
This commit is contained in:
parent
4245faae73
commit
f4b8a61981
|
@ -46,19 +46,16 @@ runs:
|
||||||
echo 'disable_checkpoint = true' \
|
echo 'disable_checkpoint = true' \
|
||||||
| tee -a /home/runner/.terraformrc
|
| tee -a /home/runner/.terraformrc
|
||||||
mkdir -p ${{ env.TF_PLUGIN_CACHE_DIR }}
|
mkdir -p ${{ env.TF_PLUGIN_CACHE_DIR }}
|
||||||
|
|
||||||
- name: Download lockfile
|
- name: Download lockfile
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: lockfile
|
name: lockfile
|
||||||
path: tools/lockfile
|
path: tools/lockfile
|
||||||
|
- name: Download Terraform provider cache
|
||||||
- name: Cache Terraform
|
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ${{ env.TF_PLUGIN_CACHE_DIR }}
|
path: ${{ env.TF_PLUGIN_CACHE_DIR }}
|
||||||
key: ${{ runner.os }}-terraform-${{ hashFiles('tools/lockfile/.terraform.lock.hcl') }}
|
key: ${{ runner.os }}-terraform-${{ hashFiles('tools/lockfile/.terraform.lock.hcl') }}
|
||||||
|
|
||||||
# avoid conflicts with user-installed providers on local machines
|
# avoid conflicts with user-installed providers on local machines
|
||||||
- name: Pin provider versions
|
- name: Pin provider versions
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
|
@ -53,17 +53,12 @@ jobs:
|
||||||
cd tools/lockfile
|
cd tools/lockfile
|
||||||
terraform init -upgrade=true
|
terraform init -upgrade=true
|
||||||
|
|
||||||
- name: Cache Terraform
|
- name: Upload Terraform provider cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ${{ env.TF_PLUGIN_CACHE_DIR }}
|
path: ${{ env.TF_PLUGIN_CACHE_DIR }}
|
||||||
key: ${{ runner.os }}-terraform-${{ hashFiles('tools/lockfile/.terraform.lock.hcl') }}
|
key: ${{ runner.os }}-terraform-${{ hashFiles('tools/lockfile/.terraform.lock.hcl') }}
|
||||||
|
|
||||||
- name: tf provider cache content
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
ls -Ra /home/runner/.terraform.d/plugin-cache
|
|
||||||
|
|
||||||
- name: Upload lockfile
|
- name: Upload lockfile
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -12,14 +12,14 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
resource "local_file" "default" {}
|
data "archive_file" "bundle" {}
|
||||||
|
resource "azuread_user" "default" {}
|
||||||
|
resource "azurerm_resource_group" "default" {}
|
||||||
|
resource "github_branch" "default" {}
|
||||||
resource "google_service_account" "sa1" {}
|
resource "google_service_account" "sa1" {}
|
||||||
resource "google_service_account" "sa2" { provider = google-beta }
|
resource "google_service_account" "sa2" { provider = google-beta }
|
||||||
|
resource "local_file" "default" {}
|
||||||
resource "random_pet" "default" {}
|
resource "random_pet" "default" {}
|
||||||
resource "tls_private_key" "default" {}
|
|
||||||
resource "github_branch" "default" {}
|
|
||||||
resource "time_static" "default" {}
|
resource "time_static" "default" {}
|
||||||
|
resource "tls_private_key" "default" {}
|
||||||
resource "vsphere_role" "default" {}
|
resource "vsphere_role" "default" {}
|
||||||
resource "azurerm_resource_group" "default" {}
|
|
||||||
resource "azuread_user" "default" {}
|
|
||||||
data "archive_file" "bundle" {}
|
|
||||||
|
|
Loading…
Reference in New Issue