1
0
mirror of synced 2025-12-21 11:01:41 -05:00
Commit Graph

851 Commits

Author SHA1 Message Date
Jared Rhizor
6829e86771 full scheduler v2 CI testing (#10199)
* fix normalization output processing in container orchestrator

* add full scheduler v2 acceptance tests

* speed up tests

* fixes

* clean up
2022-02-11 16:47:17 -08: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
c21e2e4275 fix: check image workflow is failing for external images (#9951) 2022-02-02 15:31:25 +05:30
Maksym Pavlenok
91eff1dffd 🐛 Source S3: Loading of files' metadata (#8252) 2022-02-02 00:49:18 +02:00
LiRen Tu
c873898f47 Fix datamodel_code_generator exception in connector build (#9894)
* Try python 3.7

* Use black 21.12b0

* Add comment

* Update comment

* Remove unused imports from template
2022-01-29 22:08:56 -08:00
Eugene Kulak
2a015a8408 SAT: Introduce new way to compare records based on PK #9718 (#9768)
* fix asserts

Co-authored-by: Eugene Kulak <kulak.eugene@gmail.com>
2022-01-27 17:12:46 +02: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
Maksym Pavlenok
aa31f6abad 🎉 Collapse sonar reports (#9699) 2022-01-21 19:39:49 +02:00
Benoit Moriceau
e7da9232bb Fix record count and add acceptance test to the new scheduler (#9487)
* Add a job notification

The new scheduler was missing a notification step after the job is done.

This is needed in order to report the number of record of a sync.

* Acceptance test with the new scheduler

Add a new github action task to run the acceptances test with the new scheduler

* Retry if the failure

* PR comments
2022-01-19 18:16:19 -08:00
h-chlor
1832c69c26 Add SonarQube to CI (#8362) 2022-01-19 18:25:43 +02:00
Augustin
d65b8f986b 🐙 octavia-cli: generate open api client (#9277) 2022-01-17 09:27:14 +01:00
Serhii Chvaliuk
158151230c Remove intermediate docker images with DOCKER_BUILDKIT=1 (#9408)
* DOCKER_BUILDKIT=1 added

Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
2022-01-12 16:28:04 +02:00
Jared Rhizor
c9fee23b5f add warning about merging release on build failures (#9371) 2022-01-09 19:08:09 -08:00
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
Vadym
ff45a31eac SonarQube QA GitHub jobs (#8668)
* Add detect changed modules and build reports workflow.
Add python scripts for given workflow.
Add unit tests for detect_changed_modules.py.

* Update build_static_checkers_reports.py.
Update task.py to work within any python module.
Fixed report generation.

* Update Detect Changed Modules action.

* Fix action.
Update unit tests.
Code cleanup and fixes.

* Wrap ci_static_check_reports into bash command.

* Detect Changed Modules add install requirements command.

* Update ci_detect_changed_modules package.

* Rename ci_build_checkers_reports -> ci_build_python_checkers_reports.

* Return json as ci_detect_changed_modules output.

* Update Detect Changed Modules set output.

* Update unit tests.
Add changed module filter.
2021-12-30 19:37:56 +02:00
Baz
7d6a5ef30b edited manage.sh (#9205) 2021-12-30 17:13:56 +02:00
Maksym Pavlenok
a4be492111 🐛 Source Salesforce: 400 error for non-queryable streams (#9005) 2021-12-23 02:42:23 +02:00
Jared Rhizor
115b0f9875 attach kubernetes logs instead of writing to step output (#8979)
* attach kubernetes logs instead of writing to step output

* it's a pod
2021-12-21 08:54:38 -08:00
Maksym Pavlenok
4a16965146 🐛 SAT: add network host mode (#8998) 2021-12-21 16:14:06 +02:00
Charles
2c7f239182 airbyte-e2e-testing => airbyte-webapp-e2e-tests (#8892)
* move webapp tests module
2021-12-20 13:16:08 +03:00
Jared Rhizor
20c488948e add container orchestrator in feature flag (#8015)
* it's working

* clean up process factory

* fix and add tests

* clarify airbyte_default

* fix build

* fix kube acceptance test (maybe)

* oops

* fix output prop issue

* fix output propagation regression

* fix kube singleton problem

* sync passing on kube but getting wrong exit code of 7

* misc

* fix port usage

* remove host port that causes conflicts

* eliminate envconfigs static usage

* this took way too long to figure out

* get rid of annoying ==== this is new log messages

* finally successfully completing syncs

* stop using magic strings and clean up logging

* misc minor cleanups

* fmt

* misc

* correct

* misc fixes

* rename + misc

* better logs

* logging fix 1

* logging fix 1 -- fixed

* finally get logging working nicely

* add comment for simplification

* fmt

* misc

* fmt

* break into separate class

* remove comment

* remove flaky multi-node testing

* try to fix connector build

* remove separate node check

* switch to new configs type

* fix regression from logging config changes

* only log path one time

* remove misleading setting terminology

* fix connector build

* fix earlier merge conflict

* fix runtime kubernetes bug

* fix connector build (again)

* greatly simplify logging config by forcing the container-orchestrator to use default (non-job) logging

* add secret insertion for orchestrator on kube

* fix k8s ports

* add four ports

* fix logging test regression

* temporarily disable kube tests to check logging

* improve comments

* make Docker run more secure by limiting env vars transferred

* re-enable kubernetes tests

* fix conflict

* fix docker launching

* revert temporal hacks

* match master

* fix typo

* remove completed todo

* fix conflict

* increase memory requirement to something reasonable

* Update airbyte-container-orchestrator/Dockerfile

Co-authored-by: Davin Chia <davinchia@gmail.com>

* Update airbyte-container-orchestrator/Dockerfile

Co-authored-by: Davin Chia <davinchia@gmail.com>

* see if this stabilitizes tests

* address review comments

* bump new container version

* revert temporary addition

* change port back to 9000

* make re-initialization actually a no-op

* add feature flag

* fix version from merging earlier

* fix dockerfile

* fix connector build

* fix

* bump node version

* fix dockerfile

Co-authored-by: Davin Chia <davinchia@gmail.com>
2021-12-17 16:51:17 -08:00
andriikorotkov
0c99c5d7a5 🎉 Setting CPU and Memory limits for performance tests via github (#8807)
* updated ci performance test sh script

* updated ci performance test sh script

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* run tests

* update ci creds

* update performance test yaml file

* update performance test yaml file

* update performance test yaml file

* update performance test yaml file

* update performance test sh file

* update performance test sh file

* update performance test sh file

* update performance test sh file

* update java to 17 version in yaml file for performance tests

* update java to 17 version in yaml file for performance tests

* update java to 17 version in yaml file for performance tests

* update java to 17 version in yaml file for performance tests

* update java to 17 version in yaml file for performance tests

* clean test logs

* remove test logs

* remove test logs

* remove test logs

* return performance test logs

* add readme by performance tests
2021-12-17 12:47:45 +02:00
VitaliiMaltsev
91513f5e58 Destination Snowflake: update check method to verify permissions for staging (#8781)
* Destination Snowflake update check method to verify permission for stages

* fix for jdk 17

* fix for jdk 17

* fix with ci secrets

* fix with ci secrets

* removed snowflake secrets from ci_credentials.sh

* bump version

Co-authored-by: vmaltsev <vitalii.maltsev@globallogic.com>
2021-12-16 12:01:21 +02:00
Davin Chia
abc50145aa Update more scripts. (#8833) 2021-12-16 16:13:26 +08:00
Davin Chia
65fb3db36e Update release script to accommodate new env vars. (#8831)
* Exact match to avoid pulling out other version related env vars.
2021-12-16 15:44:23 +08:00
Maksym Pavlenok
be2ed7d8b5 🎉 SAT: fix of stdout reading (#8743)
* update logic

* add new options

* fix unit tests

* format

* fix incorrect docker status

* remove addl options

* format

* update docs

* restore removed file

* CI should be skipped connectors without secrets
2021-12-15 16:49:54 +02:00
Maksym Pavlenok
d3b0c998b8 🎉 CI secrets: full migration to GSM (#8561)
* add python packages for CI scripts

* add tox config for all subpackages

* draft version

* init venv for scripts

* fix venv

* remove used comments

* fix run test

* change base folder

* update secret format

* update docs

* remove an unused file

* remove github secrets logic fully

* fix base_folder balue

* add functions desc
2021-12-15 15:08:46 +02:00
andriikorotkov
0fd129e5e5 🎉 Updated ci performance test sh script (#8780)
* updated ci performance test sh script

* updated ci performance test sh script

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg
2021-12-15 11:12:20 +02:00
Davin Chia
60e32373e8 Revert "Revert "Switch to use Bootloader. (#8584)" (#8778)" (#8790)
This reverts commit 216501b4fa.

Turn this back on since this was originally reverted for logging update changes.
2021-12-15 14:09:43 +08:00
Davin Chia
216501b4fa Revert "Switch to use Bootloader. (#8584)" (#8778)
This reverts commit 5cf3967424.
2021-12-14 21:36:12 +08:00
Davin Chia
5cf3967424 Switch to use Bootloader. (#8584)
- Add the CONFIGS_DATABASE_MINIMUM_FLYWAY_MIGRATION_VERSION and JOBS_DATABASE_MINIMUM_FLYWAY_MIGRATION_VERSION. These are env vars that will determine if the database is ready for an application to start.
- Add the CONFIGS_DATABASE_INITIALIZATION_TIMEOUT_MS and the JOBS_DATABASE_INITIALIZATION_TIMEOUT_MS env vars to determine how long an application should wait for the DB before giving up.
- Create the MinimumFlywayMigrationVersionCheck class. This class contains all the assertions to check if 1) a database is initialised. 2) a database meets the minimum migration version.
- Remove all set up operations from the ServerApp. Use MinimumFlywayMigrationVersionCheck operations instead.
- I also had to modify the Databases and BaseDatabaseInstance classes to support connecting to a database with timeouts. We would previously try forever.
- Add Bootloader to the relevant docker files and Kube files.
- Clean up the migration acceptance tests so it's clear what is happening.
2021-12-14 21:30:18 +08:00
Luis Gomez
cba7285c99 🎉 New destination: RabbitMQ (#7560)
* Added RabbitMQ destination

* Added unit tests

* Added exchange to config

* Updated to support different connection parameters

* Added integration tests

* Added RabbitMQ destination documentation

* small change

* Addressed PR comments

* add creds

* format files

* bump connector config files version

* run format

Co-authored-by: Marcos Marx <marcosmarxm@gmail.com>
2021-12-13 19:11:32 -03:00
Serhii Chvaliuk
346b411a66 add OAuth 2.0 for microsoft_teams source connector (#7807)
* add OAuth 2.0 for microsoft_teams source connector

Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
2021-12-13 18:59:53 +02:00
andriikorotkov
94e4364fc4 🎉 Updated ci performance test sh script (#8751)
* updated ci performance test sh script

* updated ci performance test sh script

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg

* set all params to one arg
2021-12-13 18:13:31 +02:00
andriikorotkov
c07e7d57fe 🎉 Updated ci performance test sh script (#8739)
* updated ci performance test sh script

* updated ci performance test sh script

* set all params to one arg
2021-12-13 13:48:21 +02:00
Davin Chia
38ddbd30a5 Remove multi-node test for Kube Acceptance Test. (#8737)
* Remove multi-node test for kube acceptance tests.

* Update seed spec.
2021-12-13 19:03:00 +08:00
Jared Rhizor
25674fc306 upgrade to Gradle 7.3.1 / Java 17 (#7964)
* upgrade gradle

* upgrade to Java 17 (and fix a few of the node versioning misses)

* oops

* try to run a different format version

* fix spotless by upgrading / reformatting some files

* fix ci settings

* upgrade mockito to avoid other errors

* undo bad format

* fix "incorrect" sql comments

* fmt

* add debug flag

* remove

* bump

* bump jooq to a version that has a java 17 dist

* fix

* remove logs

* oops

* revert jooq upgrade

* fix

* set up java for connector test

* fix yaml

* generate std source tests

* fail zombie job attempts and add failure reason (#8709)

* fail zombie job attempts and add failure reason

* remove failure reason

* bump gcp dependencies to pick up grpc update (#8713)

* Bump Airbyte version from 0.33.9-alpha to 0.33.10-alpha (#8714)

Co-authored-by: jrhizor <jrhizor@users.noreply.github.com>

* Change CDK "Caching" header to "nested streams & caching"

* Update fields in source-connectors specifications: file, freshdesk, github, google-directory, google-workspace-admin-reports, iterable (#8524)

Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>

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

* move S3Config into destination-s3; update dependencies accordingly (#8562)

Co-authored-by: Lake Mossman <lake@airbyte.io>
Co-authored-by: jrhizor <jrhizor@users.noreply.github.com>
Co-authored-by: Sherif A. Nada <snadalive@gmail.com>
Co-authored-by: Iryna Grankova <87977540+igrankova@users.noreply.github.com>
Co-authored-by: Serhii Chvaliuk <grubberr@gmail.com>
Co-authored-by: Edward Gao <edward.gao@airbyte.io>
2021-12-10 16:57:54 -08:00
Charles
058bb2a424 State Storage for new Scheduler (#8613) 2021-12-10 09:52:26 -08:00
andriikorotkov
743031dd75 🎉 Updated ci performance test sh script (#8701)
* updated ci performance test sh script

* updated ci performance test sh script
2021-12-10 17:46:48 +02:00
oleh.zorenko
fdef48c760 Add info about skipped failed tests in /test command message (#8654)
* 7947 Add info about skipped/failed tests to github test message

* 7947 Update docs

* 7947 Add failed test to source stripe

* 7947 Move logic connected to skipped_failed_info info function

* 7947 Remove failed test from source stripe

* 7947 Remove test changes from source-stripe
2021-12-10 17:06:40 +02:00
Harshith Mullapudi
d0aacc5a99 fix: added some acceptance tests just to have some basic stuff (#8679) 2021-12-10 04:43:03 +05:30
Augustin
f6a42f67ee Use python:3.10-slim in code-generator (#8647) 2021-12-09 09:18:41 +01:00
vitaliizazmic
487f9e77e0 🎉 Source Google Sheets: migrate to the CDK
* Source Google Sheets #8313 - migrate to the CDK

* Source Google Sheets #8313 - fixing unit tests

* Source Google Sheets #8313 - reformat

* Source Google Sheets #8313 - update ci_credentials

* Source Google Sheets #8313 - bump version and update docs
2021-12-07 12:38:03 +02:00
Serhii Chvaliuk
1bde075f14 🎉 Source Retently: add OAuth 2.0 (#8043)
* bump version for source-retently 0.1.0 -> 0.1.1
* advanced_auth added

Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
2021-12-06 20:59:06 +02:00
Davin Chia
341f505a94 Rename env vars for better readability. (#8447)
* Rename GcsStorageBucket to GcsLogBucket.

* Update all references to GCP_STORAGE_BUCKET to GCS_LOG_BUCKET.

* Undo this for configuration files for older Airbyte versions.

* Clean up Job env vars. (#8462)

* Rename MAX_SYNC_JOB_ATTEMPTS to SYNC_JOB_MAX_ATTEMPTS.

* Rename MAX_SYNC_TIMEOUT_DAYS to SYNC_JOB_MAX_TIMEOUT_DAYS.

* Rename WORKER_POD_TOLERATIONS to JOB_POD_TOLERATIONS.

* Rename WORKER_POD_NODE_SELECTORS to JOB_POD_NODE_SELECTORS.

* Rename JOB_IMAGE_PULL_POLICY to JOB_POD_MAIN_CONTAINER_IMAGE_PULL_POLICY.

* Rename JOBS_IMAGE_PULL_SECRET to JOB_POD_MAIN_CONTAINER_IMAGE_PULL_SECRET.

* Rename JOB_SOCAT_IMAGE to JOB_POD_SOCAT_IMAGE.

* Rename JOB_BUSYBOX_IMAGE to JOB_POD_BUSYBOX_IMAGE.

* Rename JOB_CURL_IMAGE to JOB_POD_CURL_IMAGE.

* Rename KUBE_NAMESPACE to JOB_POD_KUBE_NAMESPACE.

* Rename RESOURCE_CPU_REQUEST to JOB_POD_MAIN_CONTAINER_CPU_REQUEST.

* Rename RESOURCE_CPU_LIMIT to JOB_POD_MAIN_CONTAINER_CPU_LIMIT.

* Rename RESOURCE_MEMORY_REQUEST to JOB_POD_MAIN_CONTAINER_MEMORY_REQUEST.

* Rename RESOURCE_MEMORY_LIMIT to JOB_POD_MAIN_CONTAINER_MEMORY_LIMIT.

* Remove worker suffix from created pods to reduce confusion with actual worker pods.

* Use sync instead of worker to name job pods.
2021-12-03 23:28:48 +08:00
Serhii Chvaliuk
15fe4dd5c0 Source Trello: Pull data only for configured board_ids (#8338)
* 'Boards' stream returns only specific (board_ids) records
* github secret -> google secret

Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
2021-12-01 16:31:34 +02:00
Serhii Chvaliuk
f781df893f 🎉 Source Google Ads: clarify setup fields (#8178)
* reorder UI fields

* improve title for login_customer_id, custom_queries

* GOOGLE_ADS_TEST_CREDS github secret -> google secret

Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
2021-11-29 23:21:06 +02:00
Serhii Chvaliuk
0d7e69e760 🐛 Source Hubspot: unset 'hs_time_in_*' properties (#8216)
* 'skip_dynamic_fields' added

Signed-off-by: Sergey Chvalyuk <grubberr@gmail.com>
2021-11-26 21:35:31 +02:00
Harshith Mullapudi
15fd9207ec Publishing new source: Outreach (#8181)
* chore: added in source_definition

* added cred to ci

* chore: added seed spec

* added outreach to source definition
2021-11-23 11:08:15 +05:30
AlexanderBatoulis
fd90c95e18 🎉 New Source: Zenloop (#7380) 2021-11-22 17:14:43 +01:00