Skip to content

Commit

Permalink
UI test should be using compile-binary
Browse files Browse the repository at this point in the history
Signed-off-by: pjuarezd <[email protected]>
  • Loading branch information
pjuarezd committed Aug 14, 2024
1 parent aec638a commit a53496b
Showing 1 changed file with 9 additions and 31 deletions.
40 changes: 9 additions & 31 deletions .github/workflows/ui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,6 @@ concurrency:
cancel-in-progress: true

jobs:
operator:
timeout-minutes: 30
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [ 1.21.x ]
os: [ ubuntu-latest ]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- uses: actions/cache@v3
name: Operator Binary Cache
with:
path: |
./minio-operator
key: ${{ runner.os }}-ui-binary-${{ github.run_id }}
- name: Operator Binary
run: |
make operator
semgrep-static-code-analysis:
timeout-minutes: 30
name: "semgrep checks"
Expand Down Expand Up @@ -149,12 +127,6 @@ jobs:
go-version: ${{ matrix.go-version }}
cache: true
id: go
- uses: actions/cache@v3
name: Operator Binary Cache
with:
path: |
./minio-operator
key: ${{ runner.os }}-binary-${{ github.run_id }}
- uses: actions/cache@v3
id: assets-cache
name: Assets Cache
Expand All @@ -168,6 +140,12 @@ jobs:
GOOS: linux
run: |
make binary
- uses: actions/cache/save@v3
name: Save Operator Binary
with:
path: |
./minio-operator
key: ${{ runner.os }}-ui-binary-${{ github.run_id }}



Expand Down Expand Up @@ -221,7 +199,7 @@ jobs:
with:
path: |
./minio-operator
key: ${{ runner.os }}-binary-${{ github.run_id }}
key: ${{ runner.os }}-ui-binary-${{ github.run_id }}

# Runs a set of commands using the runners shell
- name: Start Kind for Operator UI
Expand Down Expand Up @@ -258,7 +236,7 @@ jobs:
with:
path: |
./minio-operator
key: ${{ runner.os }}-binary-${{ github.run_id }}
key: ${{ runner.os }}-ui-binary-${{ github.run_id }}

# Runs a set of commands using the runners shell
- name: Start Kind for Operator UI
Expand Down Expand Up @@ -332,7 +310,7 @@ jobs:
- ui-assets
- reuse-golang-dependencies
- semgrep-static-code-analysis
- operator
- compile-binary
runs-on: ubuntu-latest

strategy:
Expand Down

0 comments on commit a53496b

Please sign in to comment.