Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Airbyte CDK: move from gradle to poetry #36250

Merged
merged 57 commits into from
Mar 25, 2024

Conversation

erohmensing
Copy link
Contributor

@erohmensing erohmensing commented Mar 18, 2024

What

  • Migrate from Gradle to Poetry for airbyte-cdk build
  • Remove all gradle-related files
  • Remove java installation from CI pipelines and replace with installing poetry
  • Move setup.py implementation to poetry
  • Move high-usage scrips to poetry poe tasks:
    • Testing, linting, building (generator scripts)
    • There is a separate PR to handle the mypy implementation since it has its own CI workflow and is more complicated with the changed files
  • Remove unused scripts:
    • low-code-unit-test.sh
    • validate-yaml-schema.sh
  • Update docs to stop referencing gradle: ⚠️ I did my best here. A lot of these docs are severely out of date and deserve a separate thorough lookover. TODO: create an issue enumerating docs that should be re looked over

Copy link

vercel bot commented Mar 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Visit Preview Mar 25, 2024 11:34pm

Copy link
Contributor Author

erohmensing commented Mar 18, 2024

@octavia-squidington-iii octavia-squidington-iii added the CDK Connector Development Kit label Mar 18, 2024
@erohmensing erohmensing changed the title move assemble tasks out of gradle into a shell script Airbyte CDK: move from gradle to poetry Mar 18, 2024
@erohmensing
Copy link
Contributor Author

Not quite ready, marking RFR for tests to run

@CLAassistant
Copy link

CLAassistant commented Mar 25, 2024

CLA assistant check
All committers have signed the CLA.

@erohmensing erohmensing force-pushed the ella/cdk-gradle-to-poetry branch from dceee45 to 5d1ce5f Compare March 25, 2024 20:42
@erohmensing erohmensing changed the base branch from ella/aws-runners to master March 25, 2024 21:06
@erohmensing erohmensing force-pushed the ella/cdk-gradle-to-poetry branch from 0ff3dd1 to 1f7b851 Compare March 25, 2024 21:08
@erohmensing
Copy link
Contributor Author

@alafanechere

I'm not sure I get how you replaced low-code-unit-tests and validate-yaml-schema scripts.

I 🪓 them with Brian Lai's permission! Better Pr description should help here.

Totally get rid of bash scripts
Make the build poe task produce all the artifacts required for a pypi publication.
Document the build poe task

Agreed. I think our current publish via github action doesn't need the artifacts (well, i'm about to find out!) but as we move to airbyte ci, this makes sense. In the meantime before fleshed out docs, I added help info to all of the poe tasks.

@erohmensing erohmensing force-pushed the ella/cdk-gradle-to-poetry branch from d233044 to f2d7e97 Compare March 25, 2024 22:59
@erohmensing erohmensing force-pushed the ella/cdk-gradle-to-poetry branch from f2d7e97 to 18e4d75 Compare March 25, 2024 23:31
@erohmensing
Copy link
Contributor Author

/approve-and-merge reason="Formatting check can't find the changed files, probably due to the weird stacking-unstacking history of this branch. Formatting succeeds locally on the latest airbyte CI version."

@octavia-approvington
Copy link
Contributor

A job well done
nice job

@octavia-approvington octavia-approvington merged commit 195408e into master Mar 25, 2024
26 of 27 checks passed
@octavia-approvington octavia-approvington deleted the ella/cdk-gradle-to-poetry branch March 25, 2024 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/documentation Improvements or additions to documentation CDK Connector Development Kit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants