1
0
mirror of synced 2025-12-21 02:51:29 -05:00
Commit Graph

851 Commits

Author SHA1 Message Date
Ben Church
8d90f4cf1e 📖 Reference new build system docs (#22226)
* Reference new build system docs

* Add references to qa engine
2023-02-01 11:54:38 -08:00
Ben Church
c8257e44a6 Ensure the QA check does not influence the report (#22150) 2023-01-31 14:46:30 -04:00
Ben Church
4f6d7d14b5 Disable qa engine check (#22131) 2023-01-31 03:49:12 -08:00
Evan Tahler
e4f4412873 source-faker to Beta + Fix AllowedHosts Checks (#22117)
* beta faker + no allowed hosts

* V2.0.1

* fixup python checks

* add back allowedHosts

* simplify

* simplify releaseStage

* bump expected records

* More mock logger methods

* auto-bump connector version

---------

Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
2023-01-31 06:13:19 +00:00
Ben Church
1f2b6d619b Add version prefix to build status files (#22126) 2023-01-31 04:59:40 +00:00
Ben Church
a9d85e3e06 Point slack at summary builds not history (#22123) 2023-01-31 02:08:12 +00:00
Ben Church
90828d4bd9 Version connector build statuses (#22029)
* Refactor the job log json to include the docker_version

* Output to versioned folder

* Handle the case where people call the action without connector prefixed

* Retrieve status of each connector

* Use build report statuses in the QA Engine

* Cast build status as an enum
2023-01-30 16:16:16 -08:00
Evan Tahler
adc5a25704 Github Action to enforce allowed hosts are set for GA and Beta connectors (#21684)
* Github Action to enforce allowed hosts are set for GA connectors

* include beta connectors too

* fix keys and add github

* Update tools/ci_connector_ops/ci_connector_ops/allowed_hosts_checks.py

Co-authored-by: Augustin <augustin@airbyte.io>

* remove comments

* bump version

* add docs

---------

Co-authored-by: Augustin <augustin@airbyte.io>
2023-01-30 14:44:37 -08:00
Jimmy Ma
6660b13ad2 Add Airbyte Protocol V1 support. (#20036)
* Add Airbyte Protocol V1 support.

* Fix VersionedAirbyteStreamFactoryTest

* Remove AirbyteMessageMigrationV0 example

* Add Protocol Version constants

* 🎉Updated normalization to handle new datatypes (#19721)

* Updated normalization simple stream processing to handle new datatypes

* Updated normalization nested stream processing to handle new datatypes

* Updated normalization nested stream processing to handle new datatypes

* Updated normalization drop_scd_catalog processing to handle new datatypes

* Updated normalization ephemeral test processing to handle new datatypes

* fixed more tests for normalization

* fixed more tests for normalization

* fixed more tests for normalization

* fixed more tests for normalization

* fixed more issues

* fixed more issues (clickhouse)

* fixed more issues

* fixed more issues

* fixed more issues

* added binary type processing for some DBs

* cleared commented code and moved some hardcodes to processing as macro

* fixed codestyle and cleared commented code

* minor refactor

* minor refactor

* minor refactor

* fixed bool cast error

* fixed dict->str cast error

* fixed is_combining_node cast py check

* removed commented code

* removed commented code

* committed autogenerated normalization_test_output files

* committed autogenerated normalization_test_output files (new files)

* refactored utils.py

* Updated utils.py to use Callable functions and get rid of property_type in is_number and is_bool functions

* committed autogenerated normalization_test_output files (new files)

* fixed typo in TIMESTAMP_WITH_TIMEZONE_TYPE

* updated stream_processor to handle string type first as a wider type

* fixed arrays normalization by updating is_simple_property method as per new approaches

* format

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

* Update airbyte protocol migration (#20745)

* Extract MigrationContainer from AirbyteMessageMigrator

* Add ConfiguredAirbyteCatalogMigrations

* Add ConfiguredAirbyteCatalog to AirbyteMessageMigrations

* Enable ConfiguredAirbyteCatalog migration

* Fix tests

* Remove extra this.

* Add missing docs

* Typo

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

* Data types update: Implement protocol message migrations (#19240)

* Extract MigrationContainer from AirbyteMessageMigrator

* Add ConfiguredAirbyteCatalogMigrations

* Add ConfiguredAirbyteCatalog to AirbyteMessageMigrations

* Enable ConfiguredAirbyteCatalog migration

* set up scaffolding

* [wip] more scaffolding, basic unit test

* minimal green code

* [wip] add failing test for other primitive types

* correct version number

* handle basic primitive type decls

* add implicit cases

* add recursive schema

* formatting

* comment

* support not

* fix indentation

* handle all nested schema cases

* handle boolean schemas

* verify empty schema handling

* cleanup

* extract map

* code organization

* extract method

* reformat

* [wip] more tests, minor fix type array handling

* corrected test

* cleanup

* reformat

* switch to v1

* add support for multityped fields

* missed test case

* nested test class

* basic record upgrade

* implement record upgrades

* slight refactor

* comments+clarificationso

* extract constants

* (partly) correct model classes

* add de/ser

* formatting

* extract constants

* fix json reference

* update docs

* switch to v1 models

* fix compile+test

* add base64 handling

* use vnull

* Data types update: Implement protocol message downgrade path (#19909)

* rough skeleton for passing catalog into migration

* basic test

* more scaffolding

* basic implementation

* add primitives test

* add in other tests (nested fields currently failing)

* add formats

* impleent oneOf handling

* formatting

* oneOf handling

* better tests

* comments + organization

* progress

* basic test case

* downgrade objects, ish

* basic array implementation

* handle numeric failure

* test for new type

* handle array items

* empty schema handling

* first pass at oneof handling

* add more tests+handling

* more tests

* comments

* add empty oneof test case

* format + reorganize

* more reorganize

* fix name

* also downgrade binary data

* only import vnull

* move migrations into v1 package

* extract schema mutation code

* comment

* extract schema migration to new class

* extract record downgrade logic for future use

* format

* fix build after rebase

* rename private method for consistency

* also implement configuredcatalog migrations >.>

* quick and dirty tests

* slight cleanup

* fix tests

* pmd

* pmd test

* null check on message objects

* maybe fix acceptance tests?

* fix name

* extract constants

* more fixes

* tmp

* meh

* fix cdc acc tests

* revert to master source-postgres

* remove log messages

* revert other misc hacks

* integers are valid cursors

* remove unrelated change

* fix build

* fix build more?

* [MUST REVERT] use dev normalization

* capture kube logs

* also here?

* no debug logs?

* delete dup from merging

* add final everywhere

* revert test changes

Co-authored-by: Jimmy Ma <jimmy@airbyte.io>

* On-the-fly migrations of persisted catalogs (#21757)

* On the fly catalog migration for normalization activity

* On the fly catalog migration for job persistence

* On the fly migration for standard sync persistence

* On the fly migration for airbyte catalogs

* Refactor code to share JsonSchema traversal

* Add V0 Data type search function

* PMD and Format

* Fix getOrInsertActorCatalog and ConfigRepositoryE2E tests

* Null-proofing CatalogMigrationV1Helper

* More null checks

* Fix test

* Format

* Add data type v1 support to the FE

* Changes AC test check to check exited ps (#21672)

some docker compose changes no longer show exited
processes.  this broke out test

this change should fix master

tested in a runner that failed

* Move wellknown types mapping to the utility function

* use protocolv1 normalization

---------

Co-authored-by: Topher Lubaway <asimplechris@gmail.com>
Co-authored-by: Edward Gao <edward.gao@airbyte.io>

* Update protocol support range (#21996)

* bump normalization version to 0.3.0

* Add version check on normalization (#22048)

* Add normalization min version check

* Add visible for testing

---------

Co-authored-by: Edward Gao <edward.gao@airbyte.io>
Co-authored-by: Eugene <etsybaev@gmail.com>
Co-authored-by: Topher Lubaway <asimplechris@gmail.com>
2023-01-30 10:17:49 -08:00
Augustin
908a93f3c6 cloud-availability-updater: implement git interactions (#21976) 2023-01-27 18:00:19 +00:00
Augustin
3a81ffc0a5 QA engine: add adoption metrics to the QA report (#21917) 2023-01-27 16:46:08 +00:00
Augustin
fa1b87787a qa-engine: define cloud eligibility (#21961) 2023-01-27 15:46:49 +00:00
Augustin
616e2e1af0 QA checks: implement icon and documentation checks (#21845) 2023-01-26 16:03:09 +01:00
Augustin
3f154590ae qa-engine: implement fetch_adoption_metrics_per_connector_version (#21840) 2023-01-26 08:44:20 +00:00
Augustin
734d5484c2 qa-engine: implement early enrichments and validations on QA report (#21776) 2023-01-25 17:38:52 +01:00
Mykyta Serbynevskiy
9e1504521c improve logging of find-valid-pat script (#21789) 2023-01-24 16:45:05 +02:00
Augustin
f7ce2041b7 qa-engine: fix typo (#21773)
* fix typo

* fix typo

* fix typo
2023-01-24 02:45:05 -06:00
Augustin
4770a8fa43 connector-ops-ci: bootstrap qa engine (#21709) 2023-01-24 09:35:06 +01:00
Augustin
d77514dcfe CI connector ops: introduce QA checks in /test (#21699) 2023-01-23 18:25:53 +01:00
Topher Lubaway
e67bb115ba Changes AC test check to check exited ps (#21672)
some docker compose changes no longer show exited
processes.  this broke out test

this change should fix master

tested in a runner that failed
2023-01-20 13:11:09 -06:00
Jimmy Ma
c6b8279386 Add dependencies to docker-compose (#19321)
* Revert "Revert "Add dependencies to docker-compose (#19257)" (#19306)"

This reverts commit b16f28fd4d.

* Bump docker-compose version

* test

* Revert "test"

This reverts commit c3b28c9ec3.

* Bump docker compose version to 3.8

* test

* test

* Use a newer docker for platform build

* test

* Use docker compose v2

* Update docker for frontend e2e

* Use docker compose v2 for e2e tests

* Update tools to use docker compose v2

* Update more docker compose references to v2

* Update docker compose usage in docs

* Update deploying airbyte docs

* Fix permission

* Case insensistive check

* Add extra mention for docker compose in upgrading airbyte

* Improve upgrade docker note
2023-01-12 10:41:00 -08:00
Volodymyr Pochtar
702027e10a feat: mention user on failed master branch build (#21201) 2023-01-12 12:30:26 +02:00
Augustin
524f0717f2 ci-connector-ops: change required reviewers logic (#21158) 2023-01-10 14:50:33 +00:00
Joe Reuter
f61a790a07 Connector builder: E2e tests (#21122)
* wip

* wip

* e2e tests for connector builder server

* rename function

* clean up

* clean up a bit more

* fix path

* fix and add documentation

* more documentation

* stabilze

* review comments
2023-01-10 12:44:09 +00:00
Greg Solovyev
80504d998e Switch order of namespaces and make Destination Default is the defaul… (#21047)
* Switch order of namespace options to make Destination Default appear as the first option
* Destination Default is the default option
* Update expected HTML
2023-01-05 10:20:26 -08:00
Kyryl Skobylko
2485576a97 fix: Disable fluentbit deployment for local ac tests (#21072) 2023-01-05 19:59:27 +02:00
Volodymyr Pochtar
45f5d76e85 Revert "build: added script that match github user to slack user/added action/changed workflow with user mentioning (#20815)" (#21018)
This reverts commit 31f96cef76.
2023-01-04 15:26:13 +00:00
Andrii Honcharenko
31f96cef76 build: added script that match github user to slack user/added action/changed workflow with user mentioning (#20815) 2023-01-03 22:41:18 +02:00
Davin Chia
2deac0f244 Prep for Java 19 Upgrade (#20911)
Upgrade all the necessary tooling dependencies to get us to Java 19.
2022-12-29 12:32:42 -08:00
Kyryl Skobylko
9da0de1079 fix: Improve Airbyte CI logging (#20517)
* add fluent-bit logging to k3s setup

* Fix --set for helm

* add --generate-name

* fix slash in multiline bash

* Update --set for helm

* Use generate-name instead

* Add debug

* Remove deubg for helm

* Fix env again

* Disable build

* Remove everything

* Disable everything again

* Snap back to reallity

* Update fluent_values.yaml

* Use role instead of AWS creds

* Use new bucket

* Revert changes

* Update bucket name

* Play around with fluent-bit config

* Escape string in helm --set arg

* Update fluent-bit config + update --set argument

* Update fluentbit config so it"ll create s3 path correctly

* Add logging to kustomize

* Revert debug mode
2022-12-27 19:53:24 +02:00
Evan Tahler
a55eb7df2d Fix CI Dependency Check Failures (#20666)
* pardot

* plaid

* quickbooks

* appfollow

* appstore

* cloudtrail

* clickup

* clockify

* coda

* Coinmarketcap

* cooper

* dixa

* dv-360

* exchange-rates

* file

* gridly

* Hellobaton

* kustomer

* mailersend

* microsoft dataverse

* n8n

* PersistIq

* Survey Sparrow

* Twilio Taskrouter

* YouTube Analytics Business

* Younium

* Yahoo Finance Price

* Yandex Metrica

* Xero

* WooCommerce

* XKCD

* Webflow

* US Census API

* Qonto

* Pivotal Tracker

* KVDB

* Firestore

* Ignore even more connectors

* test run

* SFTP JSON

* cleanup

* move pardot changelog

* update links

* remove testing HACK

* Update docs/integrations/sources/dixa.md

Co-authored-by: Augustin <augustin@airbyte.io>

* Update docs/integrations/sources/kustomer-singer.md

Co-authored-by: Augustin <augustin@airbyte.io>

* Update docs/integrations/sources/pardot.md

Co-authored-by: Augustin <augustin@airbyte.io>

* Update docs/integrations/sources/kustomer-singer.md

Co-authored-by: Augustin <augustin@airbyte.io>

* Update docs/integrations/sources/pardot.md

Co-authored-by: Augustin <augustin@airbyte.io>

Co-authored-by: Augustin <augustin@airbyte.io>
2022-12-20 16:57:25 -06:00
Taras Korenko
79bfe56a8f Fix OSS integration tests for docs (#3663) (#20578)
+ Routes Slack notifications to '#docs'
+ Sets default value of SKIP_DEPLOY variable in deploy_docusaurus
  script
2022-12-16 20:47:16 +02:00
Taras Korenko
228a524d63 Fix OSS integration tests for docs (#3663) (#20590)
+ In "Docs PR check mode" stop before "yarn deploy"
2022-12-16 19:13:00 +02:00
Topher Lubaway
4625e8bd3d removes skip_deploy from docs push (#20587) 2022-12-16 10:51:46 -06:00
Taras Korenko
2720326599 Fix OSS integration tests for docs (#3663) (#20563)
+ Changes 'deploy-docs-site' workflow and 'deploy_docusaurus'
  script so these two things are used for doc PR verification
  as well.
2022-12-16 17:34:33 +02:00
andriikorotkov
eecfafd10e Remove NormalizationRunnerFactory (#20245)
* updated IntegrationLauncherConfig.yaml and added to this class suportDBT and normalizationImage fields. Added to the GenerateInputActivityImpl and TemporalClient classes code parts for read destination_definition.yaml and get suportDBT and normalizationImage fields. Added logging and comparing normalization images from NormalizationRunnerFactory and destination_definition.yaml

* updated minor remarks

* updated minor remarks

* fixed minor remarks

* added normalization data to the tests

* fixed minor remarks

* removed NormalizationRunnerFactory

* fixed remarks

* fixed remarks

* fixed remarks

* updated acceptance tests

* updated acceptance tests

* updated check_images_exist.sh script

* updated method for get normalization image name for destination acceptance test

* fixed code style

* fixed code style and removed tests data

* updated JobErrorReporterTest.java

* updated JobErrorReporterTest.java

* fixed remarks

* added integration type field to the dectination_definition file and actor_definition table

* fixed tests

* fixed tests

* fixed minor changes after pulling master changes

* fixed minor changes after pulling master changes

* renamed integrationType to normalizationIntegrationType/ fixed minor remarks

* renamed extra dependencies

* updated docs

* updated docs

* fixed minor remarks

* added NormalizationDestinationDefinitionConfig.yaml for StandardDestinationDefinition.yaml and updated configuration

* updated normalization tag

* updated DestinationAcceptanceTest.java

* updated DestinationAcceptanceTest.java

* updated imports and descriptions
2022-12-15 12:15:34 +02:00
Augustin
c2895c1537 ci-connector-ops: declare review requirements on source connectors changes (#20303) 2022-12-13 23:55:50 +01:00
Michael Siega
0fac8c82e6 implement column filtering in the replication workflow (#20369)
* implement column filtering in the replication workflow

* fixes to column selection in replication workflow

* add a basic acceptance test for column selection

* make CI acceptance tests run with new field selection flag enabled

* fix format

* readability improvements around columns selection tests and other small fixes
2022-12-13 01:02:09 +01:00
Augustin
9eca59e6b4 ci-credentials: fix typo when no secret found (#20353) 2022-12-12 10:04:43 +01:00
Evan Tahler
c9483316a8 More destination fixes for ci_check_dependency (#20274) 2022-12-09 11:51:14 -08:00
Augustin
9cb5714cd1 ci-credentials: update GSM secrets with updated configuration values (#20076) 2022-12-07 11:53:22 +01:00
Evan Tahler
92ad0fdc07 Destination doc and warning updates (#20110)
* Doc updates

* Bigquery Denormalized

* bump faker for change

* ignore missing strict-encrypt connectors from ci check

* Apply suggestions from code review

Co-authored-by: Augustin <augustin@airbyte.io>

* Fix MD titles

Co-authored-by: Augustin <augustin@airbyte.io>
2022-12-06 12:10:13 -08:00
Ella Rohm-Ensing
4bef54d1b9 Add README info about using your local CDK locally and in docker (#20082)
* Add README info about installing the local CDK locally and in Docker

* Add '|| true' to validate_dockerignore()

* Update airbyte-cdk/python/README.md

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

Co-authored-by: Sherif A. Nada <snadalive@gmail.com>
2022-12-05 17:52:35 -05:00
Jonathan Pearlin
201df24f4d Enable PMD rule to prevent == string comparisons (#20080) 2022-12-05 12:54:36 -05:00
Evan Tahler
ea58882fa3 Fix affected connectors (#19865)
* source-appsflyer

* source-cart

* source-chargebee

* source-lemlist

* source-linnworks

* source-mailgun

* source-pardot

* source-plaid

* source-prestashop

* source-quickbooks-singer

* source-recharge

* source-tplcentral

* remove icons that aren't real

* Remove TODOs

* add missing specs

* Update docs/integrations/sources/primetric.md

Co-authored-by: Ella Rohm-Ensing <erohmensing@gmail.com>

* bump readmes

* revert ci_check_deps logic

* New name

Co-authored-by: Ella Rohm-Ensing <erohmensing@gmail.com>
2022-11-30 09:51:21 -08:00
Sofiia Zaitseva
d16f673c87 🪟 🚥 Add tests for verify sync mode options (#16549)
add tests for checking sync mode options
2022-11-30 12:03:23 +02:00
Anne
f07cef808d Disable broken connections when feature flag is on (#19730)
When auto-detect schema changes feature flag is on, disable connections that have breaking schema changes and connections that have any schema changes where the user has set their preference to disable.
2022-11-29 12:20:26 -08:00
Augustin
8d4886ad12 connector-ops ci check: handle missing definitions (#19873) 2022-11-29 14:51:51 +01:00
Anne
8287362247 Add schema change attrs to connection create (#19771)
* Add schema change attrs to connection create
2022-11-28 16:53:19 -08:00
Kyryl Skobylko
d663f5a82f fix: Fix Helm Acceptance Tests (#19483) 2022-11-18 19:11:32 +02:00