Commit Graph

2118 Commits

Author SHA1 Message Date
Guillaume de Rouville
cf7e222a04 Fix bats dagger to bats dagger() expansion not working inside shellscript
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-01 11:19:16 +02:00
Guillaume de Rouville
6ef0cfe321 1008: Implement on LocalStack
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-01 11:19:16 +02:00
Tom Chauveau
4d03638911 Add test for kube-gcp cue-manifest step
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-01 11:19:13 +02:00
Tom Chauveau
1830b34e13 Add test for kube-gcp deployment step
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-01 11:18:41 +02:00
Tom Chauveau
2a15682386 Add test for kube-gcp basic step
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-01 11:17:39 +02:00
Tom Chauveau
f24af776db Add test for kube-aws cue-manifest part
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-01 11:17:05 +02:00
Tom Chauveau
5fcaaa6cfe Add test for kube-aws basic & deployment
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-01 11:16:36 +02:00
Tom Chauveau
a91181bb5f Add kubernetes test for kind cue-manifest
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-01 11:16:00 +02:00
Tom Chauveau
bdcb917943 Add kubernetes test for kind deployment
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-01 11:15:02 +02:00
Tom Chauveau
b145d03192 Update CI workflow to test documentation
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-01 11:14:09 +02:00
Tom Chauveau
a8e218d808 Add basic test for kubernetes kind documentation
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-01 11:14:09 +02:00
Tom Chauveau
6a442fae6c Update kubernetes documentation to directly use cue files
Previously, we were embedding cue files directly in the doc, now we
display it from real cue file that we also use to test our doc.

I've add the first step of the kubernetes documentation adapted for
kind

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-09-01 11:14:07 +02:00
Guillaume de Rouville
00f7e63c4a 1010 test implementation
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-01 11:12:41 +02:00
Guillaume de Rouville
2bcd7a7dbf bats - fix 1004 wrong cmd + move helper.bats cmd to make it more generic
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-01 11:12:41 +02:00
Guillaume de Rouville
8e9a56a024 Add doc-test to CI - Add Cue dependency to integration CI test
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-01 11:12:41 +02:00
Guillaume de Rouville
dc865bf2be 1008 test implementation
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-01 11:12:41 +02:00
Guillaume de Rouville
6744045ce7 1006 test implementation
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-01 11:12:41 +02:00
Guillaume de Rouville
82d45985a5 1004 test implementation
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-01 11:12:41 +02:00
Guillaume de Rouville
ad2f9b3f17 1003 test implementation
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-01 11:12:41 +02:00
Guillaume de Rouville
6f0a0b4e0f Doc test suite integration
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-09-01 11:12:41 +02:00
Sam Alba
2d30e3e9ef
Merge pull request #931 from grouville/localstack/fix-input-bool-type
localstack tests: convert back str input to bool type
2021-08-31 09:23:46 -07:00
Sam Alba
4e5f630ad1
Merge pull request #930 from grouville/fix/localstack
ci: re-enable localstack tests
2021-08-31 09:23:18 -07:00
Sam Alba
34224469c1
Merge pull request #928 from tjovicic/update-package-manager-docs
Update package manager docs with new dagger/packages repo
2021-08-31 09:22:25 -07:00
Guillaume de Rouville
6360ccc92b localstack/fix-input-bool-type: change localstack test input from str to bool
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-08-31 17:51:56 +02:00
Tom Chauveau
eabf1b52e5
Update docker push tests
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-08-31 14:44:06 +02:00
Guillaume de Rouville
74b1ac3632 ci: re-enable localstack tests
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-08-31 14:39:45 +02:00
Tom Chauveau
7cc1c8e5dd
Update docker package according to op.#PushContainer improvement
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-08-31 13:05:22 +02:00
Tom Chauveau
a00fbb0f68
Update op.#PushContainer test to use secrets
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-08-31 13:04:57 +02:00
Tom Chauveau
a9fd97d7fe
Handle secrets in DockerLogin operation
Before, secret was a plain text string, but it could lead to security issue
so we are now handling secrets as `dagger.#Secret` or string.
I've add a new struct SecretStore that expose the inputStore to easily
retrieve secret value.

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-08-31 13:04:16 +02:00
Tihomir Jovicic
73dc0200c3 Explain how to develop packages locally
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-08-31 09:13:11 +02:00
Tihomir Jovicic
a903f917c4 update package manager docs with new dagger/packages repo
Signed-off-by: Tihomir Jovicic <tihomir.jovicic.develop@gmail.com>
2021-08-31 06:22:49 +02:00
Sam Alba
fe2845fdfb
Merge pull request #927 from samalba/fix-ci
ci: disabled localstack tests temporarily
2021-08-30 14:13:35 -07:00
Sam Alba
4213491ad8 ci: disabled localstack tests temporarily
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-08-30 14:03:04 -07:00
Sam Alba
9e1f59ed69
Merge pull request #924 from slumbering/kubernetes-docs
use a more generic command
2021-08-30 13:58:37 -07:00
jffarge
4ce7a6675f docs: 📝 fix english grammar
Signed-off-by: jffarge <jf@dagger.io>
2021-08-30 16:47:32 +02:00
jffarge
c19dc934a5 docs: 📝 use a more generic command
Signed-off-by: jffarge <jf@dagger.io>
2021-08-30 16:14:41 +02:00
Sam Alba
47ef0a4c2a
Merge pull request #862 from tjovicic/package-manager
First version of package manager
2021-08-27 15:25:20 -07:00
Sam Alba
f493e4d2d8
Merge pull request #920 from TomChv/feat/git-private-repo
Fetch private git repository
2021-08-27 13:39:37 -07:00
Guillaume de Rouville
08f395b70d Add auth to Git.#Repository
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-08-27 15:58:55 +02:00
Guillaume de Rouville
3b0e3f6919 Move private repository tests + implement env helper function
Signed-off-by: Guillaume de Rouville <guillaume.derouville@gmail.com>
2021-08-27 14:41:31 +02:00
Tom Chauveau
a987d1dc34 Add test on op.#FetchGit for private repository
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-08-27 14:41:31 +02:00
Tom Chauveau
d7194f161d Add secret management to op.#FetchGit operation to fetch private repository
- Update `op.cue` to support secrets
- Update `pipeline.go` to use authTokenSecret & authHeaderSecret

Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-08-27 14:41:31 +02:00
Andrea Luzzardi
1c6d437d2a
Merge pull request #917 from dagger/dependabot/npm_and_yarn/website/sass-1.38.1
build(deps): bump sass from 1.38.0 to 1.38.1 in /website
2021-08-25 13:42:00 +02:00
Andrea Luzzardi
59f5b85bfe
Merge pull request #918 from dagger/dependabot/npm_and_yarn/website/cypress-8.3.0
build(deps-dev): bump cypress from 7.7.0 to 8.3.0 in /website
2021-08-25 13:41:47 +02:00
Andrea Luzzardi
39b4971599
Merge pull request #919 from slumbering/css-for-mobile 2021-08-25 10:57:50 +02:00
jffarge
2c7b8575ca docs: 🐛 fix css for mobile devices
Signed-off-by: jffarge <jf@dagger.io>
2021-08-25 09:38:34 +02:00
dependabot[bot]
6071b83171
build(deps-dev): bump cypress from 7.7.0 to 8.3.0 in /website
Bumps [cypress](https://github.com/cypress-io/cypress) from 7.7.0 to 8.3.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/.releaserc.base.js)
- [Commits](https://github.com/cypress-io/cypress/compare/v7.7.0...v8.3.0)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-24 19:14:17 +00:00
dependabot[bot]
4532b2a467
build(deps): bump sass from 1.38.0 to 1.38.1 in /website
Bumps [sass](https://github.com/sass/dart-sass) from 1.38.0 to 1.38.1.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.38.0...1.38.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-24 19:14:01 +00:00
Sam Alba
a8b3d9325d
Merge pull request #916 from grouville/input-bool
dagger input bool implementation
2021-08-24 10:51:18 -07:00
Sam Alba
9d7b40253d
Merge pull request #896 from grouville/localstack
Localstack integration
2021-08-24 10:10:07 -07:00