Commit Graph

1751 Commits

Author SHA1 Message Date
Andrea Luzzardi
a5df3ab7cd
Merge pull request #274 from fkautz/pr_out_swapping_order_of_test_and_integration_tests_unit_tests_should_run_first 2021-04-04 22:37:41 -07:00
Frederick F. Kautz IV
73c07fd6e9 swapping order of test and integration tests, unit tests should run first
Signed-off-by: Frederick F. Kautz IV <fkautz@alumni.cmu.edu>
2021-04-04 20:36:38 -07:00
Andrea Luzzardi
76f9c5824a
Merge pull request #273 from fkautz/pr_out_fix_build_break 2021-04-04 20:25:09 -07:00
Frederick F. Kautz IV
cb59e23cd4 fix build break
Signed-off-by: Frederick F. Kautz IV <fkautz@alumni.cmu.edu>
2021-04-04 20:00:22 -07:00
Andrea Luzzardi
0c79488a18
Merge pull request #268 from dagger/deployment-multi-path
store: support multiple deployments per path
2021-04-02 17:54:11 -07:00
Sam Alba
45d98d9bf4
Merge pull request #269 from dagger/cli-tests
Cli tests
2021-04-02 17:45:34 -07:00
Sam Alba
a79e13a35c test: fixed input_test.go
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-02 17:32:05 -07:00
Sam Alba
ce6ce871ab moved abs path to DirInput
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-02 17:26:19 -07:00
Solomon Hykes
1829f3324e Docs: buildkit install
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-02 17:18:47 -07:00
Sam Alba
21e0ac21de fixed tests
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-02 17:16:57 -07:00
Sam Alba
a799dd05d7 cli: moved abs path resolve to input.go
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-02 17:14:01 -07:00
Sam Alba
e6b0ca5109 cue fmt
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-02 16:47:49 -07:00
Sam Alba
3e605d1d72 cli: moved input dir to abs path - fixes #254
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-02 16:47:49 -07:00
Sam Alba
b12a3bf45f test: implemented cli tests for input git,dir
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-02 16:47:49 -07:00
Sam Alba
d3fc31ab57 fixed inputs when input target is overriden
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-02 16:47:49 -07:00
Sam Alba
a24dbef0b7 cli: up: restored result display
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-02 16:47:47 -07:00
Sam Alba
f5afb97d03 test: implemented cli test for plan *
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-02 16:47:22 -07:00
Sam Alba
8bb2cfbb21 test: added cli test for new --plan-git
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-04-02 16:47:22 -07:00
Andrea Luzzardi
33a7770459 store: support multiple deployments per path
- Add support for multiple deployments per path in the Store
- Add a bunch of tests
- Change the Lookup deployment API
- Add disambiguation in the CLI commands

Fixes #231

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-02 16:40:20 -07:00
Sam Alba
540f373993
Merge pull request #265 from dagger/query-formats
dagger query [--format cue|json|text|yaml] (default is json)
2021-04-02 16:20:39 -07:00
Andrea Luzzardi
c16455249e cue files: #compute -> #up
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-02 16:08:15 -07:00
Andrea Luzzardi
8a4aa4d42b pipeline: #compute -> #up
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-02 16:08:15 -07:00
Solomon Hykes
e2e56a5143 dagger query [--format cue|json|text|yaml] (default is json)
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-02 23:05:08 +00:00
Andrea Luzzardi
6486e159c1
Merge pull request #261 from dagger/client-api-cleanup
deployment API cleanup
2021-04-02 15:43:31 -07:00
Andrea Luzzardi
33d5add54b deployment API cleanup
The API was a bit confusing with code mixing the usage of Deployment and
DeploymentState.

This change marks a clear separation:

- Client is the only piece of code manipulating *Deployment
- CLI commands can manipulate DeploymentState objects and pass them to
  Client

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-02 15:30:38 -07:00
Andrea Luzzardi
59d934fbf0
Merge pull request #262 from dagger/fix-sops-dependency
go.mod: fix sops dependency
2021-04-02 15:22:52 -07:00
Andrea Luzzardi
6d01389e16 go.mod: fix sops dependency
Taken from https://github.com/dagger/dagger/pull/239

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-02 15:08:48 -07:00
Andrea Luzzardi
6820b99637
Merge pull request #260 from dagger/golangci-gh-action
ci: use golangci github action
2021-04-02 14:30:37 -07:00
Andrea Luzzardi
5b9ee0ed32 linter: replace deprecated scopelint with exportloopref
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-02 14:29:17 -07:00
Andrea Luzzardi
2657a516b3 fix lint error
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-02 14:29:17 -07:00
Andrea Luzzardi
7da33d00fc ci: use golangci github action
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-02 14:29:17 -07:00
Andrea Luzzardi
abc75b4520
Merge pull request #259 from verdverm/update-cue-v0.3.0
update CUE to v0.3.0
2021-04-02 14:24:57 -07:00
Sam Alba
11825932cc
Merge pull request #249 from dagger/integration-test-split
tests: split integration tests
2021-04-02 13:19:12 -07:00
Tony Worm
ff60bd0406 update CUE to v0.3.0
Signed-off-by: Tony Worm <tony@hofstadter.io>
2021-04-02 16:02:44 -04:00
Andrea Luzzardi
13cee6e718
Merge pull request #258 from dagger/dependabot/docker/golang-1.16.3-alpine
build(deps): bump golang from 1.16.2-alpine to 1.16.3-alpine
2021-04-02 09:58:07 -07:00
dependabot[bot]
d85527ede2
build(deps): bump golang from 1.16.2-alpine to 1.16.3-alpine
Bumps golang from 1.16.2-alpine to 1.16.3-alpine.

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-02 07:16:24 +00:00
Andrea Luzzardi
5ae5b1bb50 fix dagger input dir
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-01 23:17:38 -07:00
Andrea Luzzardi
526d3af364 state: store in ~/.dagger
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-01 23:00:30 -07:00
Andrea Luzzardi
4c93f100a0
Merge pull request #252 from dagger/fix-store-root
store: fix root directory
2021-04-01 22:24:57 -07:00
Andrea Luzzardi
d848afe7a9 store: fix root directory
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-01 22:16:29 -07:00
Solomon Hykes
236283ff8f Docs: remove old tutorial, list examples upfront
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-01 22:16:25 -07:00
Solomon Hykes
7241c9a675 New example: hello world
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-01 20:34:47 -07:00
Solomon Hykes
3168129611 Example: docker (not yet documented)
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-01 20:34:47 -07:00
Solomon Hykes
ca4da5e472 Docs: update and polish kubernetes-app and monitoring examples
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-01 20:34:31 -07:00
Andrea Luzzardi
98c4dc790c tests: SUITE=all, SUITE=name, SUITE=-name
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-01 19:13:08 -07:00
Andrea Luzzardi
b229119a3d tests: split integration tests
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-01 18:46:08 -07:00
Andrea Luzzardi
896d303f4a
Merge pull request #247 from dagger/cli-new-plan-git
Cli new plan git
2021-04-01 18:13:24 -07:00
Solomon Hykes
0a28f04857 Don't print the deployment state at the end of each command
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-01 17:54:21 -07:00
Solomon Hykes
67af849dd9 Change default loglevel to INFO (from DEBUG)
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-01 17:49:15 -07:00
Solomon Hykes
0352517f57 Fix linter
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-01 17:49:15 -07:00