Commit graph

57 commits

Author SHA1 Message Date
kpenfound
05e5123a33
set args from gh variables
Signed-off-by: kpenfound <kyle@dagger.io>
2024-11-10 22:41:14 -07:00
kpenfound
40f61d6b3e
needs more dollars
Signed-off-by: kpenfound <kyle@dagger.io>
2024-11-10 22:14:55 -07:00
kpenfound
22b1b56759
bash no like the space
Signed-off-by: kpenfound <kyle@dagger.io>
2024-11-10 22:12:06 -07:00
kpenfound
367e5106ee
alias call to args and make it optional
Signed-off-by: kpenfound <kyle@dagger.io>
2024-11-10 22:08:23 -07:00
Erik Sipsma
00680052d7
update default version to v0.14.0
Signed-off-by: Erik Sipsma <erik@sipsma.dev>
2024-11-08 15:30:00 -08:00
Justin Chadwell
f5cc786d3e chore: bump default dagger version to v0.13.7
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-10-31 23:12:00 -07:00
Justin Chadwell
33170d0344
test: add version tests (#153)
* test: add versioning tests

Signed-off-by: Justin Chadwell <me@jedevc.com>

* feat: add output for action

To chain on from the github action, it's very useful to be able to get
the output from an action.

Signed-off-by: Justin Chadwell <me@jedevc.com>

---------

Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-10-25 16:40:22 +01:00
Justin Chadwell
ad6a4e308a chore: bump default dagger version to v0.13.6
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-10-25 07:02:43 -07:00
Justin Chadwell
49dd901156
feat: allow specifying nightly builds (#151)
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-10-22 16:36:27 +01:00
Erik Sipsma
6b6e9832f7 chore: bump default version to v0.13.5
Signed-off-by: Erik Sipsma <erik@sipsma.dev>
2024-10-10 16:49:27 -07:00
Justin Chadwell
c697168041
chore: bump default dagger version to v0.13.4 (#150)
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-10-09 13:22:59 -03:00
Alex Suraci
fc945fa66f
bump to engine v0.13.3 (#149)
Signed-off-by: Alex Suraci <alex@dagger.io>
2024-09-20 18:45:37 -03:00
Alex Suraci
501b417bcf
bump to engine v0.13.2 (#148)
Signed-off-by: Alex Suraci <alex@dagger.io>
2024-09-20 17:15:27 -03:00
Erik Sipsma
b6bf6af9f4
bump dagger version to v0.13.1 (#147)
Signed-off-by: Erik Sipsma <erik@sipsma.dev>
2024-09-18 16:56:18 -03:00
Justin Chadwell
e49f5bfe7f
chore: bump default dagger version to v0.13.0 (#146)
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-09-11 19:49:27 +01:00
Justin Chadwell
a419ddbf5e
chore: bump default dagger version to v0.12.7 (#145)
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-09-02 17:45:34 +01:00
Justin Chadwell
8ab204f3cf
chore: bump default dagger version to v0.12.6 (#144)
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-08-30 12:20:36 +01:00
Justin Chadwell
145f04c8b5
chore: bump default dagger version to v0.12.5 (#142)
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-08-15 17:15:11 +01:00
Justin Chadwell
29a88e7225 chore: bump default dagger version to v0.12.4
Signed-off-by: Justin Chadwell <me@jedevc.com>
2024-08-02 21:12:49 -07:00
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