From a9f9d05b0cf2325fbc5a70e23a232778d3597d62 Mon Sep 17 00:00:00 2001 From: Harshith Mullapudi Date: Mon, 1 Nov 2021 23:49:53 +0530 Subject: [PATCH] add credentials in for New Source Paystack: #7214 (#7529) * added credentials to ci for new source paystack * format --- .github/workflows/publish-command.yml | 1 + .github/workflows/test-command.yml | 1 + .../193bdcb8-1dd9-48d1-aade-91cadfd74f9b.json | 13 ++++++------- tools/bin/ci_credentials.sh | 1 + 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/publish-command.yml b/.github/workflows/publish-command.yml index c79a899b755f..ccf9908768cb 100644 --- a/.github/workflows/publish-command.yml +++ b/.github/workflows/publish-command.yml @@ -195,6 +195,7 @@ jobs: SOURCE_FRESHSERVICE_TEST_CREDS: ${{ secrets.SOURCE_FRESHSERVICE_TEST_CREDS }} SOURCE_LEMLIST_TEST_CREDS: ${{ secrets.SOURCE_LEMLIST_TEST_CREDS }} SOURCE_STRAVA_TEST_CREDS: ${{ secrets.SOURCE_STRAVA_TEST_CREDS }} + SOURCE_PAYSTACK_TEST_CREDS: ${{ secrets.SOURCE_PAYSTACK_TEST_CREDS }} - run: | echo "$SPEC_CACHE_SERVICE_ACCOUNT_KEY" > spec_cache_key_file.json && docker login -u airbytebot -p ${DOCKER_PASSWORD} ./tools/integrations/manage.sh publish airbyte-integrations/${{ github.event.inputs.connector }} ${{ github.event.inputs.run-tests }} --publish_spec_to_cache diff --git a/.github/workflows/test-command.yml b/.github/workflows/test-command.yml index 18808933d48f..f7f7a3d2e8bf 100644 --- a/.github/workflows/test-command.yml +++ b/.github/workflows/test-command.yml @@ -190,6 +190,7 @@ jobs: SOURCE_FRESHSERVICE_TEST_CREDS: ${{ secrets.SOURCE_FRESHSERVICE_TEST_CREDS }} SOURCE_LEMLIST_TEST_CREDS: ${{ secrets.SOURCE_LEMLIST_TEST_CREDS }} SOURCE_STRAVA_TEST_CREDS: ${{ secrets.SOURCE_STRAVA_TEST_CREDS }} + SOURCE_PAYSTACK_TEST_CREDS: ${{ secrets.SOURCE_PAYSTACK_TEST_CREDS }} - run: | ./tools/bin/ci_integration_test.sh ${{ github.event.inputs.connector }} name: test ${{ github.event.inputs.connector }} diff --git a/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/193bdcb8-1dd9-48d1-aade-91cadfd74f9b.json b/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/193bdcb8-1dd9-48d1-aade-91cadfd74f9b.json index eb18cc75368f..117b985289eb 100644 --- a/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/193bdcb8-1dd9-48d1-aade-91cadfd74f9b.json +++ b/airbyte-config/init/src/main/resources/config/STANDARD_SOURCE_DEFINITION/193bdcb8-1dd9-48d1-aade-91cadfd74f9b.json @@ -1,8 +1,7 @@ { - "sourceDefinitionId": "193bdcb8-1dd9-48d1-aade-91cadfd74f9b", - "name": "Paystack", - "dockerRepository": "airbyte/source-paystack", - "dockerImageTag": "0.1.0", - "documentationUrl": "https://docs.airbyte.io/integrations/sources/paystack" - } - \ No newline at end of file + "sourceDefinitionId": "193bdcb8-1dd9-48d1-aade-91cadfd74f9b", + "name": "Paystack", + "dockerRepository": "airbyte/source-paystack", + "dockerImageTag": "0.1.0", + "documentationUrl": "https://docs.airbyte.io/integrations/sources/paystack" +} diff --git a/tools/bin/ci_credentials.sh b/tools/bin/ci_credentials.sh index 9a5cc15b0414..a9dc7323efc2 100755 --- a/tools/bin/ci_credentials.sh +++ b/tools/bin/ci_credentials.sh @@ -140,6 +140,7 @@ write_standard_creds source-snapchat-marketing "$SOURCE_SNAPCHAT_MARKETING_CREDS write_standard_creds source-snowflake "$SNOWFLAKE_INTEGRATION_TEST_CREDS" "config.json" write_standard_creds source-square "$SOURCE_SQUARE_CREDS" write_standard_creds source-strava "$SOURCE_STRAVA_TEST_CREDS" +write_standard_creds source-paystack "$SOURCE_PAYSTACK_TEST_CREDS" write_standard_creds source-stripe "$SOURCE_STRIPE_CREDS" write_standard_creds source-stripe "$STRIPE_INTEGRATION_CONNECTED_ACCOUNT_TEST_CREDS" "connected_account_config.json" write_standard_creds source-surveymonkey "$SURVEYMONKEY_TEST_CREDS"