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

fix running connector-ops package tests via airbyte-ci #31478

Merged
merged 9 commits into from
Oct 16, 2023

Conversation

pedroslopez
Copy link
Contributor

@pedroslopez pedroslopez commented Oct 16, 2023

What

airbyte-ci tests for connector-ops package are failing in CI - this PR fixes this.

How

  1. Fix issue with running git commands in the test:
  • Add fetch-depth: 0 to pull all history
  • Set ref to the PR head to avoid a detached head and allow the commands to work correctly
  1. Fix issue with files missing when running test:
  • Add docs and .github dirs to the mounted test container. These are required to validate that docs exist, and that required reviewers file is written, respectively.

@vercel
Copy link

vercel bot commented Oct 16, 2023

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 Oct 16, 2023 10:45pm

Copy link
Contributor Author

pedroslopez commented Oct 16, 2023

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@pedroslopez pedroslopez changed the title fix airbyte ci tests fix airbyte ci connector-ops tests Oct 16, 2023
@pedroslopez pedroslopez changed the title fix airbyte ci connector-ops tests fix airbyte ci connector-ops package tests Oct 16, 2023
@pedroslopez pedroslopez changed the title fix airbyte ci connector-ops package tests fix running connector-ops package tests via airbyte-ci Oct 16, 2023
@pedroslopez pedroslopez marked this pull request as ready for review October 16, 2023 22:39
@pedroslopez pedroslopez requested a review from a team October 16, 2023 22:40
@pedroslopez pedroslopez merged commit 8e1fea4 into master Oct 16, 2023
28 of 37 checks passed
Copy link
Contributor Author

Merge activity

@pedroslopez pedroslopez deleted the pedro/fix_airbyte_ci_tests branch October 16, 2023 23:19
ariesgun pushed a commit to ariesgun/airbyte that referenced this pull request Oct 20, 2023
<!--
Thanks for your contribution! 
Before you submit the pull request, 
I'd like to kindly remind you to take a moment and read through our guidelines
to ensure that your contribution aligns with the type of contributions our project accepts.
All the information you need can be found here:
   https://docs.airbyte.com/contributing-to-airbyte/

We truly appreciate your interest in contributing to Airbyte,
and we're excited to see what you have to offer! 

If you have any questions or need any assistance, feel free to reach out in #contributions Slack channel.
-->

## What

`airbyte-ci` tests for `connector-ops` package are failing in CI - this PR fixes this.

## How

1. Fix issue with running git commands in the test:
- Add `fetch-depth: 0` to pull all history
- Set `ref` to the PR head to avoid a detached head and allow the commands to work correctly
2. Fix issue with files missing when running test:
- Add `docs` and `.github` dirs to the mounted test container. These are required to validate that docs exist, and that required reviewers file is written, respectively.
ariesgun pushed a commit to ariesgun/airbyte that referenced this pull request Oct 23, 2023
<!--
Thanks for your contribution! 
Before you submit the pull request, 
I'd like to kindly remind you to take a moment and read through our guidelines
to ensure that your contribution aligns with the type of contributions our project accepts.
All the information you need can be found here:
   https://docs.airbyte.com/contributing-to-airbyte/

We truly appreciate your interest in contributing to Airbyte,
and we're excited to see what you have to offer! 

If you have any questions or need any assistance, feel free to reach out in #contributions Slack channel.
-->

## What

`airbyte-ci` tests for `connector-ops` package are failing in CI - this PR fixes this.

## How

1. Fix issue with running git commands in the test:
- Add `fetch-depth: 0` to pull all history
- Set `ref` to the PR head to avoid a detached head and allow the commands to work correctly
2. Fix issue with files missing when running test:
- Add `docs` and `.github` dirs to the mounted test container. These are required to validate that docs exist, and that required reviewers file is written, respectively.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants