-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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: use binary in CI #32497
airbyte-ci: use binary in CI #32497
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
Current dependencies on/for this PR:
This stack of pull requests is managed by Graphite. |
db2dcd1
to
c25b46d
Compare
- name: Run airbyte-ci | ||
shell: bash | ||
run: | | ||
export _EXPERIMENTAL_DAGGER_RUNNER_HOST="unix:///var/run/buildkit/buildkitd.sock" | ||
airbyte-ci --is-ci --gha-workflow-run-id=${{ github.run_id }} ${{ inputs.subcommand }} ${{ inputs.options }} | ||
airbyte-ci --disable-dagger-run --is-ci --gha-workflow-run-id=${{ github.run_id }} ${{ inputs.subcommand }} ${{ inputs.options }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what does --disable-dagger-run
do?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is what enables the terminal UI when running locally.
We don't want this in CI because it might expose sensitive information / clutter the GHA logs.
It's called disable dagger run
because getting the terminal UI is achieved by running dagger run airbyte-ci
(using Dagger's CLI)
4ba9772
to
f703af6
Compare
What
Use our
airbyte-ci
linux binary in the CIHow
Install Python 3.10
andInstall ci-connector-ops package
steps from.github/actions/run-dagger-pipeline/action.yml
Install airbyte-ci binary
step to.github/actions/run-dagger-pipeline/action.yml
which curls the binary and moves it to/usr/local/bin
airbyte_ci_binary_url
option at the action level, defaults tolatest
: can be useful to pin airbyte-ci version in the CI or tryout pre-releases--disable-dagger-run
flagTODO
🚨 User Impact 🚨