Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update action v0.9.3 #97

Closed
wants to merge 72 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
29dfd1c
Move to dagger org
crazy-max May 30, 2021
b5959ab
Fix branch name
crazy-max May 30, 2021
4283d83
Add input to allow to cleanup Dagger home folder at the end of a job
crazy-max May 31, 2021
9237714
Test age secret
crazy-max Jun 1, 2021
e272e0e
Fix config path
crazy-max Jun 2, 2021
79988c8
Bump @actions/tool-cache from 1.7.0 to 1.7.1
dependabot[bot] Jun 8, 2021
3accb8c
Update generated content
crazy-max Jun 9, 2021
ae6e43d
Bump @actions/core from 1.3.0 to 1.4.0
dependabot[bot] Jun 9, 2021
e01e1fc
Update generated content
crazy-max Jun 9, 2021
fbca3c0
Bump @actions/exec from 1.0.4 to 1.1.0
dependabot[bot] Jun 9, 2021
394ee4e
Update generated content
crazy-max Jun 9, 2021
89680c3
Fix package
crazy-max Jun 28, 2021
3941ab0
Update screenshot
crazy-max Jun 28, 2021
b901aa8
enable release downloads from cloudfromt
samalba Jul 13, 2021
f3e71fe
Bump codecov/codecov-action from 1 to 2.0.1
dependabot[bot] Jul 20, 2021
d50379f
Use major
crazy-max Jul 23, 2021
50294f2
Bump @actions/core from 1.4.0 to 1.5.0
dependabot[bot] Aug 20, 2021
c487f15
Update generated content
crazy-max Aug 20, 2021
c3ccf95
Update test
crazy-max Sep 24, 2021
998e75f
Bump @actions/core from 1.5.0 to 1.6.0
dependabot[bot] Sep 29, 2021
d3e265d
Update generated content
crazy-max Oct 4, 2021
4baf13e
Fix log-format
crazy-max Oct 10, 2021
382cec3
Update dagger env
crazy-max Dec 16, 2021
90eb364
dev: update workflow
crazy-max Dec 16, 2021
96853be
rename repo to dagger-for-github
crazy-max Feb 25, 2022
9802097
Bump actions/checkout from 2 to 3
dependabot[bot] Mar 2, 2022
f80737b
Change Action name from "dagger-action" to "dagger-for-github"
grouville Mar 9, 2022
90ce297
support major-minor version pinning
aluzzardi Mar 9, 2022
1ff9936
version: default to 0.1
aluzzardi Mar 9, 2022
4863694
version: default to latest
aluzzardi Mar 9, 2022
c2f2ed3
update action to dagger 0.2
aluzzardi Mar 9, 2022
6b3fbbf
README: fix action version in example
aluzzardi Mar 9, 2022
1f03771
test: remove .dagger
aluzzardi Mar 10, 2022
0990da3
README: update to v2
aluzzardi Mar 10, 2022
95ef0f6
test: .gitattributes: use linguist-generated
aluzzardi Mar 10, 2022
53644cb
Bump @actions/tool-cache from 1.7.1 to 1.7.2
dependabot[bot] Mar 18, 2022
0b5e4fc
Bump @actions/exec from 1.1.0 to 1.1.1
dependabot[bot] Mar 18, 2022
9a9afe9
Bump codecov/codecov-action from 2 to 3
dependabot[bot] Apr 6, 2022
0fdfbf2
chore(dev): getInputList helper func
crazy-max Apr 12, 2022
8a8ee9d
feat: add 'cmds' input
joaofnds Apr 12, 2022
977817e
ci: add jobs to check cmds and args behavior
crazy-max Apr 13, 2022
b302f20
chore: update screenshot
crazy-max Apr 13, 2022
d3574f3
chore: update input section in readme
crazy-max Apr 13, 2022
57d6f71
chore: fix license in readme
crazy-max Apr 13, 2022
4cfbc78
use DAGGER_LOG_FORMAT env instead of --log-format flag
crazy-max Apr 14, 2022
6c561ad
docs: fix small nits in README
crazy-max Apr 14, 2022
efb7b44
chore: update dev dependencies and workflow
crazy-max Apr 23, 2022
2674206
codecov config
crazy-max Apr 23, 2022
15b7854
build and install dagger from source
crazy-max Apr 25, 2022
b765ebd
ci: fix workflow
crazy-max May 6, 2022
869ac3e
Bump docker/bake-action from 1 to 2
dependabot[bot] May 6, 2022
8925cde
Node 16 as default runtime
crazy-max May 6, 2022
8d08e02
Fix deprecation warning since Node 16
crazy-max May 6, 2022
fe8e902
Bump to latest major
crazy-max May 6, 2022
71d3613
Bump @actions/core from 1.6.0 to 1.9.0
dependabot[bot] Jun 16, 2022
b561eb7
Update generated content
crazy-max Jul 15, 2022
8e5c6de
build(deps): bump @actions/core from 1.9.0 to 1.9.1
dependabot[bot] Aug 9, 2022
2347432
Update generated content
crazy-max Aug 24, 2022
23d7b51
build(deps): bump @actions/core from 1.9.1 to 1.10.0
dependabot[bot] Sep 30, 2022
b00577e
Update generated content
crazy-max Oct 15, 2022
7223735
Bump @actions/http-client from 1.0.11 to 2.0.1
dependabot[bot] Oct 15, 2022
172d839
Update generated content
crazy-max Oct 15, 2022
ba8c766
Bump @actions/tool-cache from 1.7.2 to 2.0.1
dependabot[bot] Oct 15, 2022
90e8b30
Update generated content
crazy-max Oct 15, 2022
5989862
Update dev dependencies
crazy-max Oct 16, 2022
96c8712
Pin dagger CLI to v0.2 (#81)
gerhard Dec 6, 2022
66757b4
rename dagger to dagger-cue (#79)
marcosnils Feb 13, 2023
59dfaf5
update README example to use dagger-cue binary (#83)
marcosnils Feb 13, 2023
98b4ebe
Update action version in README (#84)
marcosnils Feb 13, 2023
6a89519
Add --with example to README
jpadams Feb 13, 2023
b5b6245
chore: Set aside old content
jpadams Nov 13, 2023
e0060f9
update dagger 0.9.3
kpenfound Nov 2, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"env": {
"node": true,
"es2021": true,
"jest/globals": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:jest/recommended",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint",
"jest",
"prettier"
]
}
1 change: 0 additions & 1 deletion .github/CODEOWNERS

This file was deleted.

4 changes: 2 additions & 2 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ to the public under the [project's open source license](LICENSE).

## Submitting a pull request

1. [Fork](https://github.com/crazy-max/dagger-action/fork) and clone the repository
1. [Fork](https://github.com/dagger/dagger-for-github/fork) and clone the repository
2. Configure and install the dependencies: `yarn install`
3. Create a new branch: `git checkout -b my-branch-name`
4. Make your changes
5. Make sure the tests pass: `docker buildx bake test`
6. Format code and build javascript artifacts: `docker buildx bake pre-checkin`
7. Validate all code has correctly formatted and built: `docker buildx bake validate`
8. Push to your fork and [submit a pull request](https://github.com/crazy-max/dagger-action/compare)
8. Push to your fork and [submit a pull request](https://github.com/dagger/dagger-for-github/compare)
9. Pat your self on the back and wait for your pull request to be reviewed and merged.

Here are a few things you can do that will increase the likelihood of your pull request being accepted:
Expand Down
2 changes: 0 additions & 2 deletions .github/FUNDING.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/SUPPORT.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Support [![](https://isitmaintained.com/badge/resolution/crazy-max/dagger-action.svg)](https://isitmaintained.com/project/crazy-max/dagger-action)
# Support [![](https://isitmaintained.com/badge/resolution/dagger/dagger-for-github.svg)](https://isitmaintained.com/project/dagger/dagger-for-github)

## Reporting an issue

Please do a search in [open issues](https://github.com/crazy-max/dagger-action/issues?utf8=%E2%9C%93&q=) to see if the issue or feature request has already been filed.
Please do a search in [open issues](https://github.com/dagger/dagger-for-github/issues?utf8=%E2%9C%93&q=) to see if the issue or feature request has already been filed.

If you find your issue already exists, make relevant comments and add your [reaction](https://github.com/blog/2119-add-reactions-to-pull-requests-issues-and-comments). Use a reaction in place of a "+1" comment.

Expand All @@ -21,7 +21,7 @@ File a single issue per problem and feature request.

The more information you can provide, the more likely someone will be successful reproducing the issue and finding a fix.

You are now ready to [create a new issue](https://github.com/crazy-max/dagger-action/issues/new/choose)!
You are now ready to [create a new issue](https://github.com/dagger/dagger-for-github/issues/new/choose)!

## Closure policy

Expand Down
Binary file removed .github/dagger-action.png
Binary file not shown.
Binary file added .github/dagger-for-github.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/dagger.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
85 changes: 0 additions & 85 deletions .github/labels.yml

This file was deleted.

71 changes: 48 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,62 +1,66 @@
name: ci

on:
workflow_dispatch:
schedule:
- cron: '0 10 * * *' # everyday at 10am
push:
branches:
- 'master'
- 'main'
- 'releases/v*'
tags:
- 'v*'
pull_request:
branches:
- 'master'
- 'releases/v*'

jobs:
ci:
do:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version:
- latest
- 0.1.0-alpha.9
- 0.2.232
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Init env
run: |
mkdir ~/.dagger
cp ./test/keys.txt ~/.dagger/
uses: actions/checkout@v3
-
name: Dagger
uses: ./
with:
version: ${{ matrix.version }}
args: up --no-cache
workdir: ./test
cmds: |
project update
do test
workdir: ./test/ci

args-deprecated:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Dagger
uses: ./
with:
cmds: |
project update
do test
workdir: ./test/ci

install-only:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version:
- latest
- 0.1.0-alpha.9
- 0.2.232
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Init env
run: |
mkdir ~/.dagger
cp ./test/keys.txt ~/.dagger/
uses: actions/checkout@v3
-
name: Dagger
uses: ./
Expand All @@ -66,4 +70,25 @@ jobs:
-
name: Check
run: |
dagger version
dagger-cue version

build-ref:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ref:
- refs/heads/cue-sdk
steps:
-
name: Checkout
uses: actions/checkout@v2
-
name: Dagger
uses: ./
with:
version: https://github.com/dagger/dagger.git#${{ matrix.ref }}
cmds: |
project update
do test
workdir: ./test/ci
18 changes: 0 additions & 18 deletions .github/workflows/label-sponsor.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/labels.yml

This file was deleted.

13 changes: 5 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,31 @@ name: test
on:
push:
branches:
- 'master'
- 'main'
- 'releases/v*'
pull_request:
branches:
- 'master'
- 'releases/v*'

jobs:
test:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
-
name: Validate
uses: docker/bake-action@v1
uses: docker/bake-action@v2
with:
targets: validate
-
name: Test
uses: docker/bake-action@v1
uses: docker/bake-action@v2
with:
targets: test
-
name: Upload coverage
uses: codecov/codecov-action@v1
uses: codecov/codecov-action@v3
with:
file: ./coverage/clover.xml
2 changes: 1 addition & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"printWidth": 120,
"printWidth": 240,
"tabWidth": 2,
"useTabs": false,
"semi": true,
Expand Down
Loading