Skip to content

Commit 59d957b

Browse files
committed
APM-3869 Remove unused code
1 parent e989fd3 commit 59d957b

2 files changed

Lines changed: 0 additions & 29 deletions

File tree

ansible/roles/remove-old-ecs-pr-deploys/tasks/remove-ecs-deployment.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@
1919
).total_seconds()
2020
) < ( 1500 | int)
2121
22-
- name : FAIL ON PURPOSE
23-
fail:
24-
msg: FAIL
25-
when: true
26-
2722
- name: check api_environment
2823
fail:
2924
msg: "unsupport API environment {{ apigee_environment }}"

azure/components/cleanup-ecs-pr-proxies-job.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -25,27 +25,3 @@ steps:
2525
2626
displayName: "cleanup older pr deploys"
2727
condition: or(eq( ${{ parameters.retry }}, '0'), eq(variables['should_retry'], 'true'))
28-
29-
# - bash: |
30-
# make remove-stale-locks
31-
# export retain_hours=72
32-
# ANSIBLE_FORCE_COLOR=yes make -C ansible remove-old-ecs-pr-deploys | tee /tmp/output.txt
33-
# ERROR_CODE=$?
34-
# echo ERROR_CODE - $ERROR_CODE
35-
# ROLE_TIMEOUT_MSG="The AWS assume role session token is due to expire"
36-
# if grep -q "$ROLE_TIMEOUT_MSG" /tmp/output.txt ; then
37-
# echo "stderr for ansible has the error \"$ROLE_TIMEOUT_MSG\""
38-
# echo "Re-assuming role and re-running step"
39-
# echo "##vso[task.setvariable variable=should_retry;]true"
40-
41-
# elif [ $ERROR_CODE -ne 0 ] ; then
42-
# echo "\n\nansible has unhandled error, re-raising"
43-
# echo "##vso[task.setvariable variable=should_retry;]true"
44-
45-
# exit -1
46-
# else
47-
# echo "##vso[task.setvariable variable=should_retry;]false"
48-
# fi
49-
50-
# displayName: "cleanup older pr deploys"
51-
# condition: or(eq( ${{ parameters.retry }}, '0'), eq(variables['should_retry'], 'true'))

0 commit comments

Comments
 (0)