Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
emosbaugh committed Sep 5, 2024
1 parent 9205ad7 commit 26ebd8c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,16 @@ jobs:
with:
fetch-depth: 0

- name: Cache Melange
uses: actions/cache@v4
with:
path: |
build/.melange-cache
key: melange-cache

- name: Setup Melange
uses: chainguard-dev/actions/setup-melange@main

- name: Setup Go
uses: actions/setup-go@v5
with:
Expand Down
10 changes: 2 additions & 8 deletions scripts/ci-update-operator-metadata.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,8 @@

set -euo pipefail

function require() {
if [ -z "$2" ]; then
echo "validation failed: $1 unset"
exit 1
else
echo "$1 is set to $2"
fi
}
# shellcheck source=./common.sh
source ./scripts/common.sh

require OPERATOR_CHART "${OPERATOR_CHART}"
require OPERATOR_IMAGE "${OPERATOR_IMAGE}"
Expand Down

0 comments on commit 26ebd8c

Please sign in to comment.