1
0
mirror of synced 2025-12-31 15:03:11 -05:00
Files
airbyte/tools/ci_credentials
Brian Leonard 3125d92c82 handle null mask value (#13382)
* Don’t show mask items locally

* Handle null mask value
2022-06-01 10:36:05 -07:00
..
2022-04-11 20:51:37 -07:00

CI Credentials

Connects to GSM to download connection details.

Development

Set up the world the same way Google Actions does it in test-command.yml.

source venv/bin/activate
pip install --quiet tox==3.24.4
tox -r -c ./tools/tox_ci.ini
pip install --quiet -e ./tools/ci_*

Download a Service account json key that has access to Google Secrets Manager.

export GCP_GSM_CREDENTIALS=`cat ~/Downloads/key.json`

After making a change, you have to reinstall it to run the bash command: pip install --quiet -e ./tools/ci_*

Run it

The VERSION=dev will make it so it knows to use your local current working directory and not the Github Action one.

Pass in a connector name. For example:

VERSION=dev ci_credentials destination-snowflake

To make sure it get's all changes every time, you can run this:

pip install --quiet -e ./tools/ci_* && VERSION=dev ci_credentials destination-snowflake