Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🎉 CI secrets: migration to GSM #7528

Merged
merged 44 commits into from Nov 10, 2021
Merged

🎉 CI secrets: migration to GSM #7528

merged 44 commits into from Nov 10, 2021

Conversation

antixar
Copy link
Contributor

@antixar antixar commented Nov 1, 2021

What

Details here

How

This decision provides backward compatibility with all secrets workflows. All old settings should work after this changes.

How to add permissions for working with Google Secret Manager(GSM):

Each developer should have the role Development_CI_Secrets of the project dataline-integration-testing
Now these permissions are provided for GL Python/Java teams only.

How to add new secrets:

  1. Go to your developer cloud console
  2. Create a new secret with the following rules:
  • Secret names can only contain English capital letters (A-Z), numbers (0-9), dashes (-), and underscores (_)
  • It must be started with the prefix: SECRET_
  1. Add labels:
    • connector (required) -- unique connector's name or set of connectors' names with '_' as delimiter
    • filename (optional) -- custom target secret file. Unfortunately Google doesn't use '.' into labels' values and so Airbyte CI scripts will add '.json' to the end automatically. By default secrets will be saved to ./secrets/config.json
  2. Run the test command for your connector/

For examples:

  1. SECRET_SOURCE-S3_CREDS
    Labels:
    • connector=source-s3
      Result: value => airbyte-integrations/connectors/source-s3/secrets/config.json
  2. SECRET_SOURCE-ZENDESK_SUPPORT_AUTH_CREDS
    Labels:
    • connector=source-zendesk-support
    • filename=config_auth
      Result: value => airbyte-integrations/connectors/source-zendesk-support/secrets/config_auth.json
  3. SECRET_GOOGLE_CREDS
    Labels:
    • connector=source-google-analytics_source-google-drive
      Result:
    • value => airbyte-integrations/connectors/source-google-analytics/secrets/config.json
    • value => airbyte-integrations/connectors/source-google-drive/secrets/config.json

How to migrate to the new secrets' logic:

  1. Create all necessary secrets how it is explained above.
  2. Remove all lines with old GutHub secrets into this file: tools/bin/ci_credentials.sh
  3. Remove all old secrets from Github

Recommended reading order

  1. .github/workflows/{publish|test}-command.yml - removed all secrets' values because the new script version will select necessary ones only.
  2. tools/lib/gcp-token.sh - functions for generation of Google tokens. It can be used not only for the current task.
  3. tools/bin/ci_credentials.sh - changes of all CI secrets' logic

Pre-merge Checklist

Connector Generator

  • Issue acceptance criteria met
  • PR name follows PR naming conventions
  • If adding a new generator, add it to the list of scaffold modules being tested
  • The generator test modules (all connectors with -scaffold in their name) have been updated with the latest scaffold by running ./gradlew :airbyte-integrations:connector-templates:generator:testScaffoldTemplates then checking in your changes
  • Documentation which references the generator is updated as needed.

@antixar antixar temporarily deployed to more-secrets November 1, 2021 17:42 Inactive
@antixar antixar temporarily deployed to more-secrets November 1, 2021 17:44 Inactive
@antixar antixar temporarily deployed to more-secrets November 1, 2021 17:46 Inactive
@antixar antixar linked an issue Nov 1, 2021 that may be closed by this pull request
@antixar antixar self-assigned this Nov 1, 2021
@antixar
Copy link
Contributor Author

antixar commented Nov 1, 2021

/test connector=connectors/source-s3

🕑 connectors/source-s3 https://github.com/airbytehq/airbyte/actions/runs/1409774496
❌ connectors/source-s3 https://github.com/airbytehq/airbyte/actions/runs/1409774496
🐛 https://gradle.com/s/rve2swefsfn4c

@jrhizor jrhizor temporarily deployed to more-secrets November 1, 2021 21:32 Inactive
@antixar
Copy link
Contributor Author

antixar commented Nov 1, 2021

/test connector=connectors/source-s3

🕑 connectors/source-s3 https://github.com/airbytehq/airbyte/actions/runs/1409817696
❌ connectors/source-s3 https://github.com/airbytehq/airbyte/actions/runs/1409817696
🐛 https://gradle.com/s/w5cfzbh4s2xvi

@jrhizor jrhizor temporarily deployed to more-secrets November 1, 2021 21:47 Inactive
@antixar
Copy link
Contributor Author

antixar commented Nov 1, 2021

/test connector=connectors/source-s3

