1
0
mirror of synced 2025-12-31 15:03:11 -05:00
Commit Graph

471 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
Topher Lubaway
5e1f968751 Adds zombie removal tool (#13718)
* Adds zombie removal tool

* Corrects endpoint adds comments

* Adds API links

* Changes search logic, fixes escape character

* Corrects help text
2022-06-13 13:28:32 -05: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
Lake Mossman
80b86d322a Update Releasing a new version section of readme (#13671) 2022-06-10 11:20:16 -07:00
Denis Davydov
20bd923c63 fix source-acceptance-test build (#13485) 2022-06-10 10:11:49 +03:00
lmossman
2610ffcefc rename automated release creation action to be less similar to the existing Release OSS Airbyte action 2022-06-08 09:23:00 -07:00
Lake Mossman
527e391c16 add Release Airbyte action and update version bump PR description (#13584) 2022-06-08 09:09:28 -07:00
Sherif Nada
b763bdf4ab Revert "add github workflows for publishing ERDs"
This reverts commit c7a23c680b.
2022-06-08 03:32:56 -07:00
Sherif Nada
c7a23c680b add github workflows for publishing ERDs 2022-06-07 22:42:13 -07:00
Davin Chia
40cb78e5c7 Fix the acceptance tests. (#13501)
We've seen errors like:
- https://github.com/airbytehq/airbyte/runs/6758654948?check_suite_focus=true#step:11:52833 - from trying to list bootloader logs. This is no longer possible since we remove the bootloader pod.
- https://github.com/airbytehq/airbyte/runs/6746572522?check_suite_focus=true#step:11:52164 - errors while tearing down the test.

I will do a follow up PR to refactor tests to hopefully speed things up:
- split Kube from normal tests.
- explore not recreating the db on each time.

In the mean time, this should stabilise the tests and get us back to green build.
2022-06-07 02:38:19 +08:00
Lake Mossman
da22f0320a remove scheduler/app from publish_docker.sh (#13507) 2022-06-06 11:34:08 -07:00
Lake Mossman
73034c64da Sweep old scheduler code (#13400)
* sweep all scheduler application code and new-scheduler conditional logic

* remove airbyte-scheduler from deployments and docs

* format

* remove 'v2' from github actions

* add back scheduler in delete deployment command

* remove scheduler parameters from helm chart values

* add back job cleaner + test and add comment

* remove now-unused env vars from code and docs

* format

* remove feature flags from web backend connection handler as it is no longer needed

* remove feature flags from config api as it is now longer needed

* remove feature flags input from config api test

* format + shorter url

* remove scheduler parameters from helm chart readme
2022-06-06 10:49:17 -07:00
Davin Chia
adc590e385 Update publishing scripts after renaming dirs. (#13486)
* Update dockerfile to match.

* Update publishing script to match.
2022-06-06 18:11:02 +08:00
Davin Chia
eb99f47746 Fat Jar: Rename Dir Part 2 (#13478)
## What
Part 2 of https://github.com/airbytehq/airbyte/pull/13122.

Follow up to #13476 .

Explanation for what is happening:

Identically named subprojects have the following issues:

* publishing as is leads to classpath confusion when the jars with the same names are placed in the Java distribution. This leads to NoClassDefFound errors on runtime.
* deconflicting the jar names without changing directory names leads to dependency errors as the OSS jar pom files are generated using project dependencies (suggesting a dependency a sibling subproject in the same repo) that use subprojects group and name as a reference. This means the generated jars look for Jars that do not exists (as their names have been changed) and cannot compile.
* the workaround to changing a subproject's name involves resetting the subproject's name in the settings.gradle and depending on the new name in each build.gradle. This increases configuration burden and decreases the ease of reading, since one will have to check the settings.gradle to know what the right subproject name is. See https://github.com/gradle/gradle/issues/847 for more info.
* given that Gradle itself doesn't have support for identically named subprojects (see the linked issue), the simplest solution is to not allow duplicated directories. I've only renamed conflicting directories here to keep things simple. I will create a follow up issues to enforce non-identical subproject names in our builds.

* Rename airbyte-config:models to airbyte-config:config-models.
* Rename airbyte-config:persistence to airbyte-config:config-persistence.
2022-06-06 02:21:54 +08:00
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
Brian Leonard
9b525b5959 Mask certain keys from GitHub output (#13242)
* Mask certain keys from GitHub output

* add more mask keys

* Read the cwd

* also handle json strings as values

* Test value

* Log at beginning of line

* Testing logs

* Use real mask values

* Handle multiple lines
2022-05-31 15:25:13 -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
Sherif A. Nada
981dc655ee include SAT and normalization in build reports (#13216)
* include SAT and normalization in build reports

* uncomment
2022-05-25 19:47:29 -07:00
Evan Tahler
be8d8574f2 Remove M1-specific docs - Airbyte works on M1 Macs now (#11856) 2022-05-24 16:46:26 -07:00
Anne
ab070a7724 Apply pmd to airbyte-config (#13003)
* Apply pmd to airbyte-config, exclude rules for now
2022-05-24 10:58:51 -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
Brian Leonard
4d3e0418a4 Java integration test update (#13113)
* Get more java error messages

* Bolder result

* Debug file contents

* Just give an output message
2022-05-23 15:36:53 -07:00
Brian Leonard
e82e6fc0a2 Show integration test results on the Action Summary (#13072)
* Show summary on action results for failed test

* Write title and steps to log

* Log test

* Remove debugging

* Support python and java output

* Extra line break
2022-05-23 11:23:18 -07:00
Davin Chia
bdbd68f9bb Remove old test scripts. (#13014)
No longer needed since we removed the old scheduler.
2022-05-19 22:51:57 +08:00
Topher Lubaway
2c690f2144 More helpful error message for detected changes (#12956)
* More helpful error message for detected changes

* Wrote the check backwards

* more clear errors

* Newline cinema
2022-05-18 09:01:18 -05:00
Lake Mossman
a82f41edcf Acceptance test scripts - kill containers using volumes on shutdown (#12887)
* kill containers using volumes on shutdown in acceptance test scripts

* apply change to octavia integration tests as well

* escape inner command to make it be executed at the right time
2022-05-16 17:09:46 -07:00
Sherif A. Nada
7ec7ba33e0 continue sending connector build reports (#12879) 2022-05-16 10:41:37 -07:00
a-honcharenko
852528533d Fix naming in script (#12786)
* Artifact naming fix

* Indent properly
2022-05-11 22:20:27 +03:00
a-honcharenko
7b43e39219 Added init exception to script (#12783) 2022-05-12 02:17:54 +08:00
a-honcharenko
570770c10b A honcharenko/multiarch build 801 (#12570)
* added multiarch image publishing/modified dockerfiles

* added new ami

* changed version to test

* rollback version

* check version test

* env vars temp fix

* apt-utils error fix

* disabled failed test

* remove excluded tests

* Excluded :airbyte-db:lib:test

* Excluded :airbyte-db:lib:test

* static jdk version for test

* ok test

* ok test

* ok test

* test vars

* quemu issue fix

* Returned version vars

* Scripts update

* Version vars change

* Comment fix

* Added comments, minor changes and comments in dockerfiles

* Uncomment line to push images
2022-05-11 20:07:13 +03:00
Sherif A. Nada
fa22d32e14 Filter daily build report to only GA & Beta connectors (#12684) 2022-05-06 16:41:38 -07:00
Topher Lubaway
2119f4d3a2 docs deploy command works in more cases (#12622)
if the user has more than one page of branches
they will be prompted in less
this fixes that
2022-05-05 15:18:39 -05:00
Topher Lubaway
fced083be5 Comments and aids to help future devs build OSS (#12571) 2022-05-05 07:26:31 -05:00
Topher Lubaway
cc24c5dda3 Adds error message for missing homebrew (#12547)
tested by Brian locally
2022-05-04 09:05:28 -05: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
Topher Lubaway
1413aca478 Toph deploy docs ssh repo check (#12323)
* Check for ssh github repo

because assumptions mostly.
more clear fail messages for an unsupported workflow
also removes the pipeline which now is redundant with local workflow

* WIP1

* working test

* More clear git test

* less weird characters for grep

* remove verbose for excho
2022-04-27 10:26:35 -05:00
Topher Lubaway
f065d361b1 Toph docs pipeline fixes bugs n gitbook (#12114)
* WIP

* WIP2

* WIP3

* Remove comment/better comments

* Remote deployment updates

* Adds GH user for yarn deploy

* WIP 6

* WIP7

* WIP8

* WIP 10

* Working easy from home

not so much in the cloud
2022-04-19 14:49:04 -05:00
Topher Lubaway
e615b2faaa Addreses another docs build error (#12084)
* Addreses another docs build error

* Remove two typos

* Adds a test pattern

* Another stab

* More test

* Removing pipeline until more testing

docusaurus deploy isn't into automation
2022-04-15 15:37:51 -05:00
Topher Lubaway
d6b6e4b065 Addressing docusaurus deploy (#12083)
error is unclear and only happens in cloud
2022-04-15 14:43:13 -05:00
Topher Lubaway
ff7b2eecf5 Specifies a git user to address build error (#12082)
error:
[INFO] Deploy command invoked...
Error:  Error: Please set the GIT_USER environment variable,
or explicitly specify USE_SSH instead!
2022-04-15 14:16:32 -05:00
Topher Lubaway
8f6acc72be Cloud's version of which doesn't support -s (#12080)
so we removed -s and sent the output to the dark place
2022-04-15 14:02:16 -05:00
Topher Lubaway
6dd1daf6a0 Toph docs deployment workflow (#11991)
* Adds deploy docusaurus command

(won't work yet. commit for testing)

not force pushing

* Adds GH token workflow for GH actions

* Small comment changes

* Adds branch name to push

* adds gh switch

* Commit for clear dir for testing

* Addresses comments by adding comments
2022-04-15 13:32:55 -05:00
Parker Mossman
197806102e make sure VERSION is up to date after bumpversion (#11945) 2022-04-12 15:36:43 -07:00
Brian Leonard
c302af45ff Upgrade to Python 3.9 (#11763)
* Dockerfile to 3.9

* Python version

* More python updates

* 3.9 on GitHub actions and lint updates

* Test out 3.9.11 on GitHub actions

* install python with an action

* formatting: newline

* Also has python code

* only check first level for changed modules
Previous example (source-google-search-console/credentials)

* Test failure: there is no logger.trace
2022-04-11 20:51:37 -07:00
Alexandre Girard
266f05cecd Add script to setup venv for a connector (#11699)
* Add script to setup venv for a connector

* new line

* echo

* Add missing requirements file

* Add script to add venvs to intellij

* script to install venv

* Update

* This should be easier to use

* Better default

* Add unit tests

* add install venv option flag

* remove references to my own own home directory

* Call tools/bin/setup_connector_venv.sh

* Skip module if it already exists in the jdk table

* update

* Set right test name

* better interface

* update

* rename flag

* move to a function

* fix variable name

* derp

* Use real path

* Update setup instructions

* update instructions

* Instructions to both install the venv and update intellij

* update link

* Add command to install venv for all connectors

* <>

* newline
2022-04-08 17:18:14 -07:00