Skip to content

Commit 1442408

Browse files
committed
chore(airflow): Remove branching for different cyclonedx-py versions
Using the same version for all.
1 parent 5cfaa63 commit 1442408

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

airflow/Dockerfile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,7 @@ uv pip install --no-cache-dir /tmp/opa_auth_manager-0.1.0-py3-none-any.whl
173173

174174
# Create the SBOM for Airflow
175175
# Important: All `pip install` commands must be above this line, otherwise the SBOM will be incomplete
176-
if [ "$PRODUCT_VERSION" == "2.9.3" ] || [ "$PRODUCT_VERSION" == "3.0.6" ]; then
177-
cyclonedx-py environment --schema-version 1.5 --outfile /tmp/sbom.json
178-
else
179-
cyclonedx-py environment --spec-version 1.5 --output-file /tmp/sbom.json
180-
fi
176+
cyclonedx-py environment --spec-version 1.5 --output-file /tmp/sbom.json
181177
uv pip uninstall cyclonedx-bom
182178

183179
# Break circular dependencies by removing the apache-airflow dependency from the providers

0 commit comments

Comments
 (0)