Skip to content

ci: attempt to enable commit-lint again#62

Open
kid wants to merge 5 commits into
mainfrom
ci/commitlint
Open

ci: attempt to enable commit-lint again#62
kid wants to merge 5 commits into
mainfrom
ci/commitlint

Conversation

@kid
Copy link
Copy Markdown
Owner

@kid kid commented Sep 19, 2024

No description provided.

@kid kid changed the title ci/commitlint ci: attempt to enable commit ling again Sep 19, 2024
@kid kid changed the title ci: attempt to enable commit ling again ci: attempt to enable commit-lint again Sep 19, 2024
@github-actions
Copy link
Copy Markdown

terraform fmt:

marshal: json: error calling MarshalJSON for type *dagger.Container: input: apko.withPackages.withWolfi.asContainer resolve: call function "as-container": process "/bass /src/apko apko" did not complete successfully: exit code: 2

Stderr:
08:29:47.996	�[34minfo�[0m	Building Apko image...	{"config": {"archs": ["amd64"], "cmd": "/bin/sh", "contents": {"keyring": ["https://packages.wolfi.dev/os/wolfi-signing.rsa.pub"], "packages": ["opentofu=1.8.2", "tflint=0.53.0", "wolfi-base"], "repositories": ["https://packages.wolfi.dev/os"]}, "environment": {"PATH": "/usr/sbin:/sbin:/usr/bin:/bin"}}}
�[33merror!�[0m call trace (oldest first):

�[33m   ┆ <fs>/apko.bass:45:4..50:36�[0m
44 │     �[90m(�[0m�[34mlog�[0m �[32m"Building Apko image..."�[0m �[33m:config�[0m self�[33m:config�[0m�[90m)�[0m
�[31m45 │ �[0m    �[90m(�[0m�[31mlet�[0m �[90m[�[0mconfig �[90m(�[0m�[34mmkfile�[0m .�[34m/�[0mconfig.yml �[90m(�[0m�[34mjson�[0m self�[33m:config�[0m�[90m)�[0m�[90m)�[0m�[90m]�[0m
�[31m46 │ �[0m      �[90m(�[0m�[31m->�[0m �[90m(�[0m�[31m$�[0m apko build --cache-dir �[34m/�[0mapkache�[34m/�[0m $config �[32m"latest"�[0m .�[34m/�[0mlayout.tar�[90m)�[0m
�[31m47 │ �[0m          �[90m(�[0m�[34mwith-image�[0m �[90m(�[0m�[31mlinux�[0m�[34m/�[0mcgr.dev�[34m/�[0mchainguard�[34m/�[0mapko�[90m)�[0m�[90m)�[0m
�[31m48 │ �[0m          �[90m(�[0m�[34mwith-mount�[0m �[90m(�[0m�[34mcache-dir�[0m �[32m"apko"�[0m�[90m)�[0m �[34m/�[0mapkache�[34m/�[0m�[90m)�[0m
�[31m49 │ �[0m          �[90m(�[0m�[34msubpath�[0m .�[34m/�[0mlayout.tar�[90m)�[0m
�[31m50 │ �[0m          �[90m(�[0m�[34moci-load�[0m �[90m{�[0m�[33m:os�[0m �[32m"linux"�[0m�[90m}�[0m�[90m)�[0m�[90m)�[0m�[90m)�[0m�[90m)�[0m �[3m�[95m; TODO�[0m
         �[31m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^�[0m

�[90m   ┆ (1 internal call elided)�[0m
�[33m   ┆ <fs>/apko.bass:46:6..50:35�[0m
45 │     �[90m(�[0m�[31mlet�[0m �[90m[�[0mconfig �[90m(�[0m�[34mmkfile�[0m .�[34m/�[0mconfig.yml �[90m(�[0m�[34mjson�[0m self�[33m:config�[0m�[90m)�[0m�[90m)�[0m�[90m]�[0m
�[31m46 │ �[0m      �[90m(�[0m�[31m->�[0m �[90m(�[0m�[31m$�[0m apko build --cache-dir �[34m/�[0mapkache�[34m/�[0m $config �[32m"latest"�[0m .�[34m/�[0mlayout.tar�[90m)�[0m
�[31m47 │ �[0m          �[90m(�[0m�[34mwith-image�[0m �[90m(�[0m�[31mlinux�[0m�[34m/�[0mcgr.dev�[34m/�[0mchainguard�[34m/�[0mapko�[90m)�[0m�[90m)�[0m
�[31m48 │ �[0m          �[90m(�[0m�[34mwith-mount�[0m �[90m(�[0m�[34mcache-dir�[0m �[32m"apko"�[0m�[90m)�[0m �[34m/�[0mapkache�[34m/�[0m�[90m)�[0m
�[31m49 │ �[0m          �[90m(�[0m�[34msubpath�[0m .�[34m/�[0mlayout.tar�[90m)�[0m
�[31m50 │ �[0m          �[90m(�[0m�[34moci-load�[0m �[90m{�[0m�[33m:os�[0m �[32m"linux"�[0m�[90m}�[0m�[90m)�[0m�[90m)�[0m�[90m)�[0m�[90m)�[0m �[3m�[95m; TODO�[0m
           �[31m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^�[0m

�[90m   ┆ (16 internal calls elided)�[0m
�[33m   ┆ <fs>/apko.bass:47:22..47:53�[0m
�[31m47 │ �[0m          �[90m(�[0m�[34mwith-image�[0m �[90m(�[0m�[31mlinux�[0m�[34m/�[0mcgr.dev�[34m/�[0mchainguard�[34m/�[0mapko�[90m)�[0m�[90m)�[0m
                           �[31m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^�[0m

�[33m    ┆ <fs>/run.bass:85:6..106:69�[0m
 84 │     �[90m(�[0m�[31mfn�[0m optional
�[31m 85 │ �[0m      �[90m(�[0m�[31mcase�[0m optional
�[31m 86 │ �[0m        �[90m[�[0m�[90m]�[0m
�[31m 87 │ �[0m        �[90m(�[0m�[34mdo-resolve�[0m
�[31m 88 │ �[0m          �[90m{�[0m�[33m:platform�[0m platform
�[31m 89 │ �[0m           �[33m:repository�[0m �[90m(�[0m�[34mjoin�[0m �[32m"/"�[0m names�[90m)�[0m
�[31m 90 │ �[0m           �[33m:tag�[0m �[32m"latest"�[0m�[90m}�[0m�[90m)�[0m
�[31m 91 │ �[0m
�[31m 92 │ �[0m        �[90m[�[0mtag-or-path�[90m]�[0m
�[31m 93 │ �[0m        �[90m(�[0m�[31mcond�[0m
�[31m 94 │ �[0m          �[90m(�[0m�[31mor�[0m �[90m(�[0m�[34msymbol?�[0m tag-or-path�[90m)�[0m �[90m(�[0m�[34mstring?�[0m tag-or-path�[90m)�[0m�[90m)�[0m
�[31m 95 │ �[0m          �[90m(�[0m�[34mdo-resolve�[0m
�[31m 96 │ �[0m            �[90m{�[0m�[33m:platform�[0m platform
�[31m 97 │ �[0m             �[33m:repository�[0m �[90m(�[0m�[34mjoin�[0m �[32m"/"�[0m names�[90m)�[0m
�[31m 98 │ �[0m             �[33m:tag�[0m �[90m(�[0m�[34mstr�[0m tag-or-path�[90m)�[0m�[90m}�[0m�[90m)�[0m
�[31m 99 │ �[0m
�[31m100 │ �[0m          �[90m(�[0m�[34mpath?�[0m tag-or-path�[90m)�[0m
�[31m101 │ �[0m          �[90m(�[0m�[34mpath-resolver�[0m do-resolve
�[31m102 │ �[0m                         platform
�[31m103 │ �[0m                         �[90m(�[0m�[34mconj�[0m names �[90m(�[0m�[34mpath-name�[0m tag-or-path�[90m)�[0m�[90m)�[0m�[90m)�[0m
�[31m104 │ �[0m
�[31m105 │ �[0m          �[33mtrue�[0m
�[31m106 │ �[0m          �[90m(�[0m�[34merror�[0m �[32m"invalid image path segment"�[0m �[33m:segment�[0m tag-or-path�[90m)�[0m�[90m)�[0m�[90m)�[0m�[90m)�[0m�[90m)�[0m
           �[31m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^�[0m

�[90m   ┆ (6 internal calls elided)�[0m
�[33m   ┆ <fs>/run.bass:87:8..90:26�[0m
86 │         �[90m[�[0m�[90m]�[0m
�[31m87 │ �[0m        �[90m(�[0m�[34mdo-resolve�[0m
�[31m88 │ �[0m          �[90m{�[0m�[33m:platform�[0m platform
�[31m89 │ �[0m           �[33m:repository�[0m �[90m(�[0m�[34mjoin�[0m �[32m"/"�[0m names�[90m)�[0m
�[31m90 │ �[0m           �[33m:tag�[0m �[32m"latest"�[0m�[90m}�[0m�[90m)�[0m
             �[31m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^�[0m

�[31mfailed to call function: input: container.from resolve: failed to resolve image cgr.dev/chainguard/apko:latest: failed to resolve source metadata for cgr.dev/chainguard/apko:latest: failed to authorize: failed to fetch anonymous token: unexpected status from GET request to https://cgr.dev/token?scope=repository%3Achainguard%2Fapko%3Apull&service=cgr.dev: 500 Internal Server Error
�[0m

Tip: if this error is too cryptic, please open an issue:

  https://github.com/vito/bass/issues/new?labels=cryptic&template=cryptic-error-message.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant