diff --git a/provisioning/get-fileshare-signed-url.sh b/provisioning/get-fileshare-signed-url.sh index 24c8e5f66..0f4ea97a1 100755 --- a/provisioning/get-fileshare-signed-url.sh +++ b/provisioning/get-fileshare-signed-url.sh @@ -24,3 +24,5 @@ token=$(az storage share generate-sas \ az logout echo "https://${STORAGE_NAME}.file.core.windows.net/${STORAGE_FILESHARE}/?${token}" + +# Comment added to test updatecli manifest diff --git a/updatecli/updatecli.d/get-fileshare-signed-url.yml b/updatecli/updatecli.d/get-fileshare-signed-url.yml new file mode 100644 index 000000000..e21d78074 --- /dev/null +++ b/updatecli/updatecli.d/get-fileshare-signed-url.yml @@ -0,0 +1,39 @@ +--- +name: Update get-fileshare-signed-url.sh script content + +scms: + default: + kind: github + spec: + user: "{{ .github.user }}" + email: "{{ .github.email }}" + owner: "{{ .github.owner }}" + repository: "{{ .github.repository }}" + token: "{{ requiredEnv .github.token }}" + username: "{{ .github.username }}" + branch: "{{ .github.branch }}" + +sources: + lastScriptContent: + kind: file + name: Get the latest script content from jenkins-infra/pipeline-library + spec: + file: https://raw.githubusercontent.com/jenkins-infra/pipeline-library/master/resources/get-fileshare-signed-url.sh + +targets: + updateScriptContent: + name: Update script content + kind: file + spec: + file: provisioning/get-fileshare-signed-url.sh + scmid: default + +actions: + default: + kind: github/pullrequest + title: Update `get-fileshare-signed-url.sh` script content + scmid: default + spec: + labels: + - enhancement + - get-fileshare-signed-url