Skip to content

Commit 3ca88e6

Browse files
authored
community-ci: upload reports as github action artifacts (#37571)
1 parent c578ee7 commit 3ca88e6

File tree

1 file changed

+7
-51
lines changed

1 file changed

+7
-51
lines changed

.github/workflows/community_ci.yml

+7-51
Original file line numberDiff line numberDiff line change
@@ -73,54 +73,10 @@ jobs:
7373
s3_build_cache_secret_key: ${{ secrets.SELF_RUNNER_AWS_SECRET_ACCESS_KEY }}
7474
subcommand: "connectors --modified test"
7575
is_fork: "true"
76-
77-
# format:
78-
# # IMPORTANT: This name must match the require check name on the branch protection settings
79-
# name: "Check for formatting errors"
80-
# if: github.event.pull_request.head.repo.fork == true
81-
# # Deployment of jobs on the community-ci environment requires manual approval
82-
# # This is something we set up in the GitHub environment settings:
83-
# # https://github.com/airbytehq/airbyte/settings/environments/2091483613/edit
84-
# # This is a safety measure to make sure the code running on our infrastructure has been reviewed before running on it
85-
# environment: community-ci
86-
# runs-on: community-tooling-test-small
87-
# timeout-minutes: 30
88-
# env:
89-
# MAIN_BRANCH_NAME: "master"
90-
91-
# steps:
92-
# # This checkouts a fork which can contain untrusted code
93-
# # It's deemed safe as the community-ci environment requires manual reviewer approval to run
94-
# - name: Checkout fork
95-
# uses: actions/checkout@v4
96-
# with:
97-
# repository: ${{ github.event.pull_request.head.repo.full_name }}
98-
# ref: ${{ github.event.pull_request.head.sha }}
99-
# fetch-depth: 1
100-
101-
# # This will sync the .github folder of the main repo with the fork
102-
# # This allows us to use up to date actions from the main repo
103-
# - name: Pull .github folder from main repository
104-
# id: pull_github_folder
105-
# run: |
106-
# git remote add main https://github.com/airbytehq/airbyte.git
107-
# git fetch main ${MAIN_BRANCH_NAME}
108-
# git checkout main/${MAIN_BRANCH_NAME} -- .github
109-
110-
# - name: Run airbyte-ci format check all
111-
# # This path refers to the fork .github folder.
112-
# # We make sure its content is in sync with the main repo .github folder by pulling it in the previous step
113-
# uses: ./.github/actions/run-airbyte-ci
114-
# with:
115-
# context: "pull_request"
116-
# dagger_cloud_token: ${{ secrets.DAGGER_CLOUD_TOKEN_2 }}
117-
# docker_hub_password: ${{ secrets.DOCKER_HUB_PASSWORD }}
118-
# docker_hub_username: ${{ secrets.DOCKER_HUB_USERNAME }}
119-
# gcs_credentials: ${{ secrets.METADATA_SERVICE_PROD_GCS_CREDENTIALS }}
120-
# sentry_dsn: ${{ secrets.SENTRY_AIRBYTE_CI_DSN }}
121-
# github_token: ${{ github.token }}
122-
# git_repo_url: ${{ github.event.pull_request.head.repo.clone_url }}
123-
# git_branch: ${{ github.head_ref }}
124-
# git_revision: ${{ github.event.pull_request.head.sha }}
125-
# is_fork: "true"
126-
# subcommand: "format check all"
76+
- name: Upload pipeline reports
77+
id: upload-artifact
78+
uses: actions/upload-artifact@v4
79+
with:
80+
name: pipeline-reports
81+
path: /home/runner/work/airbyte/airbyte/airbyte-ci/connectors/pipelines/pipeline_reports/airbyte-ci/connectors/test/pull_request/**/output.html
82+
retention-days: 7

0 commit comments

Comments
 (0)