From acde3258f992e42fc333774c24e9564b2b7a4838 Mon Sep 17 00:00:00 2001 From: Tarun Date: Thu, 9 Jan 2025 21:10:41 +0530 Subject: [PATCH 1/4] Updated Workflow for running on any changes in docker compose files --- .github/workflows/playwright-mysql-e2e.yml | 4 +++- .github/workflows/playwright-postgresql-e2e.yml | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/playwright-mysql-e2e.yml b/.github/workflows/playwright-mysql-e2e.yml index dd97f72597a6..091b91a9ad14 100644 --- a/.github/workflows/playwright-mysql-e2e.yml +++ b/.github/workflows/playwright-mysql-e2e.yml @@ -21,11 +21,13 @@ on: - opened - synchronize - reopened + paths: + - docker/** paths-ignore: - openmetadata-docs/** - .github/** - openmetadata-dist/** - - docker/** + permissions: contents: read diff --git a/.github/workflows/playwright-postgresql-e2e.yml b/.github/workflows/playwright-postgresql-e2e.yml index b3ea6c978623..0527cac4c68b 100644 --- a/.github/workflows/playwright-postgresql-e2e.yml +++ b/.github/workflows/playwright-postgresql-e2e.yml @@ -21,11 +21,12 @@ on: - opened - synchronize - reopened + paths: + - docker/** paths-ignore: - openmetadata-docs/** - .github/** - - openmetadata-dist/** - - docker/** + - openmetadata-dist/** permissions: contents: read From 56ebcf6d7f65a3c7a05e7e5cf21e27d48ba3ad13 Mon Sep 17 00:00:00 2001 From: Tarun Date: Fri, 10 Jan 2025 13:36:22 +0530 Subject: [PATCH 2/4] updated --- .github/workflows/playwright-mysql-e2e-skip.yml | 2 +- .github/workflows/playwright-mysql-e2e.yml | 4 ---- .github/workflows/playwright-postgresql-e2e-skip.yml | 1 - .github/workflows/playwright-postgresql-e2e.yml | 2 -- 4 files changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/playwright-mysql-e2e-skip.yml b/.github/workflows/playwright-mysql-e2e-skip.yml index 29b27a8287ac..8e56020ab7a4 100644 --- a/.github/workflows/playwright-mysql-e2e-skip.yml +++ b/.github/workflows/playwright-mysql-e2e-skip.yml @@ -25,7 +25,7 @@ on: - openmetadata-docs/** - .github/** - openmetadata-dist/** - - docker/** + jobs: playwright-ci-mysql: diff --git a/.github/workflows/playwright-mysql-e2e.yml b/.github/workflows/playwright-mysql-e2e.yml index 091b91a9ad14..42852b251c19 100644 --- a/.github/workflows/playwright-mysql-e2e.yml +++ b/.github/workflows/playwright-mysql-e2e.yml @@ -21,14 +21,10 @@ on: - opened - synchronize - reopened - paths: - - docker/** paths-ignore: - openmetadata-docs/** - .github/** - openmetadata-dist/** - - permissions: contents: read diff --git a/.github/workflows/playwright-postgresql-e2e-skip.yml b/.github/workflows/playwright-postgresql-e2e-skip.yml index 119e36fbb650..09a73d733027 100644 --- a/.github/workflows/playwright-postgresql-e2e-skip.yml +++ b/.github/workflows/playwright-postgresql-e2e-skip.yml @@ -25,7 +25,6 @@ on: - openmetadata-docs/** - .github/** - openmetadata-dist/** - - docker/** jobs: playwright-ci-postgresql: diff --git a/.github/workflows/playwright-postgresql-e2e.yml b/.github/workflows/playwright-postgresql-e2e.yml index 0527cac4c68b..e6ee6bc0d875 100644 --- a/.github/workflows/playwright-postgresql-e2e.yml +++ b/.github/workflows/playwright-postgresql-e2e.yml @@ -21,8 +21,6 @@ on: - opened - synchronize - reopened - paths: - - docker/** paths-ignore: - openmetadata-docs/** - .github/** From 7c229806892e27fe28a222bae9e30e5574c71914 Mon Sep 17 00:00:00 2001 From: Tarun Date: Fri, 10 Jan 2025 15:35:58 +0530 Subject: [PATCH 3/4] Updated --- .github/workflows/playwright-mysql-e2e-skip.yml | 8 ++++---- .github/workflows/playwright-postgresql-e2e-skip.yml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/playwright-mysql-e2e-skip.yml b/.github/workflows/playwright-mysql-e2e-skip.yml index 8e56020ab7a4..a1909bf40afe 100644 --- a/.github/workflows/playwright-mysql-e2e-skip.yml +++ b/.github/workflows/playwright-mysql-e2e-skip.yml @@ -31,9 +31,9 @@ jobs: playwright-ci-mysql: runs-on: ubuntu-latest strategy: - fail-fast: false - matrix: - shardIndex: [1, 2] - shardTotal: [2] + fail-fast: false + matrix: + shardIndex: [1, 2] + shardTotal: [2] steps: - run: 'echo "Step is not required"' diff --git a/.github/workflows/playwright-postgresql-e2e-skip.yml b/.github/workflows/playwright-postgresql-e2e-skip.yml index 09a73d733027..77b9d1e3c6a4 100644 --- a/.github/workflows/playwright-postgresql-e2e-skip.yml +++ b/.github/workflows/playwright-postgresql-e2e-skip.yml @@ -30,9 +30,9 @@ jobs: playwright-ci-postgresql: runs-on: ubuntu-latest strategy: - fail-fast: false - matrix: - shardIndex: [1, 2] - shardTotal: [2] + fail-fast: false + matrix: + shardIndex: [1, 2] + shardTotal: [2] steps: - run: 'echo "Step is not required"' From 1a39192f32f141e17c6af91c16e6ba2b1b24e614 Mon Sep 17 00:00:00 2001 From: Tarun Date: Fri, 10 Jan 2025 20:34:48 +0530 Subject: [PATCH 4/4] Updated --- .github/workflows/playwright-mysql-e2e-skip.yml | 9 ++++++--- .github/workflows/playwright-mysql-e2e.yml | 13 ++++++++++--- .../workflows/playwright-postgresql-e2e-skip.yml | 9 ++++++--- .github/workflows/playwright-postgresql-e2e.yml | 9 ++++++--- 4 files changed, 28 insertions(+), 12 deletions(-) diff --git a/.github/workflows/playwright-mysql-e2e-skip.yml b/.github/workflows/playwright-mysql-e2e-skip.yml index a1909bf40afe..8a78a91bef60 100644 --- a/.github/workflows/playwright-mysql-e2e-skip.yml +++ b/.github/workflows/playwright-mysql-e2e-skip.yml @@ -22,9 +22,12 @@ on: - synchronize - reopened paths: - - openmetadata-docs/** - - .github/** - - openmetadata-dist/** + - 'openmetadata-docs/**' + - '.github/**' + - 'openmetadata-dist/**' + - 'docker/**' + - '!docker/development/docker-compose.yml' + - '!docker/development/docker-compose-postgres.yml' jobs: diff --git a/.github/workflows/playwright-mysql-e2e.yml b/.github/workflows/playwright-mysql-e2e.yml index 42852b251c19..72f65e4340a5 100644 --- a/.github/workflows/playwright-mysql-e2e.yml +++ b/.github/workflows/playwright-mysql-e2e.yml @@ -22,9 +22,14 @@ on: - synchronize - reopened paths-ignore: - - openmetadata-docs/** - - .github/** - - openmetadata-dist/** + - 'openmetadata-docs/**' + - '.github/**' + - 'openmetadata-dist/**' + - 'docker/**' + - '!docker/development/docker-compose.yml' + - '!docker/development/docker-compose-postgres.yml' + + permissions: contents: read @@ -162,3 +167,5 @@ jobs: cd ./docker/development docker compose down --remove-orphans sudo rm -rf ${PWD}/docker-volume + + diff --git a/.github/workflows/playwright-postgresql-e2e-skip.yml b/.github/workflows/playwright-postgresql-e2e-skip.yml index 77b9d1e3c6a4..01937aace6fe 100644 --- a/.github/workflows/playwright-postgresql-e2e-skip.yml +++ b/.github/workflows/playwright-postgresql-e2e-skip.yml @@ -22,9 +22,12 @@ on: - synchronize - reopened paths: - - openmetadata-docs/** - - .github/** - - openmetadata-dist/** + - 'openmetadata-docs/**' + - '.github/**' + - 'openmetadata-dist/**' + - 'docker/**' + - '!docker/development/docker-compose.yml' + - '!docker/development/docker-compose-postgres.yml' jobs: playwright-ci-postgresql: diff --git a/.github/workflows/playwright-postgresql-e2e.yml b/.github/workflows/playwright-postgresql-e2e.yml index e6ee6bc0d875..981b10b59707 100644 --- a/.github/workflows/playwright-postgresql-e2e.yml +++ b/.github/workflows/playwright-postgresql-e2e.yml @@ -22,9 +22,12 @@ on: - synchronize - reopened paths-ignore: - - openmetadata-docs/** - - .github/** - - openmetadata-dist/** + - 'openmetadata-docs/**' + - '.github/**' + - 'openmetadata-dist/**' + - 'docker/**' + - '!docker/development/docker-compose.yml' + - '!docker/development/docker-compose-postgres.yml' permissions: contents: read