1
0
mirror of synced 2025-12-20 18:39:31 -05:00
Commit Graph

851 Commits

Author SHA1 Message Date
Augustin
00c3a3fd7d airbyte-ci: improve metadata validation perfs (#25107) 2023-04-12 17:48:52 +02:00
Augustin
1e059c40c1 airbyte-ci: add missing init file for pipelines subpackage (#25106) 2023-04-12 04:31:25 -05:00
Augustin
8c32b9b205 connectors-ci: add missing init files (#25102) 2023-04-12 03:39:35 -05:00
Augustin
74268b434e connectors-ci: test java connectors (#24225) 2023-04-12 10:03:27 +02:00
Pedro S. Lopez
9bf183a439 feat: publish pre-release versions of connectors (#24884)
* [wip] prerelease version publishing

* fix typo

* dont update latest tag

* pass pre-release flag

* typo

* Update publish-command.yml
2023-04-10 20:16:46 +00:00
Ben Church
8da6c4ae49 Add validate metadata step to CICD with Dagger (#24840)
* Add begining of command

* Add invalid metadata file

* Add begining of pipx

* DNC

* Get pipx working

* Add env var fix

* Fix the stupid path issue

* Include all connectors

* add new command structure

* properly handle directory vs filepath

* Back to my roots of using a step

* install module in base pipeline

* Multi step

* Move concurrent run to util

* Add actions

* Run black

* Remove metadata files

* Remove logs

* Fix typo

* Add metadata test files

* Address pr comments

* Address pr comments

* Run black

* Use path read contents

* Remove metadata files

* Run black and flake
2023-04-06 16:25:39 -07:00
Ben Church
a3bb44fe0d Add CICD test for orchestrator using Dagger (#24816)
* Refactor poetry for multiple poetry packages

* add with packages

* Change poetry base to debian

* Add github action

* Add pipelien command decorator

* Fix action

* Add pipeline click command class

* Use directory as param type

* Bump version

* Debug

* Bring the editable flag back
2023-04-06 16:03:41 -07:00
Rodi Reich Zilberman
0bab1756b8 Rename airbyte-config module (#24885)
* rename airbyte-config module

* Automated Commit - Formatting Changes

* sanity

* update import

* update import

* update script

* update script

* update script

* update script

* Automated Change

* Automated Change

* Automated Change

* Automated Change

* update awsdatalake icon

* point slash commands to new path

* sanity

* Automated Commit - Formatting Changes

* sanity

* Automated Change

* Automated Change

* sanity

---------

Co-authored-by: rodireich <rodireich@users.noreply.github.com>
2023-04-06 10:47:30 -07:00
Evan Tahler
41a5058a3e --scan when building and testing connectors as part of /publish (#24919) 2023-04-05 20:14:14 +00:00
Ben Church
082303a14f Add ci/cd support for metadata unit tests with Dagger (#24649)
* Update install script

* Add skelton

* Run metadata unit tests

* Move poetry set up to environment

* Set up poetry caching

* Add top level airbyte-ci command

* Move connectors_ci under airbyte_pipeline command

* Update command usage

* Add pipeline context

* Properly handle exit codes

* Check for changed metadata lib paths

* Run black and flake

* Update environment to use context

* Add workflow

* Get rid of log name

* Add github action

* Add workflow dispatch

* Apply suggestions from code review

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

* rename airbyte_ci_pipeline to airbyte_ci

* Update lib

* Add cicontext enum, safe logging, move call to super.__init__

* Run black

* Refactor to use test

* Move test logic into pipeline

* Add reporting back

* Rename commands

* Move metadata run to pipeline

* Move connectors run to pipeline

* Run black

* Increase connector ops version

* Clear pip

* Different uninstall command

* omit git

* Silly shot in the dark -e

---------

Co-authored-by: Augustin <augustin@airbyte.io>
2023-04-03 15:37:50 -07:00
Rodi Reich Zilberman
0a38d4e1ca Source connector performance harness (#23786)
* remove arguments

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* Source Performance harness (#23922)

* test

* initial commit

* Working dev

* src-platform-dst

* Integrate secrets

* Update .dockerignore

* Update build.gradle

* Update base.sh

* Build harness module and use it to measure

* Build harness module and use it to measure

* Build harness module and use it to measure

* Automated Change

* Integrate secrets

* Integrate secrets

* Integrate secrets

* Integrate secrets

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* test

* Automated Change

* test

* Automated Change

* better error handling

* temp

* Automated Change

* use connector image name

* use connector image name

* use connector image name

* use connector image name

* use connector image name

* use connector image name

* use connector image name

* use connector image name

* add test name argument

* add test name argument

* add test name argument

* add test name argument

* add test name argument

* add test name argument

* Automated Change

* add bottleneck_stream1 dataset

* Automated Change

* fix dependency

* fix dependency

* test downgrade of commons to 41.1

* Automated Change

* test downgrade of commons to 41.0

* test

* test

* test

* test

* test

* exit condition

* exit condition

* exit condition

* test

* test

* test

* test

* test

* test

* sanity

* readme

* change command name

* update gradle settings

* sanity

* architecture aware docker build

* sanity

* put run harness step in a script

* sanity

* sanity

---------

Co-authored-by: rodireich <rodireich@users.noreply.github.com>
2023-03-30 10:26:31 -07:00
Augustin
62111b81c0 connectors-ci: update dagger questions (#24089) 2023-03-29 14:13:12 -05:00
Augustin
fdce7242ad qa-engine: exhaustive list of inappropriate for cloud use connectors (#24628) 2023-03-29 17:20:14 +02:00
Conor
223bfffb0c enable dagger cloud (#24602)
* enable dagger cloud

* fix typo

* update pr build
2023-03-28 13:37:14 -05:00
Augustin
7b1930ae13 connectors-ci: better handle unexpected failures (#24569) 2023-03-28 07:48:58 +00:00
Augustin
d4d348a79a qa-engine: flag destination-tidb as inappropriate for cloud use (#24627)
* qa-engine: flag destination-tidb as inappropriate for cloud use

* qa-engine: flag destination-tidb as inappropriate for cloud use
2023-03-28 02:45:11 -05:00
Serhii Lazebnyi
97ba93ce4c 🎉 Compare versions tool (#24421)
* Add compare version tool

* Delete empty line

* Updated script to sync with state and add doc to README.md

* Add STATE to filter and move pull during run
2023-03-28 00:26:41 +02:00
Ella Rohm-Ensing
9cfc647fa5 Ella/fail on extra fields (#23985)
* Pass argument along, add test that should pass and test that should fail

* Add tests with additionalProperties

* Set additionalproperties=false when not set|

* Parametrize test cases

* Make the behavior 'optional'

* Fix parametrization for all combinations

* Improve CI credentials README and rename param

* Update naming to be clearer about columns only

* record_has_unexpected_field > record_has_unexpected_column

* Automated Change

* Add bypass for beta + ga connectors that failed

* Update docs and TODOs

* Update changelog and dockerfile

* Update TODO

* Update a few neglected connectors

* Remove uploaded file

* Update dockerfile after merge conflict

---------

Co-authored-by: marcosmarxm <marcosmarxm@users.noreply.github.com>
2023-03-23 22:22:44 +00:00
Augustin
810f9e9af5 connectors-ci: setup nightly builds (#24335)
* connectors-ci: only send commit status on PR

* increase timeout

* try semaphore

* disable qa check code format for testing semaphore

* fix typo and change semaphore

* disable acceptance tests

* use semaphore

* restore ga builds

* use CacheSharingMode.SHARED, renable acceptance tests, semaphore of 5

* expose concurrency as a CLI option, set it to 10 on the workflow

* clean

* use xlarge runner

* // 15

* declare inputs

* better job naming

* better job naming

* use run-name

* use run-name
2023-03-23 13:30:58 -05:00
Edward Gao
9b7b30f92b Normalization: Use strict > comparison in incremental mode (#22381)
* copy tests from other branch

* switch to >

* [wip] wire up tests

* make tests work

* fixes

* nicer test structure

* maybe add feature flag?

* pattern matching

* also add version check

* formatting

* refactor test also

* extract test + fix method call

* minor tweaks

* add context to log message

* put workspace id in normalization input

* use non-semver tag

* add flag for version of normalization

* also flag old version

* add test

* missed part of the commit

* format

* add test for null workspace ID

* Revert "also flag old version"

This reverts commit 3be601d16c.

* Revert "missed part of the commit"

This reverts commit 47a67b4631.

* always apply flag, even if we're behind a version

* derp

* Add more logging to the normalization activity

* Update charts and kustomize for the feature flag

* fix clickhouse integration test

* remove replace_identifiers

* Revert "remove replace_identifiers"

This reverts commit 0e7ded5a7b.

* fix replace_identifiers

* garbage debug logs

* stop trying to setup duckdb test

* wake up and choose violence

* fix mssql

* exclude duckdb from tests

* make snowflake happy

* uncomment tests

* derp

* derpderp

* format

* format

* also fix redshift???

* maybe now everything works???

* remove debug logs

* use special docker tag

* bump to new tag

* use random test schema in publish also

* properly cleanup

* remove feature flag stuff

* version bump + changelog

* Automated Commit - Formatting Changes

* bump definitions

---------

Co-authored-by: Jimmy Ma <gosusnp@users.noreply.github.com>
Co-authored-by: Jimmy Ma <jimmy@airbyte.io>
Co-authored-by: octavia-squidington-iii <octavia-bot@airbyte.io>
Co-authored-by: edgao <edgao@users.noreply.github.com>
2023-03-23 09:37:15 -07:00
Ella Rohm-Ensing
8f65d61b6c ci_credentials: fix overwriting 'data' before getting nextPageToken (#24265)
* ci_credentials: fix overwriting 'data' before getting nextPageToken

* Updates to readme
2023-03-21 15:45:25 -04:00
Evan Tahler
7538437452 Fixup dead links (#24167) 2023-03-16 22:42:30 +01:00
Augustin
b33f424181 connectors-ci: fix secrets upload to GSM (#24136) 2023-03-16 04:45:43 -05:00
Augustin
5d8f231b80 connectors-ci: fix typo in observability report (#24132) 2023-03-16 02:15:37 -05:00
Augustin
26c3151279 connectors-ci: improve concurrency and implement correct DAG logic (#23967) 2023-03-15 10:47:21 +00:00
Augustin
507845cf37 connectors-ci: make /test and dagger pipeline write report in a common way for observability (#24050) 2023-03-15 10:44:56 +01:00
Evan Tahler
a17da15e47 Add a note about publishing with dockerx (#24057) 2023-03-14 09:21:33 -07:00
Augustin
e4f96d4663 ci_connector_ops: POC of CI connector pipelines in python (#23487) 2023-03-10 18:45:08 +00:00
Topher Lubaway
3c23ec281f Force push docs to the gh_pages branch (#23877)
* Force push docs to the gh_pages branch

* adds proper checkout, no topher's local version
2023-03-08 12:22:32 -06:00
Ella Rohm-Ensing
bac0224e9e Add connector ops' required review when changing bypass_reasons on GA connectors (#23740)
* Add instructions to install reqs and run tests locally

* add passing tests with old behavior

* Make it like test strictness level

* Remove expected teams from non-tracked change test since they are not asserted against

* Make changed GA connector list object same object format as regex checker to be able to compare them. Fix tests

* Refactor and align naming

* Update all find methods to return Connector objects

* Bump setup.py
2023-03-06 16:59:56 -05:00
Augustin
c03909a977 qa-engine: exclude destination weviate and exasol (#23731) 2023-03-03 12:26:24 -08:00
Topher Lubaway
d2fbd8ce02 Docusaurus small fixes (#23730)
* Updates docusaurus

* Small docs fixes

deploy_docusaurus info messages are changed to
reflect reality

updates a secret to exist

* Go back to the right branch after deploy
2023-03-03 12:44:00 -06:00
Tim Roes
b3b3cd8a81 Cleanup some webapp reminders (#23586) 2023-03-01 15:49:15 +01:00
Catherine Noll
d4ec2d952e Update /test to optionally test against the local CDK (#23434) 2023-02-28 11:53:51 -05:00
Evan Tahler
5e1b90f3c1 QA Checks for strict-encrypt connectors should use regular variants (#23458)
* QA Checks for strict-encrypt connectors should use regular variants

* endswith seems better

* bump version
2023-02-27 17:02:13 +00:00
Charles
f83ef9eea7 Remove workers (#23422) 2023-02-24 17:45:44 -08:00
Tim Chan
c66eeff861 update release pipeline to build platform from airbyte-platform (#23323)
dev runs of this pr can be found here: https://github.com/airbytehq/airbyte/actions/workflows/release-airbyte-os.yml

I've tested the `create_release` step for both `airbyte` and `airbyte-platform`.
What I haven't tested are:
- publishing docker images step for airbyte-platform
- the auto commit steps for both.

What also should be noted: the artifacts from the `run-ab-platform.sh` script need to be commited into the repo for them to be included in the release.
2023-02-23 19:04:54 -06:00
Augustin
c55a81bbcb cloud-availability-updater: batch connector deployment (#23120) 2023-02-21 22:25:06 +01:00
Conor
7953c45a09 delete platform code and workflows (#23214)
* delete platform code and workflows

* delete more platform workflows

* sunset kustomize (#23187)

* sunset kustomize

* remove build steps that use kustomize

* remove k8s kustomize gke-kube-acceptance-tests

* delete docker-compose files

* remove platform from check_images_exist.sh

* Working replacement script for docker

* rename start script and add download files to gitignore

* add args and download only option

* integration test downloads docker compose files

* remove helm charts

* remove more platform files

* add flags.yml

* use version from gradle.properties instead of .env

* Working replacement script for docker (#23227)

* Working replacement script for docker

* Working debugging line

* rename start script and add download files to gitignore

* add args and download only option

* Made flags cleaner and more cleanup

i've never used this flag pattern, its much
easier than my usual way

* warn about a sharp edge

* Don't run when we don't know a command

* better help spacing

* add flags.yml

---------

Co-authored-by: cpdeethree <conor@airbyte.io>
Co-authored-by: Conor <cpdeethree@users.noreply.github.com>

* remove more-secrets env

---------

Co-authored-by: Charles <charles@airbyte.io>
Co-authored-by: Topher Lubaway <asimplechris@gmail.com>
2023-02-19 09:42:08 -06:00
Charles
2dc839acb8 sunset kustomize (#23187)
* sunset kustomize

* remove build steps that use kustomize

* remove k8s kustomize gke-kube-acceptance-tests
2023-02-17 09:31:47 -08:00
Maxime Carbonneau-Leclerc
5dc202d0e1 [ISSUE #22693] adding documentation regarding GCP Service Accounts creation (#23100) 2023-02-16 07:09:45 -06:00
Augustin
961341287a cloud-availability-updater: enable it (#22998)
* cloud-availability-updater: enable it

* cloud-availability-updater: enable it

* cloud-availability-updater: enable it

* cloud-availability-updater: enable it

* cloud-availability-updater: enable it

* cloud-availability-updater: enable it

* cloud-availability-updater: enable it

* cloud-availability-updater: enable it

* cloud-availability-updater: enable it

* cloud-availability-updater: enable it

* cloud-availability-updater: enable it
2023-02-15 12:58:45 -06:00
Augustin
19322e92ec QA checks: Validate the connector code does not contain http:// URL (#22854)
* tools changes only

* normalize line to lower

* improve url prefix ignore

* more robust tests

* ignore acceptance_tests_logs

* qa-checks: validate the connector code does not contain http:// urls

* qa-checks: validate the connector code does not contain http:// urls
2023-02-14 03:33:02 -06:00
Augustin
9e8035c77c QA-Engine: Persist daily reports to GCS (#22662) 2023-02-09 19:20:57 +00:00
Tim Roes
fd6497c129 Create scans of gradle builds (#22583) 2023-02-09 13:34:21 +01:00
Augustin
d91838567c cloud availability updater: automatic PR creation (#22568) 2023-02-08 22:12:58 +00:00
Cole Snodgrass
2e099acc52 update headers from 2022 -> 2023 (#22594)
* It's 2023!

* 2022 -> 2023

---------

Co-authored-by: evantahler <evan@airbyte.io>
2023-02-08 13:01:16 -08:00
Ben Church
35ea6e9cf7 Enable qa-checks in test-command (#22184) 2023-02-07 09:08:48 -08:00
Ben Church
3e010bd65c Update the example schema-generator path to the new airbyte-integrations (#21835) 2023-02-06 10:11:19 -08:00
Joe Reuter
6a10ae3e05 Rename source acceptance test to connector acceptance test (#21846)
Rename source acceptance test to connector acceptance test
2023-02-02 11:38:19 +01:00