skip to Main Content

Set Azure DevOps Pipeline Permissions via API

I am trying to set Azure DevOps Pipeline permission using the following API from Powershell: PATCH https://dev.azure.com/{organization}/{project}/_apis/pipelines/pipelinepermissions?api-version=7.0-preview.1 I have successfully achieved this for most resource types (Environments, Service Connections, and Variable Groups, however when I try to use it to…

VIEW QUESTION

Amazon web services – ElasticBeanstalk to handle script that runs only in 1 instance at the time

#!/bin/sh SQS_QUEUE_URL="url" AWS_REGION="eu-central-1" LOCK_KEY="supervisor-lock" # Unique identifier for the lock # Attempt to acquire the lock by sending a message to the queue lock_acquired=$(aws sqs send-message --queue-url "$SQS_QUEUE_URL" --region "$AWS_REGION" --message-body "$LOCK_KEY") echo "Lock Acquired: $lock_acquired" sleep 5 message=$(aws sqs…

VIEW QUESTION
Back To Top
Search