Skip to content

Commit 17177e9

Browse files
committed
internal/ci: carve out into a separate module to be published
We leave the root cuelang.org/go CUE module, as that is still useful to be able to develop the various CUE packages such as internal/filetypes and the standard library under "pkg". The githubactions dependency is now inside the internal/ci module. Finally, the new module is named after github.com/cue-lang/tmp, as this is the first time we publish this internal CI module and we don't want to make it sound too official just yet. Signed-off-by: Daniel Martí <[email protected]> Change-Id: Ica37d7bac91adeff7971860f434558da7631c685 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1218676 TryBot-Result: CUEcueckoo <[email protected]> Unity-Result: CUE porcuepine <[email protected]> Reviewed-by: Paul Jolly <[email protected]>
1 parent 1004c32 commit 17177e9

File tree

7 files changed

+17
-13
lines changed

7 files changed

+17
-13
lines changed

cue.mod/module.cue

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,3 @@ module: "cuelang.org/go"
22
language: {
33
version: "v0.14.0"
44
}
5-
deps: {
6-
"cue.dev/x/githubactions@v0": {
7-
v: "v0.1.0"
8-
default: true
9-
}
10-
}

internal/ci/base/base.cue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
//
2121
// package workflows
2222
//
23-
// import "cuelang.org/go/internal/ci/base"
23+
// import "github.com/cue-lang/tmp/internal/ci/base"
2424
//
2525
// // Create an instance of base
2626
// _base: base & core { params: {

internal/ci/ci_tool.cue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ import (
1919
"encoding/yaml"
2020
"tool/file"
2121

22-
"cuelang.org/go/internal/ci/base"
23-
"cuelang.org/go/internal/ci/repo"
24-
"cuelang.org/go/internal/ci/github"
22+
"github.com/cue-lang/tmp/internal/ci/base"
23+
"github.com/cue-lang/tmp/internal/ci/repo"
24+
"github.com/cue-lang/tmp/internal/ci/github"
2525
)
2626

2727
// For the commands below, note we use simple yet hacky path resolution, rather

internal/ci/cue.mod/module.cue

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module: "github.com/cue-lang/tmp/internal/ci"
2+
language: {
3+
version: "v0.14.0"
4+
}
5+
deps: {
6+
"cue.dev/x/githubactions@v0": {
7+
v: "v0.1.0"
8+
default: true
9+
}
10+
}

internal/ci/github/repo.cue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ package github
2323
// in a single file, and that keeps the different in import
2424
// path down to a single file.
2525

26-
import repo "cuelang.org/go/internal/ci/repo"
26+
import repo "github.com/cue-lang/tmp/internal/ci/repo"
2727

2828
_repo: repo

internal/ci/goreleaser/goreleaser_tool.cue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"tool/os"
1111
"tool/cli"
1212

13-
"cuelang.org/go/internal/ci/repo"
13+
"github.com/cue-lang/tmp/internal/ci/repo"
1414
)
1515

1616
command: release: {

internal/ci/repo/repo.cue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
package repo
55

66
import (
7-
"cuelang.org/go/internal/ci/base"
7+
"github.com/cue-lang/tmp/internal/ci/base"
88
)
99

1010
base

0 commit comments

Comments
 (0)