diff --git a/build/azure-devops/scraper-ci.yml b/build/azure-devops/scraper-ci.yml index 81cfa5eab..4ad4ac1af 100644 --- a/build/azure-devops/scraper-ci.yml +++ b/build/azure-devops/scraper-ci.yml @@ -12,6 +12,7 @@ pr: - src/* - .azure-devops/scraper-ci.yml - charts/promitor-agent-scraper/* + - deploy/automation/docker-hub/ci/* # Add Docker Hub bot here to trigger it for testing sake variables: DotNet.SDK.Version: '2.2.401' DotNet.Configuration: 'release' diff --git a/deploy/automation/docker-hub/ci/azuredeploy.json b/deploy/automation/docker-hub/ci/azuredeploy.json index f18d7bb46..e5a4e3bff 100644 --- a/deploy/automation/docker-hub/ci/azuredeploy.json +++ b/deploy/automation/docker-hub/ci/azuredeploy.json @@ -51,7 +51,7 @@ "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", "actions": { "Define_GitHub_comment_text": { - "inputs": "Docker image for this PR was built and is available on [Docker Hub](@{triggerBody()?['repository']?['repo_url']}).\n\nYou can pull it locally via the CLI:\n```shell\ndocker pull @{triggerBody()?['repository']?['repo_name']}:@{triggerBody()?['push_data']?['tag']}\n```\n\nWant to verify the new version? Run it locally:\n```shell\ndocker run -d -p 8999:80 --name promitor-agent-scraper-@{triggerBody()?['push_data']?['tag']} \\\n --env PROMITOR_AUTH_APPID='' \\\n --env-file C:/Promitor/az-mon-auth.creds \\\n --volume C:/Promitor/runtime-declaration.yaml:/config/runtime.yaml \\\n --volume C:/Promitor/metrics-declaration.yaml:/config/metrics-declaration.yaml \\\n @{triggerBody()?['repository']?['repo_name']}:@{triggerBody()?['push_data']?['tag']}\n```\n\n You can find a CI version of our Helm chart on [hub.helm.sh](https://hub.helm.sh/charts/promitor/promitor-agent-scraper-ci)", + "inputs": "Docker image for this PR was built and is available on [Docker Hub](@{triggerBody()?['repository']?['repo_url']}).\n\nYou can pull it locally via the CLI:\n```shell\ndocker pull @{triggerBody()?['repository']?['repo_name']}:@{triggerBody()?['push_data']?['tag']}\n```\n\nWant to verify the new version? Run it locally:\n```shell\ndocker run -d -p 8999:80 --name promitor-agent-scraper-@{triggerBody()?['push_data']?['tag']} \\\n --env PROMITOR_AUTH_APPID='' \\\n --env-file C:/Promitor/az-mon-auth.creds \\\n --volume C:/Promitor/metrics-declaration.yaml:/config/metrics-declaration.yaml \\\n --volume C:/Promitor/runtime-config.yaml:/config/runtime.yaml \\\n @{triggerBody()?['repository']?['repo_name']}:@{triggerBody()?['push_data']?['tag']}\n```\n\nYou can find a CI version of our Helm chart on [hub.helm.sh](https://hub.helm.sh/charts/promitor/promitor-agent-scraper-ci)", "runAfter": { "Determine_GitHub_Issue_Id": [ "Succeeded"