From 7ad5f264e673b92ffe06fac7c823cf9c606ad931 Mon Sep 17 00:00:00 2001 From: Jean-Yves Gastaud Date: Tue, 14 Dec 2021 11:01:31 +0100 Subject: [PATCH] docs: make dev-cue-package example naming consitant Signed-off-by: Jean-Yves Gastaud Signed-off-by: Sam Alba --- docs/learn/1010-dev-cue-package.md | 2 +- docs/learn/tests/dev-cue-package/script.sh | 2 +- docs/learn/tests/doc.bats | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/learn/1010-dev-cue-package.md b/docs/learn/1010-dev-cue-package.md index 11c329c4..111d3509 100644 --- a/docs/learn/1010-dev-cue-package.md +++ b/docs/learn/1010-dev-cue-package.md @@ -51,7 +51,7 @@ Let's write the package logic. It is basically what we've seen in the 106-cloudr touch cue.mod/pkg/github.com/username/gcpcloudrun/source.cue ``` -```cue file=./tests/dev-cue-package/source.cue title="cue.mod/pkg/github.com/tjovicic/gcpcloudrun/source.cue" +```cue file=./tests/dev-cue-package/source.cue title="cue.mod/pkg/github.com/username/gcpcloudrun/source.cue" ``` ### Running the package diff --git a/docs/learn/tests/dev-cue-package/script.sh b/docs/learn/tests/dev-cue-package/script.sh index 03aae599..48e69959 100644 --- a/docs/learn/tests/dev-cue-package/script.sh +++ b/docs/learn/tests/dev-cue-package/script.sh @@ -6,7 +6,7 @@ cat > test/source.cue << EOF package test import ( - "github.com/tjovicic/gcpcloudrun" + "github.com/username/gcpcloudrun" ) run: gcpcloudrun.#Run diff --git a/docs/learn/tests/doc.bats b/docs/learn/tests/doc.bats index d0d0a819..5db8ee15 100644 --- a/docs/learn/tests/doc.bats +++ b/docs/learn/tests/doc.bats @@ -263,8 +263,8 @@ setup() { # # Writing package # # dagger init # The sandbox is already init - # mkdir -p "$DAGGER_SANDBOX"/cue.mod/pkg/github.com/tjovicic/gcpcloudrun - # cp "$DAGGER_PROJECT"/dev-cue-package/source.cue "$DAGGER_SANDBOX"/cue.mod/pkg/github.com/tjovicic/gcpcloudrun/source.cue + # mkdir -p "$DAGGER_SANDBOX"/cue.mod/pkg/github.com/username/gcpcloudrun + # cp "$DAGGER_PROJECT"/dev-cue-package/source.cue "$DAGGER_SANDBOX"/cue.mod/pkg/github.com/username/gcpcloudrun/source.cue # cp "$DAGGER_PROJECT"/dev-cue-package/script.sh "$DAGGER_SANDBOX"/project/script.sh # # We remove the last line of the script, as bats cannot expand dagger