From 7fed0f551226909bbf4d60f51b68b64f2e4d2afe Mon Sep 17 00:00:00 2001 From: WarriorsSami Date: Fri, 20 Sep 2024 12:14:42 +0300 Subject: [PATCH] refactor(ci-cd): reconfigure ci pipelines as pr verify ones --- ...nubis-eval-ci.yaml => anubis-eval-pr-verify.yaml} | 12 +++++------- ...problems-ci.yaml => enki-problems-pr-verify.yaml} | 12 +++++------- ...mes-tests-ci.yaml => hermes-tests-pr-verify.yaml} | 12 +++++------- ...auth-ci.yaml => quetzalcoatl-auth-pr-verify.yaml} | 12 +++++------- 4 files changed, 20 insertions(+), 28 deletions(-) rename .github/workflows/{anubis-eval-ci.yaml => anubis-eval-pr-verify.yaml} (81%) rename .github/workflows/{enki-problems-ci.yaml => enki-problems-pr-verify.yaml} (77%) rename .github/workflows/{hermes-tests-ci.yaml => hermes-tests-pr-verify.yaml} (75%) rename .github/workflows/{quetzalcoatl-auth-ci.yaml => quetzalcoatl-auth-pr-verify.yaml} (75%) diff --git a/.github/workflows/anubis-eval-ci.yaml b/.github/workflows/anubis-eval-pr-verify.yaml similarity index 81% rename from .github/workflows/anubis-eval-ci.yaml rename to .github/workflows/anubis-eval-pr-verify.yaml index 1c8383c..5b6bc6e 100644 --- a/.github/workflows/anubis-eval-ci.yaml +++ b/.github/workflows/anubis-eval-pr-verify.yaml @@ -1,18 +1,16 @@ -name: Anubis - Build and Test Submissions Service +name: Anubis - PR Verify on: - push: - paths: - - "anubis-eval/**" - - ".github/workflows/anubis-eval-ci.yaml" - pull_request: + branches: + - develop paths: - "anubis-eval/**" - - ".github/workflows/anubis-eval-ci.yaml" + - ".github/workflows/anubis-eval-pr-verify.yaml" jobs: build: + name: Build and Test Anubis Eval Microservice runs-on: ubuntu-latest defaults: run: diff --git a/.github/workflows/enki-problems-ci.yaml b/.github/workflows/enki-problems-pr-verify.yaml similarity index 77% rename from .github/workflows/enki-problems-ci.yaml rename to .github/workflows/enki-problems-pr-verify.yaml index 454ef7f..fe115ef 100644 --- a/.github/workflows/enki-problems-ci.yaml +++ b/.github/workflows/enki-problems-pr-verify.yaml @@ -1,18 +1,16 @@ -name: Enki - Build and Test Problems Service +name: Enki - PR Verify on: - push: - paths: - - "enki-problems/**" - - ".github/workflows/enki-problems-ci.yaml" - pull_request: + branches: + - develop paths: - "enki-problems/**" - - ".github/workflows/enki-problems-ci.yaml" + - ".github/workflows/enki-problems-pr-verify.yaml" jobs: build: + name: Build and Test Enki Problems Microservice runs-on: ubuntu-latest defaults: run: diff --git a/.github/workflows/hermes-tests-ci.yaml b/.github/workflows/hermes-tests-pr-verify.yaml similarity index 75% rename from .github/workflows/hermes-tests-ci.yaml rename to .github/workflows/hermes-tests-pr-verify.yaml index 5c1cdf3..fbf5cd8 100644 --- a/.github/workflows/hermes-tests-ci.yaml +++ b/.github/workflows/hermes-tests-pr-verify.yaml @@ -1,21 +1,19 @@ -name: Hermes - Build and Test Tests Service +name: Hermes - PR Verify on: - push: - paths: - - "hermes-tests/**" - - ".github/workflows/hermes-tests-ci.yaml" - pull_request: + branches: + - develop paths: - "hermes-tests/**" - - ".github/workflows/hermes-tests-ci.yaml" + - ".github/workflows/hermes-tests-pr-verify.yaml" env: HERMES_CONFIG: ${{ secrets.HERMES_CONFIG }} jobs: build: + name: Build and Test Hermes Tests Microservice runs-on: ubuntu-latest defaults: run: diff --git a/.github/workflows/quetzalcoatl-auth-ci.yaml b/.github/workflows/quetzalcoatl-auth-pr-verify.yaml similarity index 75% rename from .github/workflows/quetzalcoatl-auth-ci.yaml rename to .github/workflows/quetzalcoatl-auth-pr-verify.yaml index e7af4b9..e9e8bf6 100644 --- a/.github/workflows/quetzalcoatl-auth-ci.yaml +++ b/.github/workflows/quetzalcoatl-auth-pr-verify.yaml @@ -1,18 +1,16 @@ -name: Quetzalcoatl - Build and Test Auth Service +name: Quetzalcoatl - PR Verify on: - push: - paths: - - "quetzalcoatl-auth/**" - - ".github/workflows/quetzalcoatl-auth-ci.yaml" - pull_request: + branches: + - develop paths: - "quetzalcoatl-auth/**" - - ".github/workflows/quetzalcoatl-auth-ci.yaml" + - ".github/workflows/quetzalcoatl-auth-pr-verify.yaml" jobs: build: + name: Build and Test Quetzalcoatl Auth Microservice runs-on: ubuntu-latest defaults: run: