Skip to content

Commit

Permalink
Fix frontend test fixture
Browse files Browse the repository at this point in the history
We can no longer reference other sources. Instead, we can specify a
`local` source with the current directory in order to build the
frontend.

Signed-off-by: Peter Engelbert <[email protected]>
  • Loading branch information
pmengelbert committed Jan 9, 2024
1 parent af12b8c commit 33ab5fd
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions test/fixtures/frontend.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# syntax=ghcr.io/azure/dalec/frontend:latest
# syntax=local/dalec/frontend:latest

name: dalec-rpm-frontend
description: A test fixture which builds this project as an RPM, mainly to validate generating sources from a command.
Expand All @@ -10,6 +10,9 @@ vendor: Microsoft
packager: Microsoft <[email protected]>
license: Apache 2.0
sources:
src:
local:
path: .
gomodcache:
path: /build/gomodcache
image:
Expand All @@ -19,8 +22,8 @@ sources:
mounts:
- dest: /build/src
spec:
context:
name: ""
local:
path: .
steps:
- command: go mod download
env:
Expand Down

0 comments on commit 33ab5fd

Please sign in to comment.