Commit Graph

2682 Commits

Author SHA1 Message Date
Jffarge
0309c07779
Merge pull request #1619 from dagger/dependabot/npm_and_yarn/website/cypress-9.5.0
build(deps-dev): bump cypress from 9.4.1 to 9.5.0 in /website
2022-02-21 09:44:41 +01:00
Jffarge
472d2e19b9
Merge pull request #1638 from dagger/dependabot/npm_and_yarn/website/sass-1.49.8
build(deps): bump sass from 1.49.7 to 1.49.8 in /website
2022-02-21 09:43:51 +01:00
Solomon Hykes
97151b911d
Merge pull request #1600 from TomChv/europa/port-go-package
Port go package to universe
2022-02-18 19:34:24 -08:00
Solomon Hykes
51cc976242
Merge pull request #1603 from TomChv/europa-0.2.0/fix-docker-run-exports-path
Fix docker run exports path
2022-02-18 13:55:31 -08:00
Gerhard Lazu
a01ee5f8b0
Merge pull request #1637 from gerhard/how-to-contribute-new-docs
Answer a few contributor questions via a docs README
2022-02-18 19:33:51 +00:00
dependabot[bot]
2cfa97384c
build(deps): bump sass from 1.49.7 to 1.49.8 in /website
Bumps [sass](https://github.com/sass/dart-sass) from 1.49.7 to 1.49.8.
- [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.49.7...1.49.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-18 19:22:11 +00:00
Gerhard Lazu
1d67845bcf
Answer a few contributor questions via a docs README
Related to:
- https://github.com/dagger/dagger/issues/1327
- https://github.com/dagger/dagger/issues/1510
- https://github.com/dagger/dagger/pull/1579/files#diff-cc0394489dc78fcfe672bb9883b760be86a495bf553b5bc950e6203779f00ae1
- https://github.com/dagger/dagger/pull/1632/files

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-02-18 15:58:23 +00:00
Tom Chauveau
1e384c4e9a
Apply Solomon comments
- Simplify cache id parameter with a field `name`
- Configure GOOS & GOARCH values
- Container image can now be overridden
- Simplify build export

Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-02-18 15:30:34 +01:00
Vasek - Tom C
ce4c1f036f
Resolves #1559
Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-02-18 15:17:33 +01:00
Vasek - Tom C
73829fd9a7
Fix docker.#Run exportFile test.
This test was not calling `docker.#Run` so basically it wasn't doing anything.

Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-02-18 15:15:32 +01:00
Solomon Hykes
18e778c894
Merge pull request #1636 from shykes/yarn-run
yarn: split #Run and #Build
2022-02-17 13:12:31 -08:00
Andrea Luzzardi
d2c38c3bb8
Merge pull request #1633 from helderco/field-rename
Rename image config field for consistency
2022-02-17 12:50:11 -08:00
Solomon Hykes
824573521e yarn: split #Run and #Build
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-02-17 20:28:41 +00:00
Tom Chauveau
2887139bf7
Apply Solomon comments on universe.dagger.io/go
- Improve #Container with a better docker.#Run integration
- Supports concurrency caching in #Container
- Simplify code maintainability and readability
- Simplify binary export in #Build
- Support multi binary building
- External #Version management

Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-02-17 16:01:16 +01:00
Tom Chauveau
e49bb34e87
Port go package to universe to resolves #1553
Definition are now split in their own file.
`#Image` is a simple base image to set up a go container
`#Container` is a standalone environment to execute go command, any go command
should use this definition.
It shares `docker.#Run` fields to easily maintains this definition.
`#Build` and `#Test` are high level definition that use `#Container` to
execute common go operation in a CI.

Those definitions are tested with a simple greeting package.

Signed-off-by: Vasek - Tom C <tom.chauveau@epitech.eu>
2022-02-17 14:57:06 +01:00
Helder Correia
9385a6346a
Rename image config field for consistency
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-02-17 11:14:57 -01:00
Solomon Hykes
5e025dfa2b
Merge pull request #1632 from shykes/docs-new
Utility script to create a new docs page with the correct ID
2022-02-17 00:44:26 -08:00
Solomon Hykes
724be92bb4 Utility script to create a new docs page with the correct ID
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-02-17 01:41:59 +00:00
Solomon Hykes
c08d9d9e4c
Merge pull request #1579 from shykes/api-cosmetics
Merge dagger.io/dagger/engine into dagger.io/dagger
2022-02-16 12:21:44 -08:00
Solomon Hykes
c2766c265b Merge dagger.io/dagger/engine into dagger.io/dagger
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-02-16 19:40:28 +00:00
Andrea Luzzardi
bf6d463833
Merge pull request #1557 from talentedmrjones/europa-engine-exec-secret-env
implemented ability to pass #Secret as env var
2022-02-15 16:30:13 -07:00
Andrea Luzzardi
5b5d990f9f
Merge pull request #1618 from talentedmrjones/europa-up-doesnt-vendor
Implemented --no-vendor
2022-02-15 16:13:47 -07:00
Andrea Luzzardi
2973bc5766
Merge pull request #1621 from shykes/dag-plan
Rename dagger.#DAG to dagger.#Plan
2022-02-15 16:13:04 -07:00
Solomon Hykes
3d56513895 Rename dagger.#DAG to dagger.#Plan
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-02-15 22:45:47 +00:00
Richard Jones
3c57630b0e
implemented ability to pass #Secret as env var
Signed-off-by: Richard Jones <richard@dagger.io>
2022-02-15 12:58:35 -07:00
dependabot[bot]
78e7a0ee64
build(deps-dev): bump cypress from 9.4.1 to 9.5.0 in /website
Bumps [cypress](https://github.com/cypress-io/cypress) from 9.4.1 to 9.5.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/v9.4.1...v9.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-15 19:14:54 +00:00
Andrea Luzzardi
e3131671a7
Merge pull request #1616 from dagger/dependabot/npm_and_yarn/website/follow-redirects-1.14.8
build(deps): bump follow-redirects from 1.14.7 to 1.14.8 in /website
2022-02-14 15:39:11 -07:00
Andrea Luzzardi
a0395b9340
Merge pull request #1606 from dagger/dependabot/go_modules/go.opentelemetry.io/otel/exporters/jaeger-1.4.0
build(deps): bump go.opentelemetry.io/otel/exporters/jaeger from 1.3.0 to 1.4.0
2022-02-14 15:38:59 -07:00
dependabot[bot]
e4ee5a3d10
build(deps): bump go.opentelemetry.io/otel/exporters/jaeger
Bumps [go.opentelemetry.io/otel/exporters/jaeger](https://github.com/open-telemetry/opentelemetry-go) from 1.3.0 to 1.4.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.3.0...v1.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 22:24:13 +00:00
Andrea Luzzardi
9641b4254c
Merge pull request #1609 from dagger/dependabot/npm_and_yarn/website/amplitude-js-8.17.0
build(deps): bump amplitude-js from 8.16.1 to 8.17.0 in /website
2022-02-14 15:22:49 -07:00
Andrea Luzzardi
6d4923116d
Merge pull request #1605 from dagger/dependabot/go_modules/go.opentelemetry.io/otel/sdk-1.4.0
build(deps): bump go.opentelemetry.io/otel/sdk from 1.3.0 to 1.4.0
2022-02-14 15:22:38 -07:00
Andrea Luzzardi
fc1cb88991
Merge pull request #1604 from dagger/dependabot/docker/golang-1.16.14-alpine
build(deps): bump golang from 1.16.13-alpine to 1.16.14-alpine
2022-02-14 15:22:27 -07:00
Richard Jones
071c3bafe1
Implemented --no-vendor
Signed-off-by: Richard Jones <richard@dagger.io>
2022-02-14 14:26:37 -07:00
dependabot[bot]
1cd6441f88
build(deps): bump follow-redirects from 1.14.7 to 1.14.8 in /website
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 08:33:54 +00:00
Solomon Hykes
eee71d0382
Merge pull request #1613 from shykes/yarn-image
yarn: enable image customization
2022-02-13 13:20:57 -08:00
Gerhard Lazu
c624081d5c
Merge pull request #1602 from dagger/europa-docs-go-on-docker-swarm
Europa docs: Go on Docker Swarm
2022-02-12 18:49:30 +00:00
Gerhard Lazu
d838cd6047
Fix markdown lint errors
Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-02-12 18:37:03 +00:00
Gerhard Lazu
3a2f861dd9
Finish the first version of the Go on Docker Swarm use case
Left a few TODOs and ideas for next steps. The goal is to get this live,
and enable others to iterate on it via separate PRs.

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-02-12 18:27:19 +00:00
Solomon Hykes
a6502c7947 yarn: enable image customization
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-02-12 07:40:30 +00:00
Solomon Hykes
27aa487b21
Merge pull request #1610 from shykes/netlify-image
netlify: enable image customization; improve tests
2022-02-11 17:08:26 -08:00
Solomon Hykes
fbae253f62 netlify: enable image customization; improve tests
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-02-11 23:31:35 +00:00
dependabot[bot]
8556aa1f39
build(deps): bump amplitude-js from 8.16.1 to 8.17.0 in /website
Bumps [amplitude-js](https://github.com/amplitude/amplitude-javascript) from 8.16.1 to 8.17.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.16.1...v8.17.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>
2022-02-11 19:14:49 +00:00
dependabot[bot]
336668c230
build(deps): bump go.opentelemetry.io/otel/sdk from 1.3.0 to 1.4.0
Bumps [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go) from 1.3.0 to 1.4.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.3.0...v1.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-11 19:07:43 +00:00
dependabot[bot]
f95fa199ab
build(deps): bump golang from 1.16.13-alpine to 1.16.14-alpine
Bumps golang from 1.16.13-alpine to 1.16.14-alpine.

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-11 19:07:05 +00:00
guillaume
f4da5b9a95 Fix .md H1 to H3 error
Change the `.markdownlint.yaml` to avoid forcing headers to chronologically follow

Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2022-02-11 17:08:25 +01:00
Gerhard Lazu
3747c6e5c4
First pass at the Go on Docker Swarm doc page
There are a few more things to do before we can finish this, see the
comments in the doc. The most important item is to switch the Dagger
config to Europa. That is actually one of the next steps.

Sharing this early so that we start collaborating. Pushing to a branch
in the dagger org so that we can work on it together (personal
repositories make it more difficult).

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-02-11 15:35:24 +00:00
Solomon Hykes
b52684ff85
Merge pull request #1150 from sw360cab/feature-docker-run-cmd
Add Feature to leverage custom command inside Docker.#Run
2022-02-10 22:39:23 -08:00
sw360cab
e6244aeedc Add Feature to leverage custom command inside Docker.#Run
Signed-off-by: Sergio Maria Matone <sw360cab@gmail.com>
2022-02-11 01:02:44 +00:00
Gerhard Lazu
a693e19f13
Merge pull request #1593 from gerhard/more-descriptive-names-for-github-checks
Use more descriptive names for GitHub Checks
2022-02-10 12:04:33 +00:00
Gerhard Lazu
15f156e8c7
Use more descriptive names for GitHub Checks
The existing checks didn't read well in the `gh` cli:

    ❯ gh pr checks
    All checks were successful
    0 failing, 7 successful, 0 skipped, and 0 pending checks

    ✓  DCO                                 https://probot.github.io/apps/dco/
    ✓  Docs                         6m37s  https://github.com/dagger/dagger/runs/5136044870?check_suite_focus=true
    ✓  Everything                   1m43s  https://github.com/dagger/dagger/runs/5136044863?check_suite_focus=true
    ✓  Integration                  4m10s  https://github.com/dagger/dagger/runs/5136044871?check_suite_focus=true
    ✓  Universe                     11m6s  https://github.com/dagger/dagger/runs/5136044860?check_suite_focus=true
    ✓  Universe - Europa            3m18s  https://github.com/dagger/dagger/runs/5136044932?check_suite_focus=true
    ✓  netlify/devel-docs-dagge...         https://app.netlify.com/sites/devel-docs-dagger-io/deploys/620499ee88ee240008b6cabf

This change gives them more descriptive names:

    ❯ gh pr checks
    All checks were successful
    0 failing, 8 successful, 0 skipped, and 0 pending checks

    ✓  DCO                                             https://probot.github.io/apps/dco/
    ✓  Integration Tests                       4m22s   https://github.com/dagger/dagger/runs/5139842686?check_suite_focus=true
    ✓  Lint                                    1m29s   https://github.com/dagger/dagger/runs/5139842774?check_suite_focus=true
    ✓  Test Docs                               7m44s   https://github.com/dagger/dagger/runs/5139842682?check_suite_focus=true
    ✓  Unit Tests                              2m11s   https://github.com/dagger/dagger/runs/5139842684?check_suite_focus=true
    ✓  Universe Tests                          13m14s  https://github.com/dagger/dagger/runs/5139842932?check_suite_focus=true
    ✓  Universe Tests - Europa                 2m36s   https://github.com/dagger/dagger/runs/5139842678?check_suite_focus=true
    ✓  netlify/devel-docs-dagger-io/deploy...          https://deploy-preview-1593--devel-docs-dagger-io.netlify.app

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-02-10 11:31:21 +00:00