Commit Graph

2215 Commits

Author SHA1 Message Date
Andrea Luzzardi
b8dcc02bb8 performance: compile CUE client side
Restructured the compile logic to happen on the CLI instead of the
BuildKit frontend.

- Avoid uploading the entire workspace to BuildKit on every compilation
- Let the CUE loader scan the files instead of going through the
  BuildKit filesystem gRPC APIs.

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-08-20 16:34:49 +02:00
Andrea Luzzardi
18c4978f07
Merge pull request #779 from TomChv/fix-docker-push-data-race
Fix data race condition on op.#PushContainer
2021-08-20 16:34:34 +02:00
Tom Chauveau
9adeecd005
Fix data race issue by synchronizing events channel through waiting group
Previously, there was a data race condition error when `op
.#PushContainer` was called. It was because of the `Export` func
in `solver.go` that create a sub build pipeline and forward his
events to the main events channel (that catch all events that we log).
To fix it, channel are now split between build pipeline and
centralize into the old output channel (`ch`).

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-08-20 15:33:15 +02:00
Tom Chauveau
22a9445455
Track data race error
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-08-20 14:09:32 +02:00
Tom Chauveau
970a1988eb
Remove skip for docker.#Push tests
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-08-20 14:08:34 +02:00
dependabot[bot]
dded846a82
build(deps): bump react-social-login-buttons in /website
Bumps [react-social-login-buttons](https://github.com/MichalSzorad/react-social-login-buttons) from 3.5.0 to 3.5.1.
- [Release notes](https://github.com/MichalSzorad/react-social-login-buttons/releases)
- [Commits](https://github.com/MichalSzorad/react-social-login-buttons/commits)

---
updated-dependencies:
- dependency-name: react-social-login-buttons
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-19 19:15:06 +00:00
Sam Alba
cb746e165f
Merge pull request #891 from TomChv/fix/input-git-subdir
Fix input git subdir argument
2021-08-19 20:30:15 +02:00
Sam Alba
cf55a45105
Merge pull request #892 from TomChv/feat/cli-optional-input
Improve dagger input UX
2021-08-19 20:29:03 +02:00
Sam Alba
99033e8bd1
Merge pull request #889 from sujaypillai/az-storage
Adding support for azure storage
2021-08-19 01:40:01 +02:00
Tom Chauveau
3c1c0f13f6
Improve dagger input UX (solve #874)
Add new argument `--show-optional` to `dagger input list`.
Now by default, `dagger input list` will only show required input.
To get all inputs (including those with default value), you can use
that new argument.

Test has been updated to support changes.

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-08-17 17:13:30 +02:00
Tom Chauveau
c637549b15
Fix input git to correctly handle subdir argument (solve #884)
Previously, the subdir argument wa ignored by dagger input git.
I've fix that behavior and add a test.

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-08-17 15:06:28 +02:00
dependabot[bot]
30f1e0f41e
build(deps): bump url-parse from 1.5.1 to 1.5.3 in /website
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.1 to 1.5.3.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.1...1.5.3)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-17 12:18:37 +00:00
Andrea Luzzardi
3b5b83012a
Merge pull request #880 from slumbering/docsearch-crawler
change algolia apikey + add conf file
2021-08-17 14:18:03 +02:00
Sujay Pillai
7481294a8c Adding support for azure storage
Signed-off-by: Sujay Pillai <sujayopillai@gmail.com>
2021-08-17 17:23:01 +08:00
dependabot[bot]
f17a930fcf
build(deps): bump amplitude-js from 8.3.1 to 8.5.0 in /website
Bumps [amplitude-js](https://github.com/amplitude/amplitude-javascript) from 8.3.1 to 8.5.0.
- [Release notes](https://github.com/amplitude/amplitude-javascript/releases)
- [Changelog](https://github.com/amplitude/Amplitude-JavaScript/blob/main/CHANGELOG.md)
- [Commits](https://github.com/amplitude/amplitude-javascript/compare/v8.3.1...v8.5.0)

---
updated-dependencies:
- dependency-name: amplitude-js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-16 19:12:56 +00:00
Sam Alba
1e7c3cbc15
Merge pull request #881 from sujaypillai/azure-cli
Adding support for azure and create a resource group
2021-08-13 22:54:46 +02:00
Sam Alba
766fe6570c
Merge pull request #885 from samalba/fix-s3-cache
stdlib/aws/s3: replaced sync with cp by default to avoid cache issues
2021-08-13 22:53:36 +02:00
Sam Alba
35fb7e0cfc stdlib/aws/s3: replaced sync with cp by default to avoid cache issues
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-08-13 13:37:24 -07:00
Tihomir Jovicic
6a0b74416a support upgrading existing packages with empty mod get command
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-08-12 10:48:13 +02:00
Tihomir Jovicic
2102e78c1f test pulling private git repos using mod get command
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-08-12 09:59:28 +02:00
Sujay Pillai
f979135961 Amending changes from @TomChv
Signed-off-by: Sujay Pillai <sujayopillai@gmail.com>
2021-08-12 01:51:41 +08:00
Sujay Pillai
a99fc52eeb Amending changes from @TomChv
Signed-off-by: Sujay Pillai <sujayopillai@gmail.com>
2021-08-12 01:44:03 +08:00
Sujay Pillai
d74753bca7 Amending changes from @TomChv
Signed-off-by: Sujay Pillai <sujayopillai@gmail.com>
2021-08-12 01:37:17 +08:00
Guillaume de Rouville
bdd6b5a56e Port azure.#CLI from up to os.#Container + manual testing + integrate bats test
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-08-11 16:39:35 +02:00
jffarge
e9f829d99d docs:
Signed-off-by: jffarge <jf@dagger.io>
2021-08-10 23:52:15 +02:00
jffarge
d30b729b0c docs: 👽 add algolia app ID
Signed-off-by: jffarge <jf@dagger.io>
2021-08-10 23:47:31 +02:00
Sujay Pillai
5908aa628e Adding support for azure and create a resource group
Signed-off-by: Sujay Pillai <sujayopillai@gmail.com>
2021-08-11 01:20:16 +08:00
jffarge
8d8a108a75 docs: 👽 change algolia apikey + add conf file
Signed-off-by: jffarge <jf@dagger.io>
2021-08-10 16:40:28 +02:00
Sam Alba
eadd075254
Merge pull request #879 from slumbering/menu-order
change menu order
2021-08-10 15:47:12 +02:00
jffarge
868339e174 docs: init cypress test e2e
Signed-off-by: jffarge <jf@dagger.io>
2021-08-10 15:39:13 +02:00
jffarge
22095554a9 docs: 📝 change menu order
Signed-off-by: jffarge <jf@dagger.io>
2021-08-10 15:16:08 +02:00
Tihomir Jovicic
050d1fcb3f add support for cloning private repos in mod get command
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-08-10 12:23:03 +02:00
Sam Alba
ac56f4490c
Merge pull request #878 from slumbering/830-target-blank
display target blank icon only for sidebar menu
2021-08-09 13:48:52 +02:00
jffarge
31d36e5293 fix: 🐛 display target blank icon only for sidebar menu
Signed-off-by: jffarge <jf@dagger.io>
2021-08-09 11:54:28 +02:00
Tihomir Jovicic
4f8128abcb fix installing packages using workspace dir
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-08-09 08:05:39 +02:00
Tihomir Jovicic
29ddcca32e fix mod command lint errors
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-08-09 07:48:45 +02:00
Tihomir Jovicic
c7653dc09c Update package manager dependency parsing
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-08-09 07:41:25 +02:00
Andrea Luzzardi
795430024b
Merge pull request #876 from aluzzardi/docs-feedback
docs: collect feedback form
2021-08-06 15:42:08 +02:00
Andrea Luzzardi
2b5e789b89 docs: hotjar
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-08-06 15:41:17 +02:00
Andrea Luzzardi
ea14025e85 docs: collect feedback form
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-08-06 15:29:23 +02:00
Andrea Luzzardi
8dc3e74dff
Merge pull request #875 from aluzzardi/disable-gha-cache
ci: disable GHA cache for buildkit
2021-08-06 15:29:01 +02:00
Andrea Luzzardi
5cc1a0f84a ci: disable GHA cache for buildkit
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-08-06 15:08:12 +02:00
Andrea Luzzardi
f45e74d134
Merge pull request #870 from aluzzardi/stdlib-container-no-search
os.#Container: inherit PATH from the container image
2021-08-04 18:07:23 +02:00
Andrea Luzzardi
2401855052
Merge pull request #869 from aluzzardi/ci-use-case
docs: add the CI use case
2021-08-04 16:58:54 +02:00
Andrea Luzzardi
db459ae04d os.#Container: inherit PATH from the container image
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-08-04 16:56:52 +02:00
Andrea Luzzardi
3ace7f6bd2 docs: add the CI use case
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-08-04 16:44:01 +02:00
Tihomir Jovicic
be913b0e90 update mod list tags tests
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-08-04 08:20:58 +02:00
Tihomir Jovicic
e5c8d6eee0 replace module.cue with dagger.mod.cue
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-08-02 11:17:42 +02:00
Tihomir Jovicic
92e6e693f5 fix linting issues
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-08-02 09:35:33 +02:00
Tihomir Jovicic
0010609f4d First version of package manager
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-08-01 21:22:48 +02:00