ci: move ci infra top-level
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
parent
50b36a50aa
commit
93d2224073
2
.github/workflows/dagger-ci.yml
vendored
2
.github/workflows/dagger-ci.yml
vendored
@ -55,7 +55,6 @@ jobs:
|
||||
DAGGER_CACHE_TO: "type=gha,mode=max,scope=dagger-ci-build"
|
||||
DAGGER_CACHE_FROM: "type=gha,scope=dagger-ci-build"
|
||||
run: |
|
||||
cd ci
|
||||
dagger do build
|
||||
|
||||
lint:
|
||||
@ -83,5 +82,4 @@ jobs:
|
||||
DAGGER_CACHE_TO: "type=gha,mode=max,scope=dagger-ci-lint"
|
||||
DAGGER_CACHE_FROM: "type=gha,scope=dagger-ci-lint"
|
||||
run: |
|
||||
cd ci
|
||||
dagger do lint
|
||||
|
@ -8,9 +8,9 @@ import (
|
||||
"universe.dagger.io/docker"
|
||||
"universe.dagger.io/go"
|
||||
|
||||
"github.com/dagger/dagger/ci/pkg/golangci"
|
||||
"github.com/dagger/dagger/ci/pkg/shellcheck"
|
||||
"github.com/dagger/dagger/ci/pkg/markdownlint"
|
||||
"github.com/dagger/dagger/ci/golangci"
|
||||
"github.com/dagger/dagger/ci/shellcheck"
|
||||
"github.com/dagger/dagger/ci/markdownlint"
|
||||
)
|
||||
|
||||
dagger.#Plan & {
|
||||
@ -20,16 +20,16 @@ dagger.#Plan & {
|
||||
// platform: "linux/aarch64"
|
||||
platform: "linux/amd64"
|
||||
|
||||
client: filesystem: "../": read: exclude: [
|
||||
"ci",
|
||||
client: filesystem: ".": read: exclude: [
|
||||
"bin",
|
||||
"**/node_modules",
|
||||
"cmd/dagger/dagger",
|
||||
"cmd/dagger/dagger-debug",
|
||||
]
|
||||
client: filesystem: "./build": write: contents: actions.build.output
|
||||
client: filesystem: "./bin": write: contents: actions.build.output
|
||||
|
||||
actions: {
|
||||
_source: client.filesystem["../"].read.contents
|
||||
_source: client.filesystem["."].read.contents
|
||||
|
||||
// FIXME: this can be removed once `go` supports built-in VCS info
|
||||
version: {
|
||||
@ -103,6 +103,7 @@ dagger.#Plan & {
|
||||
}
|
||||
|
||||
cue: docker.#Build & {
|
||||
// FIXME: spin off into its own package?
|
||||
steps: [
|
||||
alpine.#Build & {
|
||||
packages: bash: _
|
1
ci/.gitignore
vendored
1
ci/.gitignore
vendored
@ -1 +0,0 @@
|
||||
build/*
|
@ -1,7 +0,0 @@
|
||||
# Dagger CI
|
||||
|
||||
WORK IN PROGRESS
|
||||
|
||||
This is the home of the new CI
|
||||
|
||||
Reference: https://github.com/dagger/dagger/issues/1549
|
@ -1 +0,0 @@
|
||||
module: "github.com/dagger/dagger/ci"
|
@ -1 +0,0 @@
|
||||
../../pkg
|
@ -1 +1 @@
|
||||
module: ""
|
||||
module: "github.com/dagger/dagger"
|
||||
|
Reference in New Issue
Block a user