File tree Expand file tree Collapse file tree 6 files changed +17
-1
lines changed
pkg/utils/exponential_backoff Expand file tree Collapse file tree 6 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 77 build_binary :
88 name : Build shell-operator binary
99 runs-on : ubuntu-latest
10+ env :
11+ ACTIONS_ALLOW_UNSECURE_COMMANDS : true
1012 steps :
1113 - name : Set up Go 1.15
1214 uses : actions/setup-go@v2
Original file line number Diff line number Diff line change 5454 - ubuntu
5555 - alpine
5656 runs-on : ubuntu-latest
57+ env :
58+ ACTIONS_ALLOW_UNSECURE_COMMANDS : true
5759 if : github.event_name == 'pull_request' && github.event.label.id == 1838515600 # ':robot: build dev images' label
5860 steps :
5961 - uses : actions/checkout@v2
Original file line number Diff line number Diff line change 88 run_linter :
99 name : Run linter
1010 runs-on : ubuntu-latest
11+ env :
12+ ACTIONS_ALLOW_UNSECURE_COMMANDS : true
1113 steps :
1214 - name : Set up Go 1.15
1315 uses : actions/setup-go@v2
Original file line number Diff line number Diff line change 2020 - alpine3.11
2121 - alpine3.12
2222 runs-on : [ubuntu-latest]
23+ env :
24+ ACTIONS_ALLOW_UNSECURE_COMMANDS : true
2325 steps :
2426 - uses : actions/checkout@v2
2527
Original file line number Diff line number Diff line change 4646 name : Build and unit tests
4747 if : github.event_name == 'push' && github.event.ref != 'refs/heads/master'
4848 runs-on : ubuntu-latest
49+ env :
50+ ACTIONS_ALLOW_UNSECURE_COMMANDS : true
4951 steps :
5052 - name : Set up Go 1.15
5153 uses : actions/setup-go@v2
@@ -132,6 +134,8 @@ jobs:
132134 name : Download modules and build libjq
133135 if : (github.event_name == 'push' && github.event.ref == 'refs/heads/master') || (github.event_name == 'pull_request' && github.event.label.id == 1838578615)
134136 runs-on : ubuntu-latest
137+ env :
138+ ACTIONS_ALLOW_UNSECURE_COMMANDS : true
135139 steps :
136140 - name : Set up Go 1.15
137141 uses : actions/setup-go@v2
@@ -208,6 +212,8 @@ jobs:
208212 if : (github.event_name == 'push' && github.event.ref == 'refs/heads/master') || (github.event_name == 'pull_request' && github.event.label.id == 1838578615)
209213 needs : prepare_build_dependencies
210214 runs-on : ubuntu-latest
215+ env :
216+ ACTIONS_ALLOW_UNSECURE_COMMANDS : true
211217 steps :
212218 - name : Checkout code
213219 uses : actions/checkout@v2
@@ -277,6 +283,8 @@ jobs:
277283 os : [ubuntu-latest]
278284 k8s_version : [1.16, 1.17]
279285 runs-on : ${{ matrix.os }}
286+ env :
287+ ACTIONS_ALLOW_UNSECURE_COMMANDS : true
280288 steps :
281289 - name : Checkout code
282290 uses : actions/checkout@v2
Original file line number Diff line number Diff line change 88
99const MaxExponentialBackoffDelay = time .Duration (32 * time .Second )
1010const ExponentialDelayFactor float64 = 2.0 // Each delay is twice longer.
11- const ExponentialDelayRandomMs = 1000 // Each delay has random additonal milliseconds.
11+ const ExponentialDelayRandomMs = 1000 // Each delay has random additional milliseconds.
1212
1313// CalculateDelay returns delay distributed from initialDelay to default maxDelay (32s)
1414//
You can’t perform that action at this time.
0 commit comments