turbaszek commented on pull request #8575:
URL: https://github.com/apache/airflow/pull/8575#issuecomment-685781709
I tried running a system test `test_run_example_gcp_cloud_build_trigger_dag`
and I got:
```
[2020-09-02 14:36:56,913] {taskinstance.py:1169} INFO - Exporting the
following env vars:
AIRFLOW_CTX_DAG_OWNER=airflow
AIRFLOW_CTX_DAG_ID=example_gcp_cloud_build_trigger
AIRFLOW_CTX_TASK_ID=run_build_trigger
AIRFLOW_CTX_EXECUTION_DATE=2020-09-01T00:00:00+00:00
AIRFLOW_CTX_DAG_RUN_ID=backfill__2020-09-01T00:00:00+00:00
[2020-09-02 14:36:56,926] {cloud_build.py:556} INFO - Start running build
trigger: d4b43269-6ab6-46e3-950e-7541fc213a6d.
[2020-09-02 14:36:56,927] {taskinstance.py:1310} ERROR - Protocol message
RepoSource has no "repo_source" field.
Traceback (most recent call last):
File "/opt/airflow/airflow/models/taskinstance.py", line 1076, in
_run_raw_task
self._prepare_and_execute_task_with_callbacks(context, task)
File "/opt/airflow/airflow/models/taskinstance.py", line 1181, in
_prepare_and_execute_task_with_callbacks
result = self._execute_task(context, task_copy)
File "/opt/airflow/airflow/models/taskinstance.py", line 1216, in
_execute_task
result = task_copy.execute(context=context)
File
"/opt/airflow/airflow/providers/google/cloud/operators/cloud_build.py", line
778, in execute
metadata=self.metadata,
File "/opt/airflow/airflow/providers/google/common/hooks/base_google.py",
line 373, in inner_wrapper
return func(self, *args, **kwargs)
File "/opt/airflow/airflow/providers/google/cloud/hooks/cloud_build.py",
line 564, in run_build_trigger
metadata=metadata,
File
"/usr/local/lib/python3.7/site-packages/google/cloud/devtools/cloudbuild_v1/gapic/cloud_build_client.py",
line 946, in run_build_trigger
project_id=project_id, trigger_id=trigger_id, source=source
ValueError: Protocol message RepoSource has no "repo_source" field.
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]