Commit Graph

439 Commits

Author SHA1 Message Date
Sam Alba
ea02b579d6 stdlib: implemented aws/eks
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-18 15:51:56 -07:00
Andrea Luzzardi
53e98e8ef5
Merge pull request #196 from dagger/fetchgit-cache-fix
pipeline: FetchGit: make a copy of the content to avoid caching issues
2021-03-18 14:48:34 -07:00
Andrea Luzzardi
1309af9c9c
Merge pull request #197 from dagger/logger-json
logger: serialize unknown fields to json
2021-03-18 11:50:44 -07:00
Andrea Luzzardi
29e8c3b94b
Merge pull request #195 from dagger/update-daggerignore
update .daggerignore
2021-03-18 11:19:20 -07:00
Andrea Luzzardi
5cd3aa5001 logger: serialize unknown fields to json
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-18 11:18:50 -07:00
Andrea Luzzardi
5b1e7eeacf pipeline: FetchGit: make a copy of the content to avoid caching issues
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-18 11:18:06 -07:00
Sam Alba
f7457e2cba Simplified infra args to be more intuitive + moved EKS worker node group to managed nodes instead of plain ec2 instances
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-18 10:42:45 -07:00
Andrea Luzzardi
b1b2118431 update .daggerignore
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-18 10:04:13 -07:00
Andrea Luzzardi
6cecde59fd
Merge pull request #192 from verdverm/daggerignore
implement .daggerignore
2021-03-18 10:00:16 -07:00
Tony Worm
3dab86694e impl test, log patterns when .daggerignore found, lint, fix stdlib/file test imports
Signed-off-by: Tony Worm <tony@hofstadter.io>
2021-03-18 12:38:50 -04:00
Solomon Hykes
a407019349 Expand README content, split into multiple files
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-17 23:08:50 -07:00
Andrea Luzzardi
a20ec1269b
Merge pull request #191 from dagger/buildkit-wait-ready
buildkit: wait for buildkitd to be ready before connecting
2021-03-17 17:56:19 -07:00
Tony Worm
a1ba7aa59c implement .daggerignore
Signed-off-by: Tony Worm <tony@hofstadter.io>
2021-03-17 19:55:28 -04:00
Sam Alba
d282180ae6 stdlib: fixed deprecation error in cloudformation.cue
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-17 15:30:14 -07:00
Andrea Luzzardi
d7e9c91b01 buildkit: wait for buildkitd to be ready before connecting
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-17 14:54:51 -07:00
Solomon Hykes
11e4c69011 README: Application Delivery as Code (ADC)
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-17 01:11:40 -07:00
Solomon Hykes
db40d98d8a Improve overall explanation in README
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-16 19:45:28 -07:00
Sam Alba
5900ec24ec implemented EKS infra provisioning with CFN
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-03-16 17:45:34 -07:00
Andrea Luzzardi
c42ccd4385
Merge pull request #182 from verdverm/add-missing-ops
add missing ops to #Op in stdlib/llb
2021-03-16 14:27:26 -07:00
Tony Worm
13198f8560 fix TitleCase error
Signed-off-by: Tony Worm <tony@hofstadter.io>
2021-03-16 16:59:32 -04:00
Tony Worm
3a9b33f028 move timeout to golangci-lint command
Signed-off-by: Tony Worm <tony@hofstadter.io>
2021-03-16 15:33:52 -04:00
Tony Worm
587e1d2d89 increase lint action timeout to 3m
Signed-off-by: Tony Worm <tony@hofstadter.io>
2021-03-16 15:26:39 -04:00
Tony Worm
aebf466b14 cuefmt
Signed-off-by: Tony Worm <tony@hofstadter.io>
2021-03-16 15:20:29 -04:00
Tony Worm
7ec96c45f8 add missing ops to #Op in stdlib/llb
Signed-off-by: Tony Worm <tony@hofstadter.io>
2021-03-16 13:56:35 -04:00
Solomon Hykes
54a2fe4393 stdlib package: llb
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-15 22:25:18 -07:00
Tony Worm
b1b534992a fix lint errors
Signed-off-by: Tony Worm <tony@hofstadter.io>
2021-03-15 22:08:54 -07:00
Tony Worm
0e32bc68f8 add file ops
Signed-off-by: Tony Worm <tony@hofstadter.io>
2021-03-15 22:08:54 -07:00
Tony Worm
472070d7f8 add #WriteFile and #Mkdir to #Op
Signed-off-by: Tony Worm <tony@hofstadter.io>
2021-03-15 22:08:54 -07:00
Solomon Hykes
6460a5c9fc Rename dagger.#Dir to dagger.#Artifact
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-13 00:11:59 -08:00
Andrea Luzzardi
3ce985b594
Merge pull request #176 from dagger/lint-tests
test: lint cue test files
2021-03-12 18:17:43 -08:00
Andrea Luzzardi
b04c046234 test: lint cue test files
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-12 18:12:58 -08:00
Andrea Luzzardi
657ba7ce34
Merge pull request #175 from dagger/test-push
test: PushContainer
2021-03-12 18:12:01 -08:00
Solomon Hykes
1f874025aa Improve examples using go & docker stdlib packages
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-12 18:10:36 -08:00
Solomon Hykes
be64c1576b stdlib package: git
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-12 18:10:36 -08:00
Solomon Hykes
41c973ba04 stdlib package: docker
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-03-12 18:10:36 -08:00
Andrea Luzzardi
5ccf617245 ci: install git-crypt
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-12 17:31:10 -08:00
Andrea Luzzardi
19b9ec2721 ci: remove build, already done by integration tests
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-12 17:20:05 -08:00
Andrea Luzzardi
e7ecc87631 ci: login to dockerhub
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-12 17:12:55 -08:00
Andrea Luzzardi
9887166c71 test: add push-container
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-12 17:12:55 -08:00
Andrea Luzzardi
9725b8de69 test: add secrets for testing
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-12 17:03:22 -08:00
Andrea Luzzardi
9d916a2fc2
Merge pull request #173 from dagger/push-container
Push Container Support
2021-03-12 15:52:52 -08:00
Andrea Luzzardi
b15c841a24 pipeline: Use result rather than source LLB of sub-pipelines
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-12 13:41:24 -08:00
Andrea Luzzardi
c923e5042b cleanup: solver/fs
- Solver: Encapsulates all access to Buildkit. Can solve plain LLB, invoke external frontends (for DockerBuild) and export (for ContainerPush)
- FS (now BuildkitFS) implements the standard Go 1.16 io/fs.FS interface and provides a read-only filesystem on top of a buildkit result. It can be used with built-ins such as fs.WalkDir (no need to have our own Walk functions anymore)
- Moved CueBuild into compiler.Build since it no longer depends on Buildkit. Instead it relies on the io/fs.FS interface, which is used both for the base config and the stdlib (go:embed also uses io/fs.FS). Overlaying base and the stdlib is now done by the same code.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-12 13:38:49 -08:00
Andrea Luzzardi
fa7308ab94
Merge pull request #172 from dagger/dependabot/go_modules/cuelang.org/go-0.3.0-beta.6
build(deps): bump cuelang.org/go from 0.3.0-beta.5 to 0.3.0-beta.6
2021-03-12 00:04:08 -08:00
Andrea Luzzardi
eba0440b93
Merge pull request #171 from dagger/dependabot/docker/golang-1.16.2-alpine
build(deps): bump golang from 1.16.1-alpine to 1.16.2-alpine
2021-03-11 23:58:25 -08:00
Andrea Luzzardi
90641cea2d ci: update cue versioning schema
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-11 23:57:23 -08:00
dependabot[bot]
bd7eb64048
build(deps): bump cuelang.org/go from 0.3.0-beta.5 to 0.3.0-beta.6
Bumps cuelang.org/go from 0.3.0-beta.5 to 0.3.0-beta.6.

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-12 07:21:01 +00:00
dependabot[bot]
b2737eaae1
build(deps): bump golang from 1.16.1-alpine to 1.16.2-alpine
Bumps golang from 1.16.1-alpine to 1.16.2-alpine.

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-12 07:07:03 +00:00
Andrea Luzzardi
c35eca99e1 push container support
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-03-11 16:41:19 -08:00
Andrea Luzzardi
78236470f7
Merge pull request #169 from dagger/pin-go-version
dockerfile: pin go version
2021-03-11 12:18:11 -08:00