From c34a84feaa1a46218fd9a92841bba57d573b2b4f Mon Sep 17 00:00:00 2001 From: Krishna Agarwal Date: Wed, 7 Aug 2024 11:05:06 -0500 Subject: [PATCH] Add GH action workflow for integration tests --- .github/labeler.yml | 4 ---- .github/workflows/integration_tests.yaml | 25 ++++++++++++++++++++++++ .github/workflows/labeler.yml | 11 ----------- Jenkinsfile | 7 ------- 4 files changed, 25 insertions(+), 22 deletions(-) delete mode 100644 .github/labeler.yml create mode 100644 .github/workflows/integration_tests.yaml delete mode 100644 .github/workflows/labeler.yml delete mode 100644 Jenkinsfile diff --git a/.github/labeler.yml b/.github/labeler.yml deleted file mode 100644 index d52b8de..0000000 --- a/.github/labeler.yml +++ /dev/null @@ -1,4 +0,0 @@ -test-portal-indexingPageTest: - - '**/*' -test-apis-metadataIngestionTest: - - '**/*' diff --git a/.github/workflows/integration_tests.yaml b/.github/workflows/integration_tests.yaml new file mode 100644 index 0000000..57374b2 --- /dev/null +++ b/.github/workflows/integration_tests.yaml @@ -0,0 +1,25 @@ +name: Integration Tests + +on: pull_request + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +jobs: + integration_tests: + name: Integration tests + uses: uc-cdis/.github/.github/workflows/integration_tests.yaml@master + with: + SERVICE_TO_TEST: sower + secrets: + CI_AWS_ACCESS_KEY_ID: ${{ secrets.CI_AWS_ACCESS_KEY_ID }} + CI_AWS_SECRET_ACCESS_KEY: ${{ secrets.CI_AWS_SECRET_ACCESS_KEY }} + JENKINS_API_TOKEN: ${{ secrets.JENKINS_API_TOKEN }} + QA_DASHBOARD_S3_PATH: ${{ secrets.QA_DASHBOARD_S3_PATH }} + CI_TEST_ORCID_USERID: ${{ secrets.CI_TEST_ORCID_USERID }} + CI_TEST_ORCID_PASSWORD: ${{ secrets.CI_TEST_ORCID_PASSWORD }} + CI_TEST_RAS_USERID: ${{ secrets.CI_TEST_RAS_USERID }} + CI_TEST_RAS_PASSWORD: ${{ secrets.CI_TEST_RAS_PASSWORD }} + CI_SLACK_BOT_TOKEN: ${{ secrets.CI_SLACK_BOT_TOKEN }} + CI_SLACK_CHANNEL_ID: ${{ secrets.CI_SLACK_CHANNEL_ID }} diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml deleted file mode 100644 index 331ddc9..0000000 --- a/.github/workflows/labeler.yml +++ /dev/null @@ -1,11 +0,0 @@ -name: "Pull Request Labeler" -on: -- pull_request_target - -jobs: - triage: - runs-on: ubuntu-latest - steps: - - uses: actions/labeler@v3 - with: - repo-token: "${{ secrets.GITHUB_TOKEN }}" diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index 62f1b7a..0000000 --- a/Jenkinsfile +++ /dev/null @@ -1,7 +0,0 @@ -#!groovy - -@Library('cdis-jenkins-lib@master') _ - -testPipeline { - IMAGES_TO_BUILD = ["metadata-manifest-ingestion", "get-dbgap-metadata", "manifest-indexing", "download-indexd-manifest"] -}