f4708d478e
At this moment all tasks which can be executed on linux/s390x or linux/ppc64le are tested and labelled accordingly. The rest of the tasks can be labelled as `linux/amd64`, which is default platform and where tasks are already tested via default PR testing cycle. Signed-off-by: Yulia Gaponenko <yulia.gaponenko1@de.ibm.com> |
||
---|---|---|
.. | ||
az.yaml | ||
README.md |
az
This task performs operations on Microsoft Azure resources using az
.
Install the Task
kubectl apply -f https://raw.githubusercontent.com/tektoncd/catalog/main/az/0.1/az.yaml
Parameters
-
az-image:
az
CLI container image to run this task.default:
mcr.microsoft.com/azure-cli:2.0.77
You can use a specific version of the
az
CLI by specifying theaz-image
param with themcr.microsoft.com/azure-cli
image tagged with the specific version of the CLI you would like to use (i.e. version 2.0.70 =mcr.microsoft.com/azure-cli:2.0.70
). A full list of available version tags can be found under the Full Tag Listing section of theaz
Docker Hub. -
ARGS: The arguments to pass to
az
CLI. This parameter is required to run this task.
Platforms
The Task can be run on linux/amd64
platform.
Usage
Running the Task
After creating the task, you should now be able to execute az
commands by specifying the command you would like to run as the ARGS
param. The ARGS
param takes an array of az
subcommands that will be executed as part of this task.
Examples
Run az ad --help
using az
. Start the task using the Tekton CLI (tkn
):
tkn task start az -p ARGS=ad,--help
Specify a different az-image
to use with the az
task:
tkn task start az -p az-image=mcr.microsoft.com/azure-cli:2.0.70