Commit Graph

3192 Commits

Author SHA1 Message Date
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
Gerhard Lazu
b2aaa3f440
Merge pull request #1592 from gerhard/netlify-docs-deploys-always-deploy
Always deploy the docs website when a Netlify build gets triggered
2022-02-10 11:10:33 +00:00
Gerhard Lazu
5de4a7e75b
Always build the docs website
If we trigger a deploy, then we want the deploy to actually run.

I am assuming that this was in place when there was a single GitHub
Actions workflow that would trigger this all the time, even when nothing
changed in `docs/**`. Since https://github.com/dagger/dagger/pull/1498,
we no longer have this problem.

After merging https://github.com/dagger/dagger/pull/1591, I was caught
by this behaviour which to me seemed surprising. This change should make
docs deploy via Netlify behave in a more predictable way.

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-02-10 11:07:46 +00:00
Gerhard Lazu
a393133861
Merge pull request #1591 from gerhard/deploy-docs-on-commit-to-main
Deploy docs on every commit to the main branch
2022-02-10 10:45:53 +00:00
Gerhard Lazu
a14c2eaad1
Deploy docs on every commit to the main branch
We want doc updates to flow continuously, not just on a new tag.

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-02-10 10:30:08 +00:00
Gerhard Lazu
266effb78f
Merge pull request #1568 from gerhard/europa-docs
Shape of the new Europa docs
2022-02-10 09:55:47 +00:00
Gerhard Lazu
78d5d49f2c
Add the must-have pages for the Europa release
The goal is to capture the shape of the new docs. It is not meant to be
final, but it should be as close as possible. We only want the bare
minimum for new users that on-board with Dagger Europa. As soon as the
new europaSidebar replaces replaces the existing one, the previous docs
will still remain available - doc IDs are unique and permanent. We will
do this by simply changing the default `slug: /` to point to the Europa
Docs entrypoint, which is doc 1200.

Helpful Docusaurus link re multiple sidebars:
https://docusaurus.io/docs/sidebar/multiple-sidebars

The new pages are numbered from `1200` onwards. This is meant to reflect
the `0.2.0` Dagger version. This numbering felt more meaningful than
just continuing to increment existing numbers.

I didn't want to be "wasteful" with the digits and start at `2000`, but
that was my first instinct.

I am keen on getting this live on https://docs.dagger.io/1200/local-ci.
Anything that is not in production, is inventory. Inventory is bad.

The goal is to allow anyone that has a link to get a feel for the new
docs as soon as possible, so that we can all see how they improve in
real-time, and steer them continuously towards the desired state. We
should be aware of the timeline, and not muck about, but instead
evaluate constantly how close are we to "flipping the switch".

Remember, the best releases are those where switches are flipped (e.g.
`--europa)`. The feature will have been out there for weeks (maybe even
months), improved by talking to users and then one day realising that we
are done, and just enabling it by default. It's the same principle
behind these docs.

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-02-10 09:47:07 +00:00
Gerhard Lazu
4b1c54195f
Merge pull request #1567 from gerhard/use-unique-ids-for-all-doc-pages
Use unique IDs for all existing doc pages
2022-02-10 07:57:30 +00:00
Gerhard Lazu
c8e42af05a
Use unique IDs for all existing doc pages
- what_is didn't have an id, started with 1000 (it's easier to find this file now)
- operator-manual doc id was clashing with ci use-case

