首页 > 解决方案 > 如何解决,步骤 #3 - “unit-test-on-operator-code”:来自守护进程的错误响应:apache/airflow 的清单:找不到主

问题描述

嗨,我正在关注 gcp 上的本教程。https://cloud.google.com/solutions/cicd-pipeline-for-data-processing

并在运行此命令时出错。

gcloud builds submit --config=build_deploy_test.yaml --substitutions=\
REPO_NAME=$SOURCE_CODE_REPO,\
_DATAFLOW_JAR_BUCKET=$DATAFLOW_JAR_BUCKET_TEST,\
_COMPOSER_INPUT_BUCKET=$INPUT_BUCKET_TEST,\
_COMPOSER_REF_BUCKET=$REF_BUCKET_TEST,\
_COMPOSER_DAG_BUCKET=$COMPOSER_DAG_BUCKET,\
_COMPOSER_ENV_NAME=$COMPOSER_ENV_NAME,\
_COMPOSER_REGION=$COMPOSER_REGION,\
_COMPOSER_DAG_NAME_TEST=$COMPOSER_DAG_NAME_TEST

我得到的错误是: “步骤#3 - “unit-test-on-operator-code”:来自守护进程的错误响应:apache/airflow:master not found”。

这是 yaml 为第 3 步指定的内容。

- name: apache/airflow:master
  entrypoint: 'python'
  args: ['test_compare_xcom_maps.py']
  dir: '$REPO_NAME/workflow-dag'
  id: 'unit-test-on-operator-code'

任何人都知道错误在哪里以及如何解决?

标签: pythonmavenbuildcloudplatform

解决方案


推荐阅读