This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/bin/bash | |
| set -euo pipefail | |
| <...> | |
| echo "Checking that agent is running" | |
| until $(curl --output /dev/null --silent --head --fail http://localhost:51678/v1/metadata); do | |
| printf '.' | |
| sleep 1 | |
| done | |
| exit_code=$? | |
| printf "\nDone\n" | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | CreationPolicy: | |
| AutoScalingCreationPolicy: | |
| MinSuccessfulInstancesPercent: 80 | |
| ResourceSignal: | |
| Count: "${var.cfn_signal_count}" | |
| Timeout: PT10M | |
| UpdatePolicy: | |
| # Ignore differences in group size properties caused by scheduled actions | |
| AutoScalingScheduledAction: | |
| IgnoreUnmodifiedGroupSizeProperties: true | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | placement_constraints { | |
| type = "memberOf" | |
| expression = "attribute:drain !exists or attribute:drain != true" | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | post { | |
| always{ | |
| // Clear up old instances | |
| tag('false') | |
| } | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | COPY src/*/*.csproj ./ | |
| RUN for file in $(ls *.csproj); do mkdir -p ${file%.*}/ && mv $file ${file%.*}/; done | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | { | |
| "name": "${app}", | |
| "image": "${image}", <<< THE CHANGE GOES HERE | |
| "cpu": ${cpu}, | |
| ... | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | stage('Start deployment') { | |
| when { | |
| branch 'master' | |
| } | |
| steps { | |
| build job: "Deployment/${serviceName}/${env.BRANCH_NAME}", | |
| propagate: true, | |
| wait: true, | |
| parameters: [ | |
| [$class: 'StringParameterValue', name: 'imageName', value: imageName], | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | def release = false | |
| pipeline { | |
| agent any | |
| options { | |
| timestamps() | |
| disableConcurrentBuilds() | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | resource "aws_ecs_service" "web" { | |
| deployment_maximum_percent = 200 | |
| deployment_minimum_healthy_percent = 70 | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # This will be overridden at build time | |
| ARG VERSION=2.0.6 | |
| FROM microsoft/aspnetcore:$VERSION | 
OlderNewer