playwright-slack-report-burak 3.5.0 → 3.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -38,14 +38,15 @@ const GCS_REPORTS_FOLDER_PREFIX = process.env.GCS_REPORTS_FOLDER_PREFIX;
|
|
|
38
38
|
const GCS_UPLOAD_API_BASE_URL = process.env.GCS_UPLOAD_API_BASE_URL;
|
|
39
39
|
|
|
40
40
|
// MinIO artifact storage configuration (artifacts uploaded by shards 2+ as
|
|
41
|
-
// <run_id>-<run_attempt>/shard-<shard>.tar.zst, a zstd-compressed tar of playwright-report)
|
|
41
|
+
// <bucket>/shard-artifacts/<run_id>-<run_attempt>/shard-<shard>.tar.zst, a zstd-compressed tar of playwright-report)
|
|
42
42
|
const MINIO_ENDPOINT = process.env.MINIO_ENDPOINT;
|
|
43
43
|
const MINIO_ACCESS_KEY = process.env.MINIO_ACCESS_KEY;
|
|
44
44
|
const MINIO_SECRET_KEY = process.env.MINIO_SECRET_KEY;
|
|
45
45
|
const MINIO_BUCKET = process.env.MINIO_BUCKET;
|
|
46
|
-
const MINIO_ALIAS = '
|
|
46
|
+
const MINIO_ALIAS = 'minio';
|
|
47
|
+
const MINIO_ARTIFACTS_DIR = 'shard-artifacts';
|
|
47
48
|
|
|
48
|
-
const getMinioObjectPath = (shard) => `${MINIO_ALIAS}/${MINIO_BUCKET}/${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}/shard-${shard}.tar.zst`;
|
|
49
|
+
const getMinioObjectPath = (shard) => `${MINIO_ALIAS}/${MINIO_BUCKET}/${MINIO_ARTIFACTS_DIR}/${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}/shard-${shard}.tar.zst`;
|
|
49
50
|
|
|
50
51
|
// Helper functions for report paths
|
|
51
52
|
const getRunFolder = () => `${GCS_REPORTS_FOLDER_PREFIX}/${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}`;
|
package/package.json
CHANGED