ci: de-daggerize python and manifest-only image build and publish (#64542)
This commit is contained in:
@@ -73,13 +73,17 @@ args = [
|
||||
# Generic tasks (same across all connector types)
|
||||
|
||||
[tasks.get-language]
|
||||
cmd = """yq eval '.data.tags[] | select(test("^language:")) | sub("language:","")' $PWD/metadata.yaml"""
|
||||
cmd = """yq eval '.data.tags[] | select(test("^language:")) | sub("language:","")' ${POE_PWD}/metadata.yaml"""
|
||||
help = "Get the language of the connector from its metadata.yaml file. Use with -qq to get just the language name."
|
||||
|
||||
[tasks.get-base-image]
|
||||
cmd = """yq eval '.data.connectorBuildOptions.baseImage' $PWD/metadata.yaml"""
|
||||
cmd = """yq eval '.data.connectorBuildOptions.baseImage' ${POE_PWD}/metadata.yaml"""
|
||||
help = "Get the base image of the connector from its metadata.yaml file."
|
||||
|
||||
[tasks.get-version]
|
||||
cmd = """yq eval '.data.dockerImageTag' ${POE_PWD}/metadata.yaml"""
|
||||
help = "Get the version of the connector from its metadata.yaml file."
|
||||
|
||||
[tasks.run-cat-tests]
|
||||
shell = "airbyte-ci connectors --name=`poe -qq get-connector-name` test --only-step=acceptance"
|
||||
help = "Run the legacy Airbyte-CI acceptance tests (CAT tests)."
|
||||
|
||||
@@ -62,13 +62,17 @@ fi
|
||||
# Generic tasks (same across all connector types)
|
||||
|
||||
[tasks.get-language]
|
||||
cmd = """yq eval '.data.tags[] | select(test("^language:")) | sub("language:","")' $PWD/metadata.yaml"""
|
||||
cmd = """yq eval '.data.tags[] | select(test("^language:")) | sub("language:","")' ${POE_PWD}/metadata.yaml"""
|
||||
help = "Get the language of the connector from its metadata.yaml file. Use with -qq to get just the language name."
|
||||
|
||||
[tasks.get-base-image]
|
||||
cmd = """yq eval '.data.connectorBuildOptions.baseImage' $PWD/metadata.yaml"""
|
||||
cmd = """yq eval '.data.connectorBuildOptions.baseImage' ${POE_PWD}/metadata.yaml"""
|
||||
help = "Get the base image of the connector from its metadata.yaml file."
|
||||
|
||||
[tasks.get-version]
|
||||
cmd = """yq eval '.data.dockerImageTag' ${POE_PWD}/metadata.yaml"""
|
||||
help = "Get the version of the connector from its metadata.yaml file."
|
||||
|
||||
[tasks.run-cat-tests]
|
||||
shell = "airbyte-ci connectors --name=`poe -qq get-connector-name` test --only-step=acceptance"
|
||||
help = "Run the legacy Airbyte-CI acceptance tests (CAT tests)."
|
||||
|
||||
@@ -128,13 +128,17 @@ help = "Pin to a specific branch of the CDK."
|
||||
# Generic tasks (same across all connector types)
|
||||
|
||||
[tool.poe.tasks.get-language]
|
||||
cmd = """yq eval '.data.tags[] | select(test("^language:")) | sub("language:","")' $PWD/metadata.yaml"""
|
||||
cmd = """yq eval '.data.tags[] | select(test("^language:")) | sub("language:","")' ${POE_PWD}/metadata.yaml"""
|
||||
help = "Get the language of the connector from its metadata.yaml file. Use with -qq to get just the language name."
|
||||
|
||||
[tool.poe.tasks.get-base-image]
|
||||
cmd = """yq eval '.data.connectorBuildOptions.baseImage' $PWD/metadata.yaml"""
|
||||
cmd = """yq eval '.data.connectorBuildOptions.baseImage' ${POE_PWD}/metadata.yaml"""
|
||||
help = "Get the base image of the connector from its metadata.yaml file."
|
||||
|
||||
[tool.poe.tasks.get-version]
|
||||
cmd = """yq eval '.data.dockerImageTag' ${POE_PWD}/metadata.yaml"""
|
||||
help = "Get the version of the connector from its metadata.yaml file."
|
||||
|
||||
[tool.poe.tasks.run-cat-tests]
|
||||
shell = "airbyte-ci connectors --name=`poe -qq get-connector-name` test --only-step=acceptance"
|
||||
help = "Run the legacy Airbyte-CI acceptance tests (CAT tests)."
|
||||
help = "Run the legacy Airbyte-CI acceptance tests (CAT tests)."
|
||||
Reference in New Issue
Block a user