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-ci: relax docs qa checks when sl == 0 #45360

Merged
merged 3 commits into from
Sep 10, 2024

Conversation

postamar
Copy link
Contributor

@postamar postamar commented Sep 10, 2024

What

When developing new connectors, the QA checks related to documentation are annoying. For instance, there's no point in maintaining a changelog and being forced to adds needless friction.

How

Allow 0 sl values in AirbyteInternal objects in metadata.yaml. For good measure, allow 0 ql values also. Make docs checks applicable only to sl >= 100. 100 is the default sl value anyway so this shouldn't break anything.

Depends on #45361

Review guide

Commit by commit

User Impact

None

Can this PR be safely reverted and rolled back?

  • YES 💚
  • NO ❌

Copy link

vercel bot commented Sep 10, 2024

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

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Visit Preview Sep 10, 2024 2:49pm

@octavia-squidington-iii octavia-squidington-iii added the area/documentation Improvements or additions to documentation label Sep 10, 2024
@postamar postamar force-pushed the postamar/sl-0-relaxes-doc-checks branch from 58495bd to e656cd7 Compare September 10, 2024 14:39
@postamar postamar changed the base branch from master to postamar/bump-gha-version September 10, 2024 14:40
@postamar postamar marked this pull request as ready for review September 10, 2024 14:43
@postamar postamar requested a review from a team as a code owner September 10, 2024 14:43
Base automatically changed from postamar/bump-gha-version to master September 10, 2024 14:47
@postamar postamar force-pushed the postamar/sl-0-relaxes-doc-checks branch from e656cd7 to e30bdce Compare September 10, 2024 14:48
== f"The dockerImageTag value ({decremented_version}) can't be decremented: it should be equal to or above {current_version}."
)
expected_prefix = f"The dockerImageTag value ({decremented_version}) can't be decremented: it should be equal to or above"
assert error_message.startswith(expected_prefix), error_message
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The test expects current_version to be patch version 11 instead of 13 and currently fails in master also. I looked into how it gets the current version, it reads it off dockerhub. Changing the assertion seemed more reasonable to me.

Copy link
Contributor

@alafanechere alafanechere left a comment

Choose a reason for hiding this comment

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

Nice! LGTM

@postamar
Copy link
Contributor Author

Thanks! #45341 is happy with these changes so I'm confident they work as expected.

@postamar postamar enabled auto-merge (squash) September 10, 2024 15:06
@postamar postamar merged commit b2e63f2 into master Sep 10, 2024
39 checks passed
@postamar postamar deleted the postamar/sl-0-relaxes-doc-checks branch September 10, 2024 15:13
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants