Skip to content
This repository has been archived by the owner on Jan 23, 2025. It is now read-only.

ci: make the OPA installation more reliable #1439

Merged
merged 3 commits into from
Aug 30, 2023

Conversation

nikpivkin
Copy link
Collaborator

@nikpivkin nikpivkin commented Aug 30, 2023

I also took out the installation of OPA in a composite action

Close https://github.com/aquasecurity/defsec/issues/1440

@nikpivkin nikpivkin marked this pull request as ready for review August 30, 2023 09:50
@nikpivkin nikpivkin requested a review from simar7 as a code owner August 30, 2023 09:50
name: Setup OPA CLI
description: Setup OPA CLI
runs:
using: composite
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! besides refactoring into a separate YAML, what other advantages does it have?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added the retry flag to repeat the operation after a failure and changed the downloading of the OPA from the site to GitHub (I think GitHub is a more reliable source)

@simar7 simar7 added this pull request to the merge queue Aug 30, 2023
Merged via the queue into aquasecurity:master with commit 2e27a44 Aug 30, 2023
@nikpivkin nikpivkin deleted the chore/setup-opa branch October 7, 2023 04:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ci: make the OPA installation more reliable
2 participants