mirror of
https://github.com/tektoncd/catalog.git
synced 2024-11-29 06:34:08 +00:00
9ec3c54036
Changes include: - adds version label - adds a minimum pipeline versions supported by the task - adds display name for task - adds tags for task - modified description to add a summary This patch moves the azure-cli files to the task directory and renames the yaml file and directory - The yaml filename and the directory is changed to match the resource name - Modifies the path for install task command in readme file Issue: #386 Signed-off-by: Puneet Punamiya <ppunamiy@redhat.com>
32 lines
896 B
YAML
32 lines
896 B
YAML
apiVersion: tekton.dev/v1beta1
|
|
kind: Task
|
|
metadata:
|
|
name: az
|
|
labels:
|
|
app.kubernetes.io/version: "0.1"
|
|
annotations:
|
|
tekton.dev/pipelines.minVersion: "0.12.1"
|
|
tekton.dev/tags: cli
|
|
tekton.dev/displayName: "azure cli"
|
|
spec:
|
|
description: >-
|
|
This task performs operations on Microsoft Azure resources using az.
|
|
|
|
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.
|
|
|
|
params:
|
|
- name: az-image
|
|
description: Azure CLI container image to run this task
|
|
default: mcr.microsoft.com/azure-cli:2.0.78
|
|
- name: ARGS
|
|
type: array
|
|
description: Azure CLI arguments to run
|
|
steps:
|
|
- name: az
|
|
image: "$(params.az-image)"
|
|
command: ["az"]
|
|
args: ["$(params.ARGS)"]
|