1
0
mirror of synced 2026-01-01 00:02:54 -05:00
Commit Graph

40 Commits

Author SHA1 Message Date
Augustin
e8146e5ec2 Normalization: Upgrade MySQL to dbt 1.0.0 (#11470) 2022-06-15 15:05:49 -07:00
LiRen Tu
973f0b1165 Make connector adaptable based on deployment mode (#13522)
* Add deployment mode to env shared with jobs

* Add adaptive runners

* Migrate postgres source to use adaptive runner

* Add an array of specs in docker image spec definition

* Add copyright

* Parse docker image spec with specs list

* Update spec yaml files

* Pass in DEPLOYMENT_MODE to docker compose file

* Revert "Parse docker image spec with specs list"

This reverts commit 8fe41dd3b7.

* Revert changes in docker image spec

* Read cloud specific spec files based on deployment mode

* Revert "Update spec yaml files"

This reverts commit 059f326432.

* Publish cloud spec file if necessary

* Fix upload script

* Move test files

* Update docker compose file

* Format code

* Add comment about spec filename

* Add unit tests

* Remove redundant jdbc acceptance test

When running `PostgresStrictEncryptJdbcSourceAcceptanceTest`, the `discover` method tests always fail because there are unexpected columns in the catalog:
- `wakeup_at`
- `last_visited_at`
- `last_comment_at`

These columns only exist in `PostgresJdbcSourceAcceptanceTest`. And this failure cannot be reproduced locally.

The hypothesis is that when the JDBC unit tests are run on CI, they are run in parallel, and the same testcontainer is used for both tests. That's why the strict encrypt test can discover columns from the oridinary unit test.

Given that the JDBC strict encrypt test is basically redundant, it is removed.
2022-06-15 08:23:54 -07:00
Evan Tahler
6c8cae2e7b Use buildx docker-container driver for publishing normalization containers (#13693)
* explicitly use buildx for connector publish

* ... and use it

* use docker-container driver

* use `driver docker-container` only for normalization

* Update tools/integrations/manage.sh

Co-authored-by: Edward Gao <edward.gao@airbyte.io>

Co-authored-by: Edward Gao <edward.gao@airbyte.io>
2022-06-10 12:24:47 -07:00
Evan Tahler
d1ff8dd8b4 [Github Actions] Rename docker secrets and parameterize docker user (#13297)
* Rename docker secrets and parameterize docker user

* Apply suggestions from code review

Co-authored-by: Pedro S. Lopez <pedroslopez@me.com>

Co-authored-by: Pedro S. Lopez <pedroslopez@me.com>
2022-05-27 18:48:26 -07:00
noahkawasaki-airbyte
0fd866c590 Toggle off and on set -x when DOCKER_TOKEN is used (#13293)
* Toggle off and on set -x when DOCKER_TOKEN is used
2022-05-27 14:39:59 -07:00
Evan Tahler
e3cb566f79 Bump faker version to test M1 Connector builds (#13235)
* Bump faker version to test M1 Connector builds

* add PR link to changelog

* Remove birhtday, it  doesn't obey seed

* bump readme

* more birthday to remove

* remove image specificity in publish-command

* Set AMI for testing.

* test with including buildx emulators

* auto-bump connector version

* add TODO comment

Co-authored-by: Davin Chia <davinchia@gmail.com>
Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-05-27 10:36:05 -07:00
Evan Tahler
38302e82a2 Add some docker version info to the publish script (#13247) 2022-05-26 17:46:11 -07:00
Evan Tahler
392f445187 Publish connector Docker images for multiple platform architectures (#13004)
* Publish connector images for multiple platform architectures

* testing

* notes

* show path in log

* Build arch 1-by-1 and use manifest file

* build & test comment

* delete tmp docker tags

* share docker auth code

* remove manifests when done & fix trailing / for tag delete
2022-05-26 11:31:37 -07:00
noahkawasaki-airbyte
7a79216d01 Make publish command work with private repos by adding JWT into curl headers (#13141)
* Make publish command work with private repos by adding in JWT token to headers for curl

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2022-05-24 10:55:46 -07:00
noahkawasaki-airbyte
e8406a2cd6 Initial PR /publish workflow into pre-merge /build-connector and post-merge /publish-connector workflows (#12405) 2022-04-29 07:03:27 -07:00
Augustin
5e676feb12 Publish command: call docker hub api to check the tag was registered (#11654) 2022-04-04 16:14:03 -07:00
LiRen Tu
679ce18042 🎉 Destination databricks: move driver downloading to gradle (#9995)
* Download jdbc driver in dockerfile

* Download jdbc driver in dockerfile

* Remove driver downloading from ci

* Update document

* Update public doc

* Download jdbc driver in gradle

* Clean up gradle file

* Clean up dockerfile

* Fix typo
2022-02-02 02:16:53 -08:00
Harshith Mullapudi
dda6902cec feat: add publish-external command to slash commands to publish external images (#9634)
* feat: add publish-external command to slash commands to publish external connector images

* fix: publish only stpec to cache

* fix: according to new script changes

* fix: removed tox installation

* fix: version is not read from command
2022-01-26 23:44:10 +05:30
LiRen Tu
dfb7b8cd3f 🐞 Destination databricks: update jdbc driver to patch log4j (#7622)
* Download spark jdbc driver in build cmd

* Download jdbc driver in ci integration test

* Update comments

* Set up cloud sdk

* Add comments

* Download jdbc driver from databricks directly

* Update readme

* Use unzip command

* Install unzip for databricks

* Add databricks build status

* Close database

* Log more error information

* Close database when checking connection

* Update spec
2022-01-06 20:22:56 -08:00
Baz
7d6a5ef30b edited manage.sh (#9205) 2021-12-30 17:13:56 +02:00
Charles
f194f354c7 move basic normalization to connectors_base build (#7068) 2021-10-15 17:26:08 -07:00
Dmytro
b95f366cee Fix publish script for non-connector images (#6537) 2021-09-29 19:34:38 +03:00
Christophe Duong
992bdb1cd5 Skip updating spec cache when publishing normalization docker image (#6399) 2021-09-23 15:14:06 +02:00
Charles
fa0028d77e remove extra get spec call (#6041) 2021-09-13 20:55:03 -07:00
Charles
74c9986245 publish spec to cache as part of connector publish script (#5994) 2021-09-13 16:49:48 -07:00
Davin Chia
c83b134d1a Stablise Python Builds. (#4558)
See the PR description or issue 4559 for context.
2021-07-06 13:53:17 +08:00
Marcos Marx
68f78d59ad Add AIRBYTE_ENTRYPOINT for Kubernetes support (#4469). 2021-07-03 22:05:32 +08:00
Sherif A. Nada
5989d19733 Disable gradle cache when publishing connectors (#4507) 2021-07-02 13:35:40 -07:00
Sherif A. Nada
9079cbdf78 Publish PR (#4121) (#4495)
Co-authored-by: Rodrigo Parra <rodpar07@gmail.com>
2021-07-02 13:34:57 -07:00
vovavovavovavova
286f30f9ed CDK: tool for auto-generating schemas from the stream output (#3948)
* tool for creating schemas from configured_catalog within genson stripping `required`

* gen from all output (add_schema for all)

* all except extra_strategies

* apply extra strategies

* merge && small upd

* upd docstring
2021-06-16 14:16:32 +03:00
Dmytro
512b9f3e63 Rewrite scaffoldTemplateTask test to work with new docker generator (#4039) 2021-06-10 23:33:22 +03:00
Jared Rhizor
b4793b2510 add AIRBYTE_ENTRYPOINT for kubernetes support (#3973)
* add AIRBYTE_ENTRYPOINT for kubernetes support

* bump versions

* bump version in seed

* Update generic template

* keep scaffold sources at 0.1.0

* add missing newline

* handle python base versions correctly

* re-bump mysql and postgres sources

* re-bump snowflake destination

* add skip tests option

* switch to running tests

* reverse conditional to make it safer

* fix publish to include the test running

* fix iterable version

* fix file generation

Co-authored-by: Sherif A. Nada <snadalive@gmail.com>
2021-06-09 13:01:45 -07:00
Christophe Duong
8862fba1bb 🎉 Avoid dbt runtime exception "maximum recursion depth exceeded" in ephemeral materialization
* Create new test_ephemeral and refactor with test_normalization

* Add notes in docs

* Refactor common normalization tests into DbtIntegrationTest

* Bumpversion of normalization image
2021-05-21 18:07:20 +02:00
Jared Rhizor
0609011e05 fix connector base versioning (#2726)
* fix connector base versioning

* only run integration tests in non-bases directories

* upgrade datamodel-code-generator which coincidentally has already fixed this issue with generating List of Lists

* bump forgotten hubspot version

* fix build
2021-04-02 22:46:06 -07:00
Michel Tricot
ac092ada6e Hide connector scaffolding behind a script (#2080) 2021-02-16 20:09:03 -08:00
Sherif A. Nada
9d24b80992 Allow publishing a connector image via github comment (#1892) 2021-02-01 14:11:21 -08:00
Sherif A. Nada
6a6daa4956 Test connectors only once when building their image (#1555) 2021-01-06 16:06:54 -08:00
Charles
d1fd379938 add handling for different test types in manage.sh (#1013) 2020-11-18 13:54:37 -08:00
Sherif A. Nada
41ce2b96dc fix image push script (#633) 2020-10-19 16:23:45 -07:00
Michel Tricot
5e2ccaa49b DRY connector gradle files (#562) 2020-10-14 10:59:47 -07:00
Michel Tricot
5c5185f1b4 First process to push integrations (#215) 2020-09-10 15:36:43 -07:00
Sherif A. Nada
b33980536b Add acceptance tests to run through most critical features (#165) 2020-09-09 17:50:54 -07:00
Sherif A. Nada
6f3e670c05 Fix sync worker deps & tests (#120)
* save

* working sync tests

* nullcheck

* disable test until docker is fixed
2020-08-27 12:59:57 -07:00
Sherif A. Nada
0feb7672d9 Add sync worker (#84) 2020-08-25 14:58:58 -07:00
Michel Tricot
d408239029 Use docker for integrations (#87) 2020-08-20 19:31:39 -07:00