From 793153e38acd53222e7db62aa1352ed05f79e5b8 Mon Sep 17 00:00:00 2001 From: Jonathan Cammisuli Date: Thu, 30 May 2024 10:35:28 -0400 Subject: [PATCH] update linux launch template to v4 --- launch-templates/linux.yaml | 196 ++++++++++++++++++------------------ 1 file changed, 98 insertions(+), 98 deletions(-) diff --git a/launch-templates/linux.yaml b/launch-templates/linux.yaml index f433714..88fa327 100644 --- a/launch-templates/linux.yaml +++ b/launch-templates/linux.yaml @@ -4,175 +4,175 @@ launch-templates: image: 'ubuntu22.04-node20.11-v7' init-steps: - name: Checkout - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/checkout/main.yaml' + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/checkout/main.yaml' - name: Restore Node Modules Cache - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/cache/main.yaml' - env: - KEY: 'package-lock.json|yarn.lock|pnpm-lock.yaml' - PATHS: 'node_modules' - BASE_BRANCH: 'main' + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/cache/main.yaml' + inputs: + key: 'package-lock.json|yarn.lock|pnpm-lock.yaml' + paths: 'node_modules' + base-branch: 'main' - name: Restore Browser Binary Cache - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/cache/main.yaml' - env: - KEY: 'package-lock.json|yarn.lock|pnpm-lock.yaml|"browsers"' - PATHS: | + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/cache/main.yaml' + inputs: + key: 'package-lock.json|yarn.lock|pnpm-lock.yaml|"browsers"' + paths: | '../.cache/Cypress' '../.cache/ms-playwright' - BASE_BRANCH: 'main' + base-branch: 'main' - name: Install Node Modules - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/install-node-modules/main.yaml' + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/install-node-modules/main.yaml' - name: Install Browsers (if needed) - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/install-browsers/main.yaml' + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/install-browsers/main.yaml' linux-medium-js: resource-class: 'docker_linux_amd64/medium' image: 'ubuntu22.04-node20.11-v7' init-steps: - name: Checkout - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/checkout/main.yaml' + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/checkout/main.yaml' - name: Restore Node Modules Cache - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/cache/main.yaml' - env: - KEY: 'package-lock.json|yarn.lock|pnpm-lock.yaml' - PATHS: 'node_modules' - BASE_BRANCH: 'main' + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/cache/main.yaml' + inputs: + key: 'package-lock.json|yarn.lock|pnpm-lock.yaml' + paths: 'node_modules' + base-branch: 'main' - name: Restore Browser Binary Cache - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/cache/main.yaml' - env: - KEY: 'package-lock.json|yarn.lock|pnpm-lock.yaml|"browsers"' - PATHS: | + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/cache/main.yaml' + inputs: + key: 'package-lock.json|yarn.lock|pnpm-lock.yaml|"browsers"' + paths: | '../.cache/Cypress' '../.cache/ms-playwright' - BASE_BRANCH: 'main' + base-branch: 'main' - name: Install Node Modules - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/install-node-modules/main.yaml' + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/install-node-modules/main.yaml' - name: Install Browsers (if needed) - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/install-browsers/main.yaml' + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/install-browsers/main.yaml' linux-medium-plus-js: resource-class: 'docker_linux_amd64/medium+' image: 'ubuntu22.04-node20.11-v7' init-steps: - name: Checkout - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/checkout/main.yaml' + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/checkout/main.yaml' - name: Restore Node Modules Cache - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/cache/main.yaml' - env: - KEY: 'package-lock.json|yarn.lock|pnpm-lock.yaml' - PATHS: 'node_modules' - BASE_BRANCH: 'main' + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/cache/main.yaml' + inputs: + key: 'package-lock.json|yarn.lock|pnpm-lock.yaml' + paths: 'node_modules' + base-branch: 'main' - name: Restore Browser Binary Cache - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/cache/main.yaml' - env: - KEY: 'package-lock.json|yarn.lock|pnpm-lock.yaml|"browsers"' - PATHS: | + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/cache/main.yaml' + inputs: + key: 'package-lock.json|yarn.lock|pnpm-lock.yaml|"browsers"' + paths: | '../.cache/Cypress' '../.cache/ms-playwright' - BASE_BRANCH: 'main' + base-branch: 'main' - name: Install Node Modules - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/install-node-modules/main.yaml' + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/install-node-modules/main.yaml' - name: Install Browsers (if needed) - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/install-browsers/main.yaml' + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/install-browsers/main.yaml' linux-large-js: resource-class: 'docker_linux_amd64/large' image: 'ubuntu22.04-node20.11-v7' init-steps: - name: Checkout - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/checkout/main.yaml' + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/checkout/main.yaml' - name: Restore Node Modules Cache - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/cache/main.yaml' - env: - KEY: 'package-lock.json|yarn.lock|pnpm-lock.yaml' - PATHS: 'node_modules' - BASE_BRANCH: 'main' + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/cache/main.yaml' + inputs: + key: 'package-lock.json|yarn.lock|pnpm-lock.yaml' + paths: 'node_modules' + base-branch: 'main' - name: Restore Browser Binary Cache - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/cache/main.yaml' - env: - KEY: 'package-lock.json|yarn.lock|pnpm-lock.yaml|"browsers"' - PATHS: | + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/cache/main.yaml' + inputs: + key: 'package-lock.json|yarn.lock|pnpm-lock.yaml|"browsers"' + paths: | '../.cache/Cypress' '../.cache/ms-playwright' - BASE_BRANCH: 'main' + base-branch: 'main' - name: Install Node Modules - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/install-node-modules/main.yaml' + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/install-node-modules/main.yaml' - name: Install Browsers (if needed) - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/install-browsers/main.yaml' + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/install-browsers/main.yaml' linux-large-plus-js: resource-class: 'docker_linux_amd64/large+' image: 'ubuntu22.04-node20.11-v7' init-steps: - name: Checkout - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/checkout/main.yaml' + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/checkout/main.yaml' - name: Restore Node Modules Cache - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/cache/main.yaml' - env: - KEY: 'package-lock.json|yarn.lock|pnpm-lock.yaml' - PATHS: 'node_modules' - BASE_BRANCH: 'main' + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/cache/main.yaml' + inputs: + key: 'package-lock.json|yarn.lock|pnpm-lock.yaml' + paths: 'node_modules' + base-branch: 'main' - name: Restore Browser Binary Cache - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/cache/main.yaml' - env: - KEY: 'package-lock.json|yarn.lock|pnpm-lock.yaml|"browsers"' - PATHS: | + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/cache/main.yaml' + inputs: + key: 'package-lock.json|yarn.lock|pnpm-lock.yaml|"browsers"' + paths: | '../.cache/Cypress' '../.cache/ms-playwright' - BASE_BRANCH: 'main' + base-branch: 'main' - name: Install Node Modules - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/install-node-modules/main.yaml' + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/install-node-modules/main.yaml' - name: Install Browsers (if needed) - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/install-browsers/main.yaml' + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/install-browsers/main.yaml' linux-extra-large-js: resource-class: 'docker_linux_amd64/extra_large' image: 'ubuntu22.04-node20.11-v7' init-steps: - name: Checkout - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/checkout/main.yaml' + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/checkout/main.yaml' - name: Restore Node Modules Cache - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/cache/main.yaml' - env: - KEY: 'package-lock.json|yarn.lock|pnpm-lock.yaml' - PATHS: 'node_modules' - BASE_BRANCH: 'main' + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/cache/main.yaml' + inputs: + key: 'package-lock.json|yarn.lock|pnpm-lock.yaml' + paths: 'node_modules' + base-branch: 'main' - name: Restore Browser Binary Cache - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/cache/main.yaml' - env: - KEY: 'package-lock.json|yarn.lock|pnpm-lock.yaml|"browsers"' - PATHS: | + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/cache/main.yaml' + inputs: + key: 'package-lock.json|yarn.lock|pnpm-lock.yaml|"browsers"' + paths: | '../.cache/Cypress' '../.cache/ms-playwright' - BASE_BRANCH: 'main' + base-branch: 'main' - name: Install Node Modules - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/install-node-modules/main.yaml' + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/install-node-modules/main.yaml' - name: Install Browsers (if needed) - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/install-browsers/main.yaml' + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/install-browsers/main.yaml' linux-extra-large-plus-js: resource-class: 'docker_linux_amd64/extra_large+' image: 'ubuntu22.04-node20.11-v7' init-steps: - name: Checkout - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/checkout/main.yaml' + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/checkout/main.yaml' - name: Restore Node Modules Cache - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/cache/main.yaml' - env: - KEY: 'package-lock.json|yarn.lock|pnpm-lock.yaml' - PATHS: 'node_modules' - BASE_BRANCH: 'main' + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/cache/main.yaml' + inputs: + key: 'package-lock.json|yarn.lock|pnpm-lock.yaml' + paths: 'node_modules' + base-branch: 'main' - name: Restore Browser Binary Cache - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/cache/main.yaml' - env: - KEY: 'package-lock.json|yarn.lock|pnpm-lock.yaml|"browsers"' - PATHS: | + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/cache/main.yaml' + inputs: + key: 'package-lock.json|yarn.lock|pnpm-lock.yaml|"browsers"' + paths: | '../.cache/Cypress' '../.cache/ms-playwright' - BASE_BRANCH: 'main' + base-branch: 'main' - name: Install Node Modules - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/install-node-modules/main.yaml' + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/install-node-modules/main.yaml' - name: Install Browsers (if needed) - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/install-browsers/main.yaml' + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/install-browsers/main.yaml' linux-small-jvm: resource-class: 'docker_linux_amd64/small' image: 'ubuntu22.04-node20.11-v7' init-steps: - name: Checkout - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/checkout/main.yaml' + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/checkout/main.yaml' - name: Set up Gradle script: ./gradlew wrapper - name: Set up Nx @@ -182,7 +182,7 @@ launch-templates: image: 'ubuntu22.04-node20.11-v7' init-steps: - name: Checkout - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/checkout/main.yaml' + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/checkout/main.yaml' - name: Set up Gradle script: ./gradlew wrapper - name: Set up Nx @@ -192,7 +192,7 @@ launch-templates: image: 'ubuntu22.04-node20.11-v7' init-steps: - name: Checkout - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/checkout/main.yaml' + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/checkout/main.yaml' - name: Set up Gradle script: ./gradlew wrapper - name: Set up Nx @@ -202,7 +202,7 @@ launch-templates: image: 'ubuntu22.04-node20.11-v7' init-steps: - name: Checkout - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/checkout/main.yaml' + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/checkout/main.yaml' - name: Set up Gradle script: ./gradlew wrapper - name: Set up Nx @@ -212,7 +212,7 @@ launch-templates: image: 'ubuntu22.04-node20.11-v7' init-steps: - name: Checkout - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/checkout/main.yaml' + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/checkout/main.yaml' - name: Set up Gradle script: ./gradlew wrapper - name: Set up Nx @@ -222,7 +222,7 @@ launch-templates: image: 'ubuntu22.04-node20.11-v7' init-steps: - name: Checkout - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/checkout/main.yaml' + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/checkout/main.yaml' - name: Set up Gradle script: ./gradlew wrapper - name: Set up Nx @@ -232,7 +232,7 @@ launch-templates: image: 'ubuntu22.04-node20.11-v7' init-steps: - name: Checkout - uses: 'nrwl/nx-cloud-workflows/v3.6/workflow-steps/checkout/main.yaml' + uses: 'nrwl/nx-cloud-workflows/v4/workflow-steps/checkout/main.yaml' - name: Set up Gradle script: ./gradlew wrapper - name: Set up Nx