Skip to content

Commit

Permalink
internal/_e2e: fix end to end tests to set source
Browse files Browse the repository at this point in the history
The end-to-end tests had not been updated to
set the now-mandatory source field.

Signed-off-by: Roger Peppe <rogpeppe@gmail.com>
Change-Id: Ibc63df5a90f5a4c5f191a5f4c7f8a9a335ed76ff
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1193382
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
  • Loading branch information
rogpeppe committed Apr 19, 2024
1 parent 4997dff commit 7f3e9cf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/_e2e/testdata/script/gcloud_upload.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ env MODVER=${MODULE}@v0
cd publish

exec cue mod init ${MODVER}
exec cue mod edit --source self
exec cue mod publish ${VERSION}

cd ../depend

env-fill out_foo.cue
exec cue mod init depend.localhost
exec cue mod edit --source self
exec cue mod tidy
exec cue export
cmp stdout export.golden
Expand Down
2 changes: 2 additions & 0 deletions internal/_e2e/testdata/script/github_app_private.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ env MODVER=${MODULE}@v0
cd publish

exec cue mod init ${MODVER}
exec cue mod edit --source self
exec cue mod publish ${VERSION}

cd ../depend

env-fill out_foo.cue
exec cue mod init depend.localhost
exec cue mod edit --source self
exec cue mod tidy
exec cue export
cmp stdout export.golden
Expand Down
2 changes: 2 additions & 0 deletions internal/_e2e/testdata/script/github_app_public.txtar
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ env MODVER=${MODULE}@v0
cd publish

exec cue mod init ${MODVER}
exec cue mod edit --source self
exec cue mod publish ${VERSION}

cd ../depend

env-fill out_foo.cue
exec cue mod init depend.localhost
exec cue mod edit --source self
exec cue mod tidy
exec cue export
cmp stdout export.golden
Expand Down

0 comments on commit 7f3e9cf

Please sign in to comment.