Skip to content

Commit

Permalink
fix: [CI-12959]: fixed the amazonLinuxScript
Browse files Browse the repository at this point in the history
  • Loading branch information
sahithibanda01 committed Aug 29, 2024
1 parent bd66b0a commit ae606ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/cloudinit/cloudinit.go
Original file line number Diff line number Diff line change
Expand Up @@ -499,8 +499,8 @@ runcmd:
- 'chmod 777 /usr/bin/plugin'
{{ end }}
{{ if .AutoInjectionBinaryURI }}
-'wget --retry-connrefused --retry-on-host-error --retry-on-http-error=503,404,429 --tries=10 --waitretry=10 -nv ` + AutoInjectionUsrBinPath + ` || wget --retry-connrefused --tries=10 --waitretry=10 -nv ` + AutoInjectionUsrBinPath + `'
-'chmod 777 /usr/bin/auto-injection'
- 'wget --retry-connrefused --retry-on-host-error --retry-on-http-error=503,404,429 --tries=10 --waitretry=10 -nv ` + AutoInjectionUsrBinPath + ` || wget --retry-connrefused --tries=10 --waitretry=10 -nv ` + AutoInjectionUsrBinPath + `'
- 'chmod 777 /usr/bin/auto-injection'
{{ end }}
{{ if eq .Platform.Arch "amd64" }}
- 'curl -fL https://github.com/bitrise-io/envman/releases/download/2.4.2/envman-Linux-x86_64 > /usr/bin/envman'
Expand Down

0 comments on commit ae606ed

Please sign in to comment.