Commit Graph

3212 Commits

Author SHA1 Message Date
Sam Alba
a147f130ee cmd/input: added auto-detection for Windows named pipe
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-11-08 17:17:33 -08:00
Sam Alba
e6de59a340 added support for stream type npipe (Windows named pipe)
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-11-08 17:16:38 -08:00
Sam Alba
72935fbc06 added winio to godeps
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-11-08 17:12:46 -08:00
Sam Alba
6acc7e2c4d
Merge pull request #1085 from TomChv/feat/check-universe-version
Improve version checking to also check universe
2021-11-08 15:23:59 -08:00
Andrea Luzzardi
83db176e0c
Merge pull request #1082 from dagger/dependabot/go_modules/go.opentelemetry.io/otel-1.1.0
build(deps): bump go.opentelemetry.io/otel from 1.0.1 to 1.1.0
2021-11-08 13:21:05 -08:00
Andrea Luzzardi
4baf9c90b8
Merge pull request #1097 from dagger/dependabot/go_modules/github.com/containerd/containerd-1.5.7
build(deps): bump github.com/containerd/containerd from 1.5.4 to 1.5.7
2021-11-08 13:20:45 -08:00
Andrea Luzzardi
23d488d462
Merge pull request #1103 from samalba/fix-windows-dir-encoding
state: fixed input dir encoding on windows
2021-11-08 13:20:31 -08:00
Andrea Luzzardi
b956ed4d91
Merge pull request #1106 from slumbering/docs-ui-fixes
remove icons overloading + few css changes
2021-11-08 13:20:12 -08:00
dependabot[bot]
6604b65067
build(deps): bump github.com/containerd/containerd from 1.5.4 to 1.5.7
Bumps [github.com/containerd/containerd](https://github.com/containerd/containerd) from 1.5.4 to 1.5.7.
- [Release notes](https://github.com/containerd/containerd/releases)
- [Changelog](https://github.com/containerd/containerd/blob/main/RELEASES.md)
- [Commits](https://github.com/containerd/containerd/compare/v1.5.4...v1.5.7)

---
updated-dependencies:
- dependency-name: github.com/containerd/containerd
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-08 18:55:31 +00:00
Andrea Luzzardi
f2c8839e18
Merge pull request #1101 from dagger/dependabot/docker/golang-1.16.10-alpine
build(deps): bump golang from 1.16.9-alpine to 1.16.10-alpine
2021-11-08 10:22:34 -08:00
jffarge
07404ae25e docs: 💄 remove icons overloading + few css changes
Signed-off-by: jffarge <jf@dagger.io>
2021-11-08 15:25:46 +01:00
Benjamin Reigner
50496f9bf0
docs: fix cue file path for gcp doc part
In the documentation the specified path for the source.cue indicates
it under the cue.mod folder, meanwhile everything is set up outside of
it. Puting the source.cue file in its specified folder resulted in the
example not working, meanwhile puting it in the gcpcloudrun folder
directly resulted in the example perfectly working

Signed-off-by: Benjamin Reigner <benjamin.reigner@epitech.eu>
2021-11-07 19:50:32 +01:00
Sam Alba
21e1f89f3a state: fixed input dir encoding on windows
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-11-05 17:16:23 -07:00
Sam Alba
88e9662244
Merge pull request #1100 from TomChv/fix/fix-platform-naming
Fix naming convention about arch and platform
2021-11-05 15:21:49 -07:00
dependabot[bot]
9e7b3d2fb1
build(deps): bump golang from 1.16.9-alpine to 1.16.10-alpine
Bumps golang from 1.16.9-alpine to 1.16.10-alpine.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-05 19:06:20 +00:00
Tom Chauveau
a63c4e989a
Change "arch" into "platform" because it's more accurate.
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-11-05 16:21:21 +01:00
Sam Alba
de6afee89c
Merge pull request #1098 from samalba/fix-mod-get
mod: fix mod get
2021-11-04 11:06:42 -07:00
Sam Alba
285edb4cf0 mod: fix mod get
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-11-03 21:53:38 -07:00
Andrea Luzzardi
b4b472390c
Merge pull request #1092 from dagger/dependabot/go_modules/google.golang.org/grpc-1.42.0
build(deps): bump google.golang.org/grpc from 1.41.0 to 1.42.0
2021-11-03 15:08:13 -07:00
Sam Alba
164e6e3eb8
Merge pull request #1094 from samalba/stdlib-docker-run-recreate2
stdlib/docker: #Run does not fail if container exists and recreate is false
2021-11-02 15:34:47 -07:00
Sam Alba
a4761c0f64 stdlib/docker: #Run do not fail if container exists and recreate is false
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-11-02 15:09:15 -07:00
Sam Alba
33685f9bbf
Merge pull request #1090 from samalba/stdlib-docker-run-recreate
stdlib/docker: #Run checks if the container exists and can optionnally recreate it
2021-11-02 14:19:42 -07:00
Sam Alba
7e43838f98 docs: updated generated content
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-11-02 13:32:10 -07:00
dependabot[bot]
f7917cb97b
build(deps): bump google.golang.org/grpc from 1.41.0 to 1.42.0
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.41.0 to 1.42.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.41.0...v1.42.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-02 19:32:52 +00:00
Sam Alba
72723c4ca7 stdlib/docker: #Run checks if the container exists and can optionnally recreate it
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2021-11-02 11:41:53 -07:00
Sam Alba
2cc3f9ad5a
Merge pull request #1089 from TomChv/fix/multi-arch-export
Fix export issue on multi-arch
2021-11-02 10:58:40 -07:00
Tom Chauveau
faf2b76bcb
Fix argoCD timeout in universe test
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-11-02 13:34:42 +01:00
Tom Chauveau
59f67f9cb5
Fix export architecture configuration to resolves #1087
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-11-02 12:59:51 +01:00
Sam Alba
954192118e
Merge pull request #1074 from TomChv/feat/pipeline-platform-config
Handle running architecture configuration
2021-11-01 16:14:20 -07:00
Tom Chauveau
4a461a0021
Fix engine to don't write architecture in values.yaml if no one provided.
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-10-30 12:07:33 +02:00
Tom Chauveau
3ebd076c5d
Fix argoCD timeout
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-10-29 22:31:49 +02:00
Tom Chauveau
8eb01d850b
Fix context issue on dagger version
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-10-29 21:57:16 +02:00
Tom Chauveau
c808f4e828
Add tracking on dagger version
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-10-29 19:34:37 +02:00
Tom Chauveau
5f0a4202c9
Complete version checking with getUniverseCurrentVersion
Dagger now compare the remote universe version with the one written
in dagger.mod.

I've also added logs to easily debug code

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-10-29 19:31:59 +02:00
Sam Alba
564ad09d2b
Merge pull request #1066 from slumbering/universe-http
create http universe package
2021-10-29 09:55:59 -07:00
Sam Alba
48876c04e4
Merge pull request #1067 from slumbering/universe-trivy
init trivy universe
2021-10-29 09:55:16 -07:00
Tom Chauveau
927762481a
Fix dagger mod get to stop requiring environment
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-10-29 18:52:32 +02:00
Tom Chauveau
a3b6940d0b
Improve version checking to also check universe
In the future, universe will not be embedded anymore in dagger,
instead, it will be remotely vendor from `dagger/universe` repository.

To make sure that users always use the latest universe version, the
version checking now also verify that universe is not outdated.
If universe needs an update, a message is printed to standard output.

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-10-29 17:18:45 +02:00
guillaume
3fb03cd2d7 Fix packages + Implement working tests
Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2021-10-29 01:29:55 +02:00
dependabot[bot]
1b61f91486
build(deps): bump go.opentelemetry.io/otel from 1.0.1 to 1.1.0
Bumps [go.opentelemetry.io/otel](https://github.com/open-telemetry/opentelemetry-go) from 1.0.1 to 1.1.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.0.1...v1.1.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-28 19:33:36 +00:00
guillaume
8f6b3e95a8 Fix lint issues
Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2021-10-28 17:58:18 +02:00
jffarge
40f132b77b Execute os file before Atoi execution
Signed-off-by: jffarge <slumbering.pierrot@gmail.com>
2021-10-28 17:20:41 +02:00
jffarge
0e3ca30189 remove comments
Signed-off-by: jffarge <slumbering.pierrot@gmail.com>
2021-10-28 17:20:41 +02:00
jffarge
04781f4e07 add more args for http container test
Signed-off-by: jffarge <slumbering.pierrot@gmail.com>
2021-10-28 17:20:41 +02:00
jffarge
b94b8c0c70 create http universe package
Signed-off-by: jffarge <slumbering.pierrot@gmail.com>
2021-10-28 17:20:41 +02:00
Tom Chauveau
0839cfd1d0
Change default architecture to linux/amd64
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-10-28 16:17:00 +02:00
guillaume
701be92dad Implement #Image
Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2021-10-28 15:52:20 +02:00
guillaume
aac70c2f17 Implement Trivy Config && Trivy CLI
Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2021-10-28 15:52:20 +02:00
jffarge
541d1a7032 init trivy universe
Signed-off-by: jffarge <slumbering.pierrot@gmail.com>
2021-10-28 15:52:20 +02:00
Sam Alba
fa334f4a86
Merge pull request #1076 from samalba/remote-stdlib
Support version constraints on remote modules
2021-10-26 14:54:52 -07:00