From c9e4c49c2f81055539a80444fb1680c6c8db7e1f Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Wed, 24 Apr 2024 22:26:31 +0200 Subject: [PATCH] devops: remove redundant files (#30521) --- .github/actions/download-artifact/action.yml | 2 +- .../action.yml | 26 ------------------- .../playwright-chromium/package.json | 7 ----- .../playwright-core/package.json | 7 ----- .../playwright-firefox/package.json | 7 ----- .../playwright-test/package.json | 7 ----- .../playwright-webkit/package.json | 7 ----- .../playwright/package.json | 7 ----- 8 files changed, 1 insertion(+), 69 deletions(-) delete mode 100644 .github/actions/download-blob-report-from-azure/action.yml delete mode 100644 .github/dummy-package-files-for-dependents-analytics/playwright-chromium/package.json delete mode 100644 .github/dummy-package-files-for-dependents-analytics/playwright-core/package.json delete mode 100644 .github/dummy-package-files-for-dependents-analytics/playwright-firefox/package.json delete mode 100644 .github/dummy-package-files-for-dependents-analytics/playwright-test/package.json delete mode 100644 .github/dummy-package-files-for-dependents-analytics/playwright-webkit/package.json delete mode 100644 .github/dummy-package-files-for-dependents-analytics/playwright/package.json diff --git a/.github/actions/download-artifact/action.yml b/.github/actions/download-artifact/action.yml index 3ab38a4c17..d5dd4bea89 100644 --- a/.github/actions/download-artifact/action.yml +++ b/.github/actions/download-artifact/action.yml @@ -34,7 +34,7 @@ runs: artifact_id: artifact.id, archive_format: 'zip' }); - console.log('downloaded artifact', result); + console.log(`Downloaded ${artifact.name}.zip (${result.data.byteLength} bytes)`); fs.writeFileSync(`${{ inputs.path }}/artifacts/${artifact.name}.zip`, Buffer.from(result.data)); } - name: Unzip artifacts diff --git a/.github/actions/download-blob-report-from-azure/action.yml b/.github/actions/download-blob-report-from-azure/action.yml deleted file mode 100644 index 848b98cfbc..0000000000 --- a/.github/actions/download-blob-report-from-azure/action.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: 'Download blob report from Azure' -description: 'Download blob report from Azure blob storage' -inputs: - blob_prefix: - description: 'Name of the Azure blob storage directory containing blob report' - required: true - output_dir: - description: 'Output directory where downloaded blobs will be stored' - required: true - default: 'blob-report' - connection_string: - description: 'Azure connection string' - required: true -runs: - using: "composite" - steps: - - name: Download Blob Reports from Azure Blob Storage - shell: bash - run: | - OUTPUT_DIR='${{ inputs.output_dir }}' - mkdir -p $OUTPUT_DIR - LIST=$(az storage blob list -c '$web' --prefix ${{ inputs.blob_prefix }} --connection-string "${{ inputs.connection_string }}") - for name in $(echo $LIST | jq --raw-output '.[].name | select(test("report-.*\\.zip$"))'); - do - az storage blob download -c '$web' --name $name -f $OUTPUT_DIR/$(basename $name) --connection-string "${{ inputs.connection_string }}" - done diff --git a/.github/dummy-package-files-for-dependents-analytics/playwright-chromium/package.json b/.github/dummy-package-files-for-dependents-analytics/playwright-chromium/package.json deleted file mode 100644 index ec0de7ab12..0000000000 --- a/.github/dummy-package-files-for-dependents-analytics/playwright-chromium/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "playwright-chromium", - "version": "1.0.0", - "description": "A high-level API to automate web browsers", - "repository": "github:Microsoft/playwright", - "license": "Apache-2.0" -} \ No newline at end of file diff --git a/.github/dummy-package-files-for-dependents-analytics/playwright-core/package.json b/.github/dummy-package-files-for-dependents-analytics/playwright-core/package.json deleted file mode 100644 index 7a76fc0b9f..0000000000 --- a/.github/dummy-package-files-for-dependents-analytics/playwright-core/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "playwright-core", - "version": "1.0.0", - "description": "A high-level API to automate web browsers", - "repository": "github:Microsoft/playwright", - "license": "Apache-2.0" -} \ No newline at end of file diff --git a/.github/dummy-package-files-for-dependents-analytics/playwright-firefox/package.json b/.github/dummy-package-files-for-dependents-analytics/playwright-firefox/package.json deleted file mode 100644 index da7b955fc8..0000000000 --- a/.github/dummy-package-files-for-dependents-analytics/playwright-firefox/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "playwright-firefox", - "version": "1.0.0", - "description": "A high-level API to automate web browsers", - "repository": "github:Microsoft/playwright", - "license": "Apache-2.0" -} \ No newline at end of file diff --git a/.github/dummy-package-files-for-dependents-analytics/playwright-test/package.json b/.github/dummy-package-files-for-dependents-analytics/playwright-test/package.json deleted file mode 100644 index e3cef4a193..0000000000 --- a/.github/dummy-package-files-for-dependents-analytics/playwright-test/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "@playwright/test", - "version": "1.0.0", - "description": "A high-level API to automate web browsers", - "repository": "github:Microsoft/playwright", - "license": "Apache-2.0" -} \ No newline at end of file diff --git a/.github/dummy-package-files-for-dependents-analytics/playwright-webkit/package.json b/.github/dummy-package-files-for-dependents-analytics/playwright-webkit/package.json deleted file mode 100644 index 6d0f7491c8..0000000000 --- a/.github/dummy-package-files-for-dependents-analytics/playwright-webkit/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "playwright-webkit", - "version": "1.0.0", - "description": "A high-level API to automate web browsers", - "repository": "github:Microsoft/playwright", - "license": "Apache-2.0" -} \ No newline at end of file diff --git a/.github/dummy-package-files-for-dependents-analytics/playwright/package.json b/.github/dummy-package-files-for-dependents-analytics/playwright/package.json deleted file mode 100644 index 4515e5a1e9..0000000000 --- a/.github/dummy-package-files-for-dependents-analytics/playwright/package.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name": "playwright", - "version": "1.0.0", - "description": "A high-level API to automate web browsers", - "repository": "github:Microsoft/playwright", - "license": "Apache-2.0" -} \ No newline at end of file