🕑 connectors/source-s3 https://github.com/airbytehq/airbyte/actions/runs/1409878297
❌ connectors/source-s3 https://github.com/airbytehq/airbyte/actions/runs/1409878297
🐛 https://gradle.com/s/7qfndxhbzog7k

@antixar antixar temporarily deployed to more-secrets November 1, 2021 22:06 Inactive
@jrhizor jrhizor temporarily deployed to more-secrets November 1, 2021 22:07 Inactive
@antixar
Copy link
Contributor Author

antixar commented Nov 2, 2021

/test connector=connectors/source-s3

🕑 connectors/source-s3 https://github.com/airbytehq/airbyte/actions/runs/1412275131
✅ connectors/source-s3 https://github.com/airbytehq/airbyte/actions/runs/1412275131
Python tests coverage:

	 ---------- coverage: platform linux, python 3.8.10-final-0 -----------
	 Name                                                 Stmts   Miss  Cover
	 ------------------------------------------------------------------------
	 source_acceptance_test/__init__.py                       2      0   100%
	 source_acceptance_test/base.py                          10      4    60%
	 source_acceptance_test/config.py                        74      8    89%
	 source_acceptance_test/conftest.py                     108    108     0%
	 source_acceptance_test/plugin.py                        47     47     0%
	 source_acceptance_test/tests/__init__.py                 4      0   100%
	 source_acceptance_test/tests/test_core.py              200     94    53%
	 source_acceptance_test/tests/test_full_refresh.py       18     11    39%
	 source_acceptance_test/tests/test_incremental.py        69     38    45%
	 source_acceptance_test/utils/__init__.py                 6      0   100%
	 source_acceptance_test/utils/asserts.py                 37      2    95%
	 source_acceptance_test/utils/common.py                  41     24    41%
	 source_acceptance_test/utils/compare.py                 47     20    57%
	 source_acceptance_test/utils/connector_runner.py        82     49    40%
	 source_acceptance_test/utils/json_schema_helper.py     115     14    88%
	 ------------------------------------------------------------------------
	 TOTAL                                                  860    419    51%
	 ---------- coverage: platform linux, python 3.8.10-final-0 -----------
	 Name                                       Stmts   Miss  Cover
	 --------------------------------------------------------------
	 base_python/__init__.py                       13      0   100%
	 base_python/catalog_helpers.py                10      6    40%
	 base_python/cdk/__init__.py                    0      0   100%
	 base_python/cdk/abstract_source.py            83     59    29%
	 base_python/cdk/streams/__init__.py            0      0   100%
	 base_python/cdk/streams/auth/__init__.py       0      0   100%
	 base_python/cdk/streams/auth/core.py           8      1    88%
	 base_python/cdk/streams/auth/jwt.py            5      5     0%
	 base_python/cdk/streams/auth/oauth.py         37     26    30%
	 base_python/cdk/streams/auth/token.py          9      4    56%
	 base_python/cdk/streams/core.py               63     32    49%
	 base_python/cdk/streams/exceptions.py         10      2    80%
	 base_python/cdk/streams/http.py               67     33    51%
	 base_python/cdk/streams/rate_limiting.py      30     14    53%
	 base_python/cdk/utils/__init__.py              0      0   100%
	 base_python/cdk/utils/casing.py                4      0   100%
	 base_python/client.py                         56     33    41%
	 base_python/entrypoint.py                     70     56    20%
	 base_python/integration.py                    52     25    52%
	 base_python/logger.py                         33     19    42%
	 base_python/schema_helpers.py                 56     41    27%
	 base_python/source.py                         51     34    33%
	 main_dev.py                                    3      3     0%
	 --------------------------------------------------------------
	 TOTAL                                        660    393    40%
	 ---------- coverage: platform linux, python 3.8.10-final-0 -----------
	 Name                                                              Stmts   Miss  Cover
	 -------------------------------------------------------------------------------------
	 source_s3/__init__.py                                                 2      0   100%
	 source_s3/s3_utils.py                                                20      3    85%
	 source_s3/s3file.py                                                  49      3    94%
	 source_s3/source.py                                                  23      0   100%
	 source_s3/source_files_abstract/__init__.py                           0      0   100%
	 source_s3/source_files_abstract/formats/abstract_file_parser.py      37      2    95%
	 source_s3/source_files_abstract/formats/csv_parser.py                71     20    72%
	 source_s3/source_files_abstract/formats/csv_spec.py                  15      0   100%
	 source_s3/source_files_abstract/formats/parquet_parser.py            61     44    28%
	 source_s3/source_files_abstract/formats/parquet_spec.py               9      0   100%
	 source_s3/source_files_abstract/source.py                            40     18    55%
	 source_s3/source_files_abstract/spec.py                              42     22    48%
	 source_s3/source_files_abstract/storagefile.py                       16      0   100%
	 source_s3/source_files_abstract/spec.py                              42     22    48%/actions-runner/_work/airbyte/airbyte/airbyte-integrations/connectors/source-s3/.venv/lib/python3.8/site-packages/coverage/data.py:118: CoverageWarning: Data file '/actions-runner/_work/airbyte/airbyte/airbyte-integrations/connectors/source-s3/.coverage.ip-10-0-26-122.9357.779768' doesn't seem to be a coverage data file: Couldn't use data file '/actions-runner/_work/airbyte/airbyte/airbyte-integrations/connectors/source-s3/.coverage.ip-10-0-26-122.9357.779768': no such table: coverage_schema
	 source_s3/source_files_abstract/stream.py                           195     10    95%
	   data._warn(str(exc))
	 source_s3/stream.py                                                  43      3    93%
	 -------------------------------------------------------------------------------------
	 TOTAL                                                               623    125    80%
	 ---------- coverage: platform linux, python 3.8.10-final-0 -----------
	 Name                                                              Stmts   Miss  Cover
	 -------------------------------------------------------------------------------------
	 source_s3/__init__.py                                                 2      0   100%
	 source_s3/s3_utils.py                                                20     13    35%
	 source_s3/s3file.py                                                  49     26    47%
	 source_s3/source.py                                                  23      0   100%
	 source_s3/source_files_abstract/__init__.py                           0      0   100%
	 source_s3/source_files_abstract/formats/abstract_file_parser.py      37      0   100%
	 source_s3/source_files_abstract/formats/csv_parser.py                71     19    73%
	 source_s3/source_files_abstract/formats/csv_spec.py                  15      0   100%
	 source_s3/source_files_abstract/formats/parquet_parser.py            61      3    95%
	 source_s3/source_files_abstract/formats/parquet_spec.py               9      0   100%
	 source_s3/source_files_abstract/source.py                            40     18    55%
	 source_s3/source_files_abstract/spec.py                              42     22    48%
	 source_s3/source_files_abstract/storagefile.py                       16      3    81%
	 source_s3/source_files_abstract/stream.py                           195    103    47%
	 source_s3/stream.py                                                  43     31    28%
	 -------------------------------------------------------------------------------------
	 TOTAL                                                               623    238    62%

