1
0
mirror of synced 2025-12-26 14:02:10 -05:00
Files
airbyte/airbyte-cdk/python/bin/generate-component-manifest-dagger.sh
Augustin 0d6cf1bdc9 Upgrade to Dagger 0.13 (#46923)
## What
<!--
* Describe what the change is solving. Link all GitHub issues related to this change.
-->
Upgrade from dagger 0.9.6 to dagger 0.13

## How
<!--
* Describe how code changes achieve the solution.
-->
* change behavior of `with_exec()`. The `skip_entrypoint` keyword arg has been changed to an opposite kwarg: `use_entrypoint`
* The `pipeline()` function has been removed. Remove its use.

## How will I deem the update stable
* [x] `pipelines` tests are 🟢 
* [x] `CAT` tests are 🟢 
* [x] `base_image` tests are 🟢 
* [x] Tests are running for a java and a python connector 🟢  [(Python test)](https://github.com/airbytehq/airbyte/actions/runs/11370125686) [(Java test)](https://github.com/airbytehq/airbyte/actions/runs/11381915439/job/31664363609)
* [x] The publish pipeline still works for  java and python connectors 🟢  [(test)](https://github.com/airbytehq/airbyte/actions/runs/11367885824/job/31621641890)


## User Impact
Should have no impact

## Can this PR be safely reverted and rolled back?
<!--
* If unsure, leave it blank.
-->
- [x] YES 💚
- [ ] NO 
2024-10-17 12:24:40 +02:00

12 lines
414 B
Bash
Executable File

#!/usr/bin/env bash
# We need to run this script in a docker container because we need to use a
# specific version of datamodel-codegen that generates pydantic v1 models (correctly).
# The newer datamodel-codegen's "pydantic v1" models are different than those v1 models
# generated by the older version of datamodel-codegen.
set -e
pip install dagger-io==0.13.3
python bin/generate_component_manifest_files.py