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

source-greenhouse: ensure inline schemas, updated cdk, poetry (where possible) #36640

Merged
merged 8 commits into from
Apr 23, 2024

Conversation

bleonard
Copy link
Contributor

@bleonard bleonard commented Mar 29, 2024

This was created from a set of automated scripts. In each case, not every update was needed for every connector, but overall here is what happened:

  • auto-schema update -s all description: added descriptions to json and inline schemas
  • connector-code migrate_to_yaml -c all --type source: migrates json schemas to connectors with a manifest
  • airbyte-ci connectors --name=<all modified connectors from above> migrate_to_base_image: makes sure that each is using a base docker image and updates docs
  • airbyte-ci connectors --name=<all modified connectors from above> migrate-to-poetry: moves connectors not already using poetry to do so and updates documentation
  • airbyte-ci connectors --name=<all modified connectors from above> up_to_date: updated the CDK to newer (0.80.0) version

The version number and changelogs were also bumped using the connector-code pulls command.

Copy link

vercel bot commented Mar 29, 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 Apr 20, 2024 8:28pm

@bleonard bleonard changed the title source-greenhouse: schema descriptions source-greenhouse: ensure inline schemas, updated cdk, poetry (where possible) Apr 20, 2024
@@ -10,7 +10,7 @@ data:
connectorSubtype: api
connectorType: source
definitionId: 59f1e50a-331f-4f09-b3e8-2e8d4d355f44
dockerImageTag: 0.5.1
dockerImageTag: 0.5.3
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a reason to bump two versions? Why not go to 0.5.2?

@octavia-squidington-iv octavia-squidington-iv requested a review from a team April 22, 2024 20:36
@@ -83,38 +78,760 @@ definitions:
class_name: source_greenhouse.components.GreenHouseSlicer
request_cursor_field: "created_after"
cursor_field: "applied_at"
schema_loader:
type: InlineSchemaLoader
schema:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

noting the schema definitions will be extracted in their own block the first time the connector is edited with the builder. Not something to block on, but it would be nice to have a script that formats the manifest exactly how the builder likes it.

CC @lmossman

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy to work on that for future migrations. Have an example?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@octavia-squidington-iv octavia-squidington-iv requested a review from a team April 22, 2024 20:40
@@ -71,6 +71,8 @@ The Greenhouse connector should not run into Greenhouse API limitations under no

| Version | Date | Pull Request | Subject |
|:--------|:-----------|:---------------------------------------------------------|:----------------------------------------------------------------------------------|
| 0.5.3 | 2024-04-19 | [36640](https://github.com/airbytehq/airbyte/pull/36640) | Updating to 0.80.0 CDK |
| 0.5.2 | 2024-04-12 | [36640](https://github.com/airbytehq/airbyte/pull/36640) | schema descriptions |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: do we need to mark that this version isn't actually released?

@girarda girarda merged commit 28c99b6 into master Apr 23, 2024
41 checks passed
@girarda girarda deleted the autopull/schema-descriptions-d2a8da/source-greenhouse branch April 23, 2024 22:50
strosek pushed a commit that referenced this pull request Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/connectors Connector related issues area/documentation Improvements or additions to documentation autopull connectors/source/greenhouse
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants