Commit graph

38 commits

Author SHA1 Message Date
Erik Sipsma
a35fcbab33 chore: bump default dagger version to v0.12.3
Signed-off-by: Erik Sipsma <erik@sipsma.dev>
2024-07-25 13:55:14 -07:00
vito
fbdf21fc13 bump default Dagger version to v0.12.2
Signed-off-by: vito <suraci.alex@gmail.com>
2024-07-22 15:16:18 -07:00
Erik Sipsma
29d44c5966 bump to engine v0.12.1
Signed-off-by: Erik Sipsma <erik@sipsma.dev>
2024-07-18 16:28:11 -07:00
Josh Ghiloni
e267a26198
fix(ux): increase readability of install step (#136)
* fix(ux): increase readability of install step

The official github self-hosted action container does not include curl in the OS
but because the `curl` command in the GH Action's install step redirects stderr
to /dev/null, it was hard to determine that.

As part of my Dagger interview, @gerhard and I investigated and found that issue.
We changed the `curl` flags from `-sL` to `-fsS` to be more verbose with the
error reporting and remove following redirects, as the move to Cloudfront
obviated the need for that flag.

We also removed the subshell in the install step at the end because it was not
needed and introduced extra complexity.

I could also see checking for the presence of curl at the beginning of the
script and failing quickly with a message, but that was not discussed in the
interview. Given that this happens very quickly and solves for other HTTP errors
it doesn't seem particularly necessary but I could see the potential for it, if
the desire for it was there.

Signed-off-by: Josh Ghiloni <ghiloni@gmail.com>

* Use pipefail when we pipe commands

Use clearer syntax with pipes (functional style similar to Elixir).

Make the shell & if / env obvious in the commands by declaring them
first in the step.

Signed-off-by: Gerhard Lazu <gerhard@dagger.io>

---------

Signed-off-by: Josh Ghiloni <ghiloni@gmail.com>
Signed-off-by: Gerhard Lazu <gerhard@dagger.io>
Co-authored-by: Gerhard Lazu <gerhard@dagger.io>
2024-07-17 11:58:10 +01:00
Justin Chadwell
747585b245
chore: bump default dagger version to v0.12.0 (#135)
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-07-12 17:08:44 +01:00
Erik Sipsma
11048419d8 chore: bump default dagger version to v0.11.9
Signed-off-by: Erik Sipsma <erik@sipsma.dev>
2024-06-25 11:33:25 -07:00
Justin Chadwell
6210aa04aa
chore: bump default dagger version to v0.11.8 (#133)
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-06-19 11:27:49 +01:00
Justin Chadwell
a3c3f2627a chore: bump default dagger version to v0.11.7
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-06-11 20:31:14 -07:00
Erik Sipsma
158efd19b6 chore: bump default dagger version to v0.11.6
Signed-off-by: Erik Sipsma <erik@sipsma.dev>
2024-05-30 16:29:27 -07:00
Justin Chadwell
cf09bf6f30
chore: bump default dagger version to v0.11.5 (#127)
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-05-28 14:35:01 +01:00
Justin Chadwell
53a90075b0
chore: bump default dagger version to v0.11.4 (#124)
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-05-13 19:46:57 +01:00
Justin Chadwell
96374d4565
chore: bump default dagger version to v0.11.3 (#123)
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-05-08 16:25:40 +01:00
Jeremy Adams
51ce834f1a
chore: bump default dagger version to v0.11.2 (#121)
Signed-off-by: Jeremy Adams <jeremy@dagger.io>
2024-05-02 08:16:41 +01:00
Justin Chadwell
eba69b4ddd
chore: bump default dagger version to v0.11.1 (#118)
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-04-16 16:10:55 +01:00
Purple Clay
6cec00fab9
feat: support latest as an option for the version input (#115)
Signed-off-by: purpleclay <purpleclaygh@gmail.com>
2024-04-05 12:27:35 +01:00
Justin Chadwell
5c13044a77
chore: bump default dagger version to v0.11.0 (#116)
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-04-04 16:49:03 +01:00
Gerhard Lazu
698ef94185 Bump default Dagger version to 0.10.2
This is scheduled to release later today, merge this afterwards.

Signed-off-by: Gerhard Lazu <gerhard@dagger.io>
2024-03-12 11:25:16 -07:00
Jeremy Adams
e86a41a730 Add option to not kill Engine
Signed-off-by: Jeremy Adams <jeremy@dagger.io>
2024-01-03 10:59:02 -08:00
Jeremy Adams
c2ba97152a Update to 0.9.5
Signed-off-by: Jeremy Adams <jeremy@dagger.io>
2024-01-03 10:59:02 -08:00
Jeremy Adams
5af6a44b49 Use if to guard docker stop
Signed-off-by: Jeremy Adams <jeremy@dagger.io>
2024-01-03 10:59:02 -08:00
Eli Gladman
5994e78c56 Do not suppress install output
Signed-off-by: Eli Gladman <8713153+egladman@users.noreply.github.com>
2023-12-29 22:41:55 -08:00
Eli Gladman
2ab4131ade Install binary to less permissive location to support self-hosted runners
Signed-off-by: Eli Gladman <8713153+egladman@users.noreply.github.com>
2023-12-29 22:41:55 -08:00
Eli Gladman
d62508b22a gracefully stop containers
Signed-off-by: Eli Gladman <8713153+egladman@users.noreply.github.com>
2023-12-29 22:41:55 -08:00
Jeremy Adams
6a288cfe4d Remove git metadata hack. Not needed
Signed-off-by: Jeremy Adams <jeremy@dagger.io>
2023-11-14 11:31:05 -08:00
Jeremy Adams
106340bff2 Add support for dagger run and workdir
Signed-off-by: Jeremy Adams <jeremy@dagger.io>
2023-11-14 11:31:05 -08:00
Kyle Penfound
ea1e4f41f5 update dagger 0.9.3
Signed-off-by: Kyle Penfound <kyle@dagger.io>
Signed-off-by: Jeremy Adams <jeremy@dagger.io>
Co-authored-by: Jeremy Adams <jeremy@dagger.io>
2023-11-14 11:31:05 -08:00
Marcos Nils
2572459a33
rename dagger to dagger-cue (#79)
* rename dagger to dagger-cue
fixes #78

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2023-02-13 17:08:12 -03:00
Gerhard Lazu
75549c92b9
Pin dagger CLI to v0.2 (#81)
Since we published https://github.com/dagger/dagger/releases/tag/v0.3.6
(Nov. 30, 2022), this action started downloading that version (i.e.
`latest`), which resulted in breakage, as described in the issue that
this fixes.

As soon as all tests pass and this gets the OK + merge, we should:
1. Cut a new release for this action (I am thinking v3.2.0)
2. Update the v3 tag to point to this new version

That should fix this for all existing GitHub Actions users without any
intervention on their part.

Fixes https://github.com/dagger/dagger-for-github/issues/80

Signed-off-by: Gerhard Lazu <gerhard@dagger.io>
2022-12-06 19:39:50 +00:00
CrazyMax
aded4b9914
Node 16 as default runtime
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-05-06 13:08:22 +02:00
CrazyMax
d07b9893c0
chore: update input section in readme
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-04-13 17:31:22 +02:00
João Fernandes
056e107b22
feat: add 'cmds' input
Signed-off-by: João Fernandes <joaofnds@joaofnds.com>
2022-04-13 09:57:06 -03:00
Andrea Luzzardi
24d6bfd692 update action to dagger 0.2
- Remove AGE key setup
- Update README to use `dagger do`
- Update tests to dagger 0.2

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-09 14:47:41 -08:00
Andrea Luzzardi
bd4594ef89 version: default to latest
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-09 11:58:57 -08:00
Andrea Luzzardi
40f529cb2d version: default to 0.1
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-03-09 11:44:13 -08:00
guillaume
873e2c163f Change Action name from "dagger-action" to "dagger-for-github"
For consistency purposes, the action name will now follow the repo name

Signed-off-by: guillaume <guillaume.derouville@gmail.com>
2022-03-09 09:46:27 +01:00
CrazyMax
66fd1bdf2e
Add input to allow to cleanup Dagger home folder at the end of a job
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-05-31 10:18:37 +02:00
CrazyMax
d31a5c821f
Move to dagger org 2021-05-30 08:51:33 +02:00
CrazyMax
aecf5e3748
Initial commit 2021-05-30 07:51:20 +02:00