@jrhizor jrhizor temporarily deployed to more-secrets November 8, 2021 23:56 Inactive
Copy link
Contributor

@sherifnada sherifnada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you let me know once you've written up .md instructions for how to add devs to the GCP project? I'll add everyone to that project

Otherwise LGTM

docs/connector-development/README.md Outdated Show resolved Hide resolved
docs/connector-development/README.md Outdated Show resolved Hide resolved
docs/connector-development/README.md Outdated Show resolved Hide resolved
docs/connector-development/README.md Outdated Show resolved Hide resolved
tools/bin/ci_credentials.sh Outdated Show resolved Hide resolved
antixar and others added 2 commits November 9, 2021 10:18
Co-authored-by: Sherif A. Nada <snadalive@gmail.com>
Co-authored-by: Sherif A. Nada <snadalive@gmail.com>
@antixar antixar temporarily deployed to more-secrets November 9, 2021 08:20 Inactive
@antixar antixar temporarily deployed to more-secrets November 9, 2021 09:19 Inactive
@antixar
Copy link
Contributor Author

antixar commented Nov 9, 2021

@sherifnada ,

  1. About access to GSM, we can use Google groups for this. I have already added 2 our ones:
airbyte_python_team@globallogic.com
airbyte_java_team@globallogic.com
  1. the functionwrite_standard_creds will be renamed immediately before merging

@antixar
Copy link
Contributor Author

antixar commented Nov 9, 2021

/test connector=connectors/source-zendesk-support

