Skip to content

Commit

Permalink
Retry on failure of fetching non-mondoo URLs in Actions (#423)
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Rockwood <[email protected]>
  • Loading branch information
benr authored Jan 24, 2024
1 parent 0224c45 commit 5185a4d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pkg_msi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
- name: Setup SSM KSP on windows latest
shell: cmd
run: |
curl -X GET https://one.digicert.com/signingmanager/api-ui/v1/releases/smtools-windows-x64.msi/download -H "x-api-key:%SM_API_KEY%" -o smtools-windows-x64.msi
curl --retry 10 --retry-delay 60 -X GET https://one.digicert.com/signingmanager/api-ui/v1/releases/smtools-windows-x64.msi/download -H "x-api-key:%SM_API_KEY%" -o smtools-windows-x64.msi
msiexec /i smtools-windows-x64.msi /quiet /qn
smksp_registrar.exe list
smctl.exe keypair ls
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sign_powershell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

- name: Install jSign (Windows Signing Tool) -- Required for public runners
run: |
curl -LO https://github.com/ebourg/jsign/releases/download/5.0/jsign_5.0_all.deb
curl --retry 10 --retry-delay 60 -LO https://github.com/ebourg/jsign/releases/download/5.0/jsign_5.0_all.deb
sudo dpkg -i ./jsign_5.0_all.deb
- name: Configure DigiCert Signing Variables
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-released-brew.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@v4
- name: Install Homebrew
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
/bin/bash -c "$(curl --retry 10 --retry-delay 60 -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- name: Testing install of ${{ matrix.package }}....
run: |
Expand All @@ -53,7 +53,7 @@ jobs:
- uses: actions/checkout@v4
- name: Install Homebrew
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
/bin/bash -c "$(curl --retry 10 --retry-delay 60 -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- name: Testing install of mondoo cask....
run: |
Expand Down

0 comments on commit 5185a4d

Please sign in to comment.