Closed turbaszek closed 4 years ago
@potiuk any ideas?
When I move back to 5739ba28a Fix broken breeze script (#10418) everything seems to be ok.
Mac issue
You need to run ./breeze prepare-backport-packages cncf.kubernetes
(and there you get another issue - with missing README.md that you have to add). But I have different (correct) output in Linux so I have to double check it. The output I have:
Building backport package: cncf.kubernetes
Traceback (most recent call last):
File "setup_backport_packages.py", line 1233, in <module>
do_setup_package_providers(provider_package_id=provider_package,
File "setup_backport_packages.py", line 269, in do_setup_package_providers
long_description=get_long_description(provider_package_id),
File "setup_backport_packages.py", line 218, in get_long_description
with open(os.path.join(package_folder, "README.md"), encoding='utf-8') as file:
FileNotFoundError: [Errno 2] No such file or directory: '/opt/airflow/backport_packages/airflow/providers/cncf/kubernetes/README.md'
###########################################################################################
[IN CONTAINER] EXITING /opt/airflow/scripts/ci/in_container/run_prepare_backport_packages.sh WITH STATUS CODE 1
###########################################################################################
And this is the output I have on Linux if I run your command:
===================================================================================
Preparing backport package 2020.07.27
-----------------------------------------------------------------------------------
ERROR! Wrong first param: 2020.07.27
You should provide PACKAGE as first of the setup.py arguments
Available packages:
amazon apache.cassandra apache.druid apache.hdfs apache.hive apache.kylin
apache.livy apache.pig apache.pinot apache.spark apache.sqoop celery cloudant
cncf.kubernetes databricks datadog dingding discord docker elasticsearch exasol
facebook ftp google grpc hashicorp http imap jdbc jenkins jira microsoft.azure
microsoft.mssql microsoft.winrm mongo mysql odbc openfaas opsgenie oracle
pagerduty papermill postgres presto qubole redis salesforce samba segment sftp
singularity slack snowflake sqlite ssh vertica yandex zendesk
Additional commands:
list-providers-packages - lists all provider packages
list-backportable-packages - lists all packages that are backportable
update-package-release-notes [YYYY.MM.DD] [PACKAGES] - updates package release notes
--version-suffix <SUFFIX> - adds version suffix to version of the packages.
I will double check it on mac and see where the undefined variable comes from
(and there you get another issue - with missing README.md that you have to add
I solved this with changing mode to w+
Apache Airflow version:
Current master
Kubernetes version (if you are using kubernetes) (use
kubectl version
):Environment:
What happened:
What you expected to happen:
I would love to build packages
How to reproduce it:
Just run
Anything else we need to know:
N/A