🕑 connectors/source-zendesk-support https://github.com/airbytehq/airbyte/actions/runs/1438794828
✅ connectors/source-zendesk-support https://github.com/airbytehq/airbyte/actions/runs/1438794828
Python tests coverage:

	 ---------- coverage: platform linux, python 3.8.10-final-0 -----------
	 Name                                                 Stmts   Miss  Cover
	 ------------------------------------------------------------------------
	 source_acceptance_test/__init__.py                       2      0   100%
	 source_acceptance_test/base.py                          10      4    60%
	 source_acceptance_test/config.py                        75      8    89%
	 source_acceptance_test/conftest.py                     108    108     0%
	 source_acceptance_test/plugin.py                        47     47     0%
	 source_acceptance_test/tests/__init__.py                 4      0   100%
	 source_acceptance_test/tests/test_core.py              200     94    53%
	 source_acceptance_test/tests/test_full_refresh.py       38     27    29%
	 source_acceptance_test/tests/test_incremental.py        69     38    45%
	 source_acceptance_test/utils/__init__.py                 6      0   100%
	 source_acceptance_test/utils/asserts.py                 37      2    95%
	 source_acceptance_test/utils/common.py                  41     24    41%
	 source_acceptance_test/utils/compare.py                 62     25    60%
	 source_acceptance_test/utils/connector_runner.py        82     49    40%
	 source_acceptance_test/utils/json_schema_helper.py     115     14    88%
	 ------------------------------------------------------------------------
	 TOTAL                                                  896    440    51%
	 ---------- coverage: platform linux, python 3.8.10-final-0 -----------
	 Name                                 Stmts   Miss  Cover
	 --------------------------------------------------------
	 source_zendesk_support/__init__.py       2      0   100%
	 source_zendesk_support/source.py        38     15    61%
	 source_zendesk_support/streams.py      275     78    72%
	 --------------------------------------------------------
	 TOTAL                                  315     93    70%
	 ---------- coverage: platform linux, python 3.8.10-final-0 -----------
	 Name                                 Stmts   Miss  Cover
	 --------------------------------------------------------
	 source_zendesk_support/__init__.py       2      0   100%
	 source_zendesk_support/source.py        38     15    61%
	 source_zendesk_support/streams.py      275    114    59%
	 --------------------------------------------------------
	 TOTAL                                  315    129    59%

@jrhizor jrhizor temporarily deployed to more-secrets November 9, 2021 09:30 Inactive
@sherifnada sherifnada temporarily deployed to more-secrets November 10, 2021 06:41 Inactive
Copy link
Contributor

@sherifnada sherifnada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very exciting!

@antixar
Copy link
Contributor Author

antixar commented Nov 10, 2021

/test connector=connectors/source-zendesk-support

🕑 connectors/source-zendesk-support https://github.com/airbytehq/airbyte/actions/runs/1443148554
❌ connectors/source-zendesk-support https://github.com/airbytehq/airbyte/actions/runs/1443148554
🐛 https://gradle.com/s/bhpkfe5jggpfa

@antixar antixar temporarily deployed to more-secrets November 10, 2021 07:54 Inactive
@antixar
Copy link
Contributor Author

antixar commented Nov 10, 2021

/test connector=connectors/source-s3

🕑 connectors/source-s3 https://github.com/airbytehq/airbyte/actions/runs/1443149365
✅ connectors/source-s3 https://github.com/airbytehq/airbyte/actions/runs/1443149365
Python tests coverage:

	 ---------- coverage: platform linux, python 3.8.10-final-0 -----------
	 Name                                                 Stmts   Miss  Cover
	 ------------------------------------------------------------------------
	 source_acceptance_test/__init__.py                       2      0   100%
	 source_acceptance_test/base.py                          10      4    60%
	 source_acceptance_test/config.py                        75      8    89%
	 source_acceptance_test/conftest.py                     108    108     0%
	 source_acceptance_test/plugin.py                        47     47     0%
	 source_acceptance_test/tests/__init__.py                 4      0   100%
	 source_acceptance_test/tests/test_core.py              200     94    53%
	 source_acceptance_test/tests/test_full_refresh.py       38     27    29%
	 source_acceptance_test/tests/test_incremental.py        69     38    45%
	 source_acceptance_test/utils/__init__.py                 6      0   100%
	 source_acceptance_test/utils/asserts.py                 37      2    95%
	 source_acceptance_test/utils/common.py                  41     24    41%
	 source_acceptance_test/utils/compare.py                 62     25    60%
	 source_acceptance_test/utils/connector_runner.py        82     49    40%
	 source_acceptance_test/utils/json_schema_helper.py     115     14    88%
	 ------------------------------------------------------------------------
	 TOTAL                                                  896    440    51%
	 ---------- coverage: platform linux, python 3.8.10-final-0 -----------
	 Name                                       Stmts   Miss  Cover
	 --------------------------------------------------------------
	 base_python/__init__.py                       13      0   100%
	 base_python/catalog_helpers.py                10      6    40%
	 base_python/cdk/__init__.py                    0      0   100%
	 base_python/cdk/abstract_source.py            83     59    29%
	 base_python/cdk/streams/__init__.py            0      0   100%
	 base_python/cdk/streams/auth/__init__.py       0      0   100%
	 base_python/cdk/streams/auth/core.py           8      1    88%
	 base_python/cdk/streams/auth/jwt.py            5      5     0%
	 base_python/cdk/streams/auth/oauth.py         37     26    30%
	 base_python/cdk/streams/auth/token.py          9      4    56%
	 base_python/cdk/streams/core.py               63     32    49%
	 base_python/cdk/streams/exceptions.py         10      2    80%
	 base_python/cdk/streams/http.py               67     33    51%
	 base_python/cdk/streams/rate_limiting.py      30     14    53%
	 base_python/cdk/utils/__init__.py              0      0   100%
	 base_python/cdk/utils/casing.py                4      0   100%
	 base_python/client.py                         56     33    41%
	 base_python/entrypoint.py                     70     56    20%
	 base_python/integration.py                    52     25    52%
	 base_python/logger.py                         33     19    42%
	 base_python/schema_helpers.py                 56     41    27%
	 base_python/source.py                         51     34    33%
	 main_dev.py                                    3      3     0%
	 --------------------------------------------------------------
	 TOTAL                                        660    393    40%
	 ---------- coverage: platform linux, python 3.8.10-final-0 -----------
	 Name                                                              Stmts   Miss  Cover
	 -------------------------------------------------------------------------------------
	 source_s3/__init__.py                                                 2      0   100%
	 source_s3/s3_utils.py                                                20      3    85%
	 source_s3/s3file.py                                                  49      3    94%
	 source_s3/source.py                                                  23      0   100%
	 source_s3/source_files_abstract/__init__.py                           0      0   100%
	 source_s3/source_files_abstract/formats/abstract_file_parser.py      37      2    95%
	 source_s3/source_files_abstract/formats/csv_parser.py                71     20    72%
	 source_s3/source_files_abstract/formats/csv_spec.py                  15      0   100%
	 source_s3/source_files_abstract/formats/parquet_parser.py            61     44    28%
	 source_s3/source_files_abstract/formats/parquet_spec.py               9      0   100%
	 source_s3/source_files_abstract/source.py                            40     18    55%
	 source_s3/source_files_abstract/spec.py                              42     22    48%
	 source_s3/source_files_abstract/storagefile.py                       16      0   100%
	 source_s3/source_files_abstract/stream.py                           195     10    95%
	 source_s3/stream.py                                                  43      3    93%
	 -------------------------------------------------------------------------------------
	 TOTAL                                                               623    125    80%
	 ---------- coverage: platform linux, python 3.8.10-final-0 -----------
	 Name                                                              Stmts   Miss  Cover
	 -------------------------------------------------------------------------------------
	 source_s3/__init__.py                                                 2      0   100%
	 source_s3/s3_utils.py                                                20     13    35%
	 source_s3/s3file.py                                                  49     26    47%
	 source_s3/source.py                                                  23      0   100%
	 source_s3/source_files_abstract/__init__.py                           0      0   100%
	 source_s3/source_files_abstract/formats/abstract_file_parser.py      37      0   100%
	 source_s3/source_files_abstract/formats/csv_parser.py                71     19    73%
	 source_s3/source_files_abstract/formats/csv_spec.py                  15      0   100%
	 source_s3/source_files_abstract/formats/parquet_parser.py            61      3    95%
	 source_s3/source_files_abstract/formats/parquet_spec.py               9      0   100%
	 source_s3/source_files_abstract/source.py                            40     18    55%
	 source_s3/source_files_abstract/spec.py                              42     22    48%
	 source_s3/source_files_abstract/storagefile.py                       16      3    81%
	 source_s3/source_files_abstract/stream.py                           195    103    47%
	 source_s3/stream.py                                                  43     31    28%
	 -------------------------------------------------------------------------------------
	 TOTAL                                                               623    238    62%

@jrhizor jrhizor temporarily deployed to more-secrets November 10, 2021 07:56 Inactive
@jrhizor jrhizor temporarily deployed to more-secrets November 10, 2021 07:56 Inactive
@antixar
Copy link
Contributor Author

antixar commented Nov 10, 2021

/test connector=connectors/source-zendesk-support

🕑 connectors/source-zendesk-support https://github.com/airbytehq/airbyte/actions/runs/1443199660
✅ connectors/source-zendesk-support https://github.com/airbytehq/airbyte/actions/runs/1443199660
Python tests coverage:

	 ---------- coverage: platform linux, python 3.8.10-final-0 -----------
	 Name                                                 Stmts   Miss  Cover
	 ------------------------------------------------------------------------
	 source_acceptance_test/__init__.py                       2      0   100%
	 source_acceptance_test/base.py                          10      4    60%
	 source_acceptance_test/config.py                        75      8    89%
	 source_acceptance_test/conftest.py                     108    108     0%
	 source_acceptance_test/plugin.py                        47     47     0%
	 source_acceptance_test/tests/__init__.py                 4      0   100%
	 source_acceptance_test/tests/test_core.py              200     94    53%
	 source_acceptance_test/tests/test_full_refresh.py       38     27    29%
	 source_acceptance_test/tests/test_incremental.py        69     38    45%
	 source_acceptance_test/utils/__init__.py                 6      0   100%
	 source_acceptance_test/utils/asserts.py                 37      2    95%
	 source_acceptance_test/utils/common.py                  41     24    41%
	 source_acceptance_test/utils/compare.py                 62     25    60%
	 source_acceptance_test/utils/connector_runner.py        82     49    40%
	 source_acceptance_test/utils/json_schema_helper.py     115     14    88%
	 ------------------------------------------------------------------------
	 TOTAL                                                  896    440    51%
	 ---------- coverage: platform linux, python 3.8.10-final-0 -----------
	 Name                                 Stmts   Miss  Cover
	 --------------------------------------------------------
	 source_zendesk_support/__init__.py       2      0   100%
	 source_zendesk_support/source.py        38     15    61%
	 source_zendesk_support/streams.py      275     81    71%
	 --------------------------------------------------------
	 TOTAL                                  315     96    70%
	 ---------- coverage: platform linux, python 3.8.10-final-0 -----------
	 Name                                 Stmts   Miss  Cover
	 --------------------------------------------------------
	 source_zendesk_support/__init__.py       2      0   100%
	 source_zendesk_support/source.py        38     15    61%
	 source_zendesk_support/streams.py      275    114    59%
	 --------------------------------------------------------
	 TOTAL                                  315    129    59%

@jrhizor jrhizor temporarily deployed to more-secrets November 10, 2021 08:12 Inactive
@antixar
Copy link
Contributor Author

antixar commented Nov 10, 2021

/test connector=connectors/source-commercetools

🕑 connectors/source-commercetools https://github.com/airbytehq/airbyte/actions/runs/1443240277

@jrhizor jrhizor temporarily deployed to more-secrets November 10, 2021 08:25 Inactive
@antixar antixar merged commit c0cc288 into master Nov 10, 2021
@antixar antixar deleted the antixar/3732-gsm-ci-secrets branch November 10, 2021 08:49
schlattk pushed a commit to schlattk/airbyte that referenced this pull request Jan 4, 2022
* fix 404 responses for the ticket_comments stream

* add unit test

* add unit test

* add oauth2 access token

* Update airbyte-integrations/connectors/source-zendesk-support/source_zendesk_support/streams.py

Co-authored-by: George Claireaux <george@claireaux.co.uk>

* switching among auth methods

* update spec file

* update CI secrets logic

* update CI secrets logic

* remove debug data

* add a debug message

* fix json convertation

* fix json convertation

* support one secret by several connectors

* Update tools/bin/ci_credentials.sh

Co-authored-by: Sherif A. Nada <snadalive@gmail.com>

* Update tools/bin/ci_credentials.sh

Co-authored-by: LiRen Tu <tuliren@gmail.com>

* update function names

* update docs

* reset failed changes

* update json set value

* update secrets json key

* Update tools/bin/ci_credentials.sh


* add JSON validation

* Update docs/connector-development/README.md

Co-authored-by: Sherif A. Nada <snadalive@gmail.com>

* update doc

* Update README.md

* rename the function write_standard_creds

Co-authored-by: Maksym Pavlenok <maksym.pavlenok@globallogic.com>
Co-authored-by: George Claireaux <george@claireaux.co.uk>
Co-authored-by: Sherif A. Nada <snadalive@gmail.com>
Co-authored-by: LiRen Tu <tuliren@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use a more reliable flow for using secrets in CI
5 participants