File tree 1 file changed +26
-5
lines changed
1 file changed +26
-5
lines changed Original file line number Diff line number Diff line change 52
52
# #####################
53
53
# Test Action itself #
54
54
# #####################
55
- - name : Test Action
55
+ - name : Test With Log Tail
56
56
uses : ./
57
57
with :
58
58
# Pre created
@@ -74,10 +74,31 @@ jobs:
74
74
-c
75
75
echo "Hello, World!" && \
76
76
echo "$TEST_VAR" && \
77
- echo "Goodbye, World!"
77
+ x=0; while [ $x -le 10 ]; do echo "Sleeping..." && x=$(( $x + 1 )) && sleep 2; done
78
78
override-container-environment : |
79
79
TEST_VAR=foobar123
80
80
81
- task-wait-until-stopped : true
82
- task-start-max-wait-time : 120
83
- task-stopped-max-wait-time : 300
81
+ # #####################
82
+ # Test Action itself #
83
+ # #####################
84
+ - name : Test Failure Exit Code
85
+ uses : ./
86
+ with :
87
+ # Pre created
88
+ cluster : github-gha
89
+ task-definition : arn:aws:ecs:${{ vars.AWS_TESTING_REGION }}:${{ vars.AWS_TESTING_ACCOUNT_ID }}:task-definition/github-gha-alpine
90
+
91
+ assign-public-ip : ' ENABLED'
92
+ security-group-ids : |
93
+ sg-09a0ccb78d5be2a25
94
+ subnet-ids : |
95
+ subnet-08bbfd6c53b0c1049
96
+ subnet-0fef13a6bef01f61a
97
+ subnet-0a676289b4a27a7fa
98
+
99
+ tail-logs : false
100
+ override-container : alpine
101
+ override-container-command : |
102
+ /bin/sh
103
+ -c
104
+ exit 1
You can’t perform that action at this time.
0 commit comments