Signed-off-by: Gerhard Lazu <gerhard@lazu.co.uk>
2022-02-10 07:38:11 +00:00
Solomon Hykes
1f357df4f8
Merge pull request #1580 from shykes/docker-run-simplify
docker.#Run: remove redundant `image` field
2022-02-09 13:40:44 -08:00
Solomon Hykes
ce1a5659eb docker.#Run: remove redundant image field
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-02-09 19:59:22 +00:00
Solomon Hykes
b251528535
Merge pull request #1585 from shykes/universe-tests
yarn: cleanup tests
2022-02-09 09:30:33 -08:00
Solomon Hykes
a351962f9b
Merge pull request #1584 from shykes/changelog-bugfix
universe.dagger.io/examples/changelog.com: successful build
2022-02-09 01:04:51 -08:00
Solomon Hykes
b23a90c9b1 yarn: cleanup tests
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-02-09 08:58:34 +00:00
Solomon Hykes
e8a62cb3aa universe.dagger.io/examples/changelog.com: successful build
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-02-09 08:49:44 +00:00
Solomon Hykes
75edd1b983
Merge pull request #1583 from shykes/changelog
universe.dagger.io/examples/changelog.com: cleanup and fixes
2022-02-09 00:42:50 -08:00
Solomon Hykes
5a1ce0acac universe.dagger.io/examples/changelog.com: cleanup and fixes
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-02-09 08:34:54 +00:00
Solomon Hykes
b55d249c4d
Merge pull request #1582 from shykes/symlinks
Fix cue eval from pkg/universe.dagger.io
2022-02-09 00:08:51 -08:00
Solomon Hykes
80f9a65ca7 Fix cue eval from pkg/universe.dagger.io
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-02-09 08:04:24 +00:00
Solomon Hykes
4d345ccdef
Merge pull request #1577 from shykes/universe-tests-cleanup
Cleanup universe tests
2022-02-08 19:52:33 -08:00
Solomon Hykes
7502bc876b netlify: cleanup tests
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-02-09 01:41:36 +00:00
Solomon Hykes
20e1ac9d7f docker: cleanup tests
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-02-09 01:41:36 +00:00
Solomon Hykes
090ecfb9f2 bash: cleanup tests
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-02-09 01:41:36 +00:00
Solomon Hykes
cf6fadbeda alpine: cleanup tests
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-02-09 01:41:33 +00:00
Solomon Hykes
f7f2b2549f
Merge pull request #1576 from shykes/yarn-cache-optional
yarn.#Build: simpler API, better tests
2022-02-08 15:27:06 -08:00
Solomon Hykes
e6b5fd3de9 yarn.#Build: simpler API, better tests
* Remove mandatory 'cache' field
* New 'name' field to customize cache IDs instead
* Simplify and expand tests

Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-02-08 23:02:03 +00:00
Solomon Hykes
73ea958eca
Merge pull request #1573 from shykes/bash-run-improve
Improve bash.#Run
2022-02-08 15:00:50 -08:00
Solomon Hykes
013900c2a2 bash.#Run: new and improved
* Script is written to filesystem, not inlined as argument
* Pass script either as string, or directory+filename

Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-02-08 22:00:25 +00:00
Solomon Hykes
4944bead44
Merge pull request #1575 from shykes/fix-lint
Fix docs lint errors
2022-02-08 12:20:17 -08:00
Solomon Hykes
fab39bf3f7 Fix docs lint errors
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-02-08 20:12:05 +00:00
Solomon Hykes
3231d69d06
Merge pull request #1550 from talentedmrjones/europa-decode-secret-task
implemented #DecodeSecret as engine task
2022-02-08 11:48:14 -08:00
Solomon Hykes
298a119b09
Merge pull request #1569 from shykes/docker-run-tweak
Simplify docker.#Run
2022-02-08 09:58:22 -08:00
Jffarge
fa41177e1a
Merge pull request #1564 from gcoguiec/typo
typo: Fix minor typos.
2022-02-08 09:30:53 +01:00
Guillaume Coguiec
bd0f276d30
typo: Fix some minor typos.
Signed-off-by: Guillaume Coguiec <guillaume@logical.work>
2022-02-07 21:10:25 -05:00
Solomon Hykes
354334a3dc Simplify docker.#Run
* `cmd` is renamed to `command` for readability
  * `script` is removed. Feature moves up the stack (bash.#Run,
    python.#Run)

Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-02-08 01:35:51 +00:00
Gerhard Lazu
c04d0cdd0b
Merge pull request #1562 from slumbering/fix/make-web-crash
Fix/make web crash
2022-02-07 11:09:41 +00:00
jffarge
071fac3b8f docs: 🔥 remove .config folder generated by docusaurus
Signed-off-by: jffarge <jf@dagger.io>
2022-02-07 11:49:27 +01:00
jffarge
eaf665d1d4 Bump up docusaurus theme + downgrade mdx-js/react causing issue with docusaurus config
Signed-off-by: jffarge <jf@dagger.io>
2022-02-07 11:47:35 +01:00
Richard Jones
f3a75f8d74
improved handling of p []cue.Selector in for loop
Signed-off-by: Richard Jones <richard@dagger.io>
2022-02-05 10:01:06 -07:00
Richard Jones
3ce41fedf1
improved handling of p []cue.Selector
Signed-off-by: Richard Jones <richard@dagger.io>
2022-02-05 09:54:38 -07:00
Richard Jones
a087161fbb implemented #DecodeSecret as engine task
Signed-off-by: Richard Jones <richard@dagger.io>
2022-02-04 14:03:55 -07:00