fix: ci/cd checkout issue #1

Closed
opened 2026-08-13 23:34:06 +02:00 by doom · 3 comments
Owner

Ironic that the first issue in my CV project - part of which states that I'm good with CI/CD - is a CI/CD issue...

Here's my logs for future issue-solving reference T.T:

::add-matcher::/run/act/actions/[2ch-id-prefix?]/[long-id-like-string]/dist/problem-matcher.json
Syncing repository: doom/cv
Getting Git version info
Working directory is '/workspace/doom/cv'
Deleting the contents of '/workspace/doom/cv'
The repository will be downloaded using the GitHub REST API
To create a local Git repository instead, add Git 2.18 or higher to the PATH
Downloading the archive
connect ECONNREFUSED [host-machine-ipv4]:443
Waiting 10 seconds before trying again
Downloading the archive
connect ECONNREFUSED [host-machine-ipv4]:443
Waiting 14 seconds before trying again
Downloading the archive
::remove-matcher owner=checkout-git::
::error::connect ECONNREFUSED [host-machine-ipv4]:443
⚙️ [runner]: exitcode '1': failure
Ironic that the first issue in my CV project - part of which states that I'm good with CI/CD - is a CI/CD issue... Here's my logs for future issue-solving reference T.T: ``` ::add-matcher::/run/act/actions/[2ch-id-prefix?]/[long-id-like-string]/dist/problem-matcher.json Syncing repository: doom/cv Getting Git version info Working directory is '/workspace/doom/cv' Deleting the contents of '/workspace/doom/cv' The repository will be downloaded using the GitHub REST API To create a local Git repository instead, add Git 2.18 or higher to the PATH Downloading the archive connect ECONNREFUSED [host-machine-ipv4]:443 Waiting 10 seconds before trying again Downloading the archive connect ECONNREFUSED [host-machine-ipv4]:443 Waiting 14 seconds before trying again Downloading the archive ::remove-matcher owner=checkout-git:: ::error::connect ECONNREFUSED [host-machine-ipv4]:443 ⚙️ [runner]: exitcode '1': failure ```
doom self-assigned this 2026-08-13 23:34:06 +02:00
Author
Owner

I got past the initial total blocker by adding:
container.options: "--add-host=git.c0mpl3x.one:<rootful-podman-interface>" (that interface addr. being 10.88.0.1 for me).

Since the problem appeared to be (among other things), that the rootless podman cannot communicate with the rootful podman.

Issue evolved into an action-specific issue, I'd presume:

/var/run/act/actions/50/f7052accf5367f840b6eb914f09f8f8aa43d60a9490a0f9229f4dae3b429de/nix-quick-install.sh: line 41: USER: unbound variable
⚙️ [runner]: exitcode '1': failure

As is stands, it fails on Install Nix (the step after Checking out repository)

There are now more errors, after upgrading!

/var/run/act/actions/12/1ecdfd8e7eb4344766f44c1eac4cbfae3e18ee53934c6c132254d4417d5d05/nix-quick-install.sh: line 38: sudo: command not found
/var/run/act/actions/12/1ecdfd8e7eb4344766f44c1eac4cbfae3e18ee53934c6c132254d4417d5d05/nix-quick-install.sh: line 39: sudo: command not found
KVM is not available
/var/run/act/actions/12/1ecdfd8e7eb4344766f44c1eac4cbfae3e18ee53934c6c132254d4417d5d05/nix-quick-install.sh: line 67: USER: unbound variable
⚙️ [runner]: exitcode '1': failure

Well, if I would've read the README of nix-quick-install-action, I would've know that self-hosted runners are not supported...

Now that I've figured out the error, maybe try: cachix/install-nix-action again...

I got past the initial total blocker by adding: `container.options: "--add-host=git.c0mpl3x.one:<rootful-podman-interface>"` (that interface addr. being `10.88.0.1` for me). Since the problem appeared to be (among other things), that the rootless podman cannot communicate with the rootful podman. Issue evolved into an action-specific issue, I'd presume: ``` /var/run/act/actions/50/f7052accf5367f840b6eb914f09f8f8aa43d60a9490a0f9229f4dae3b429de/nix-quick-install.sh: line 41: USER: unbound variable ⚙️ [runner]: exitcode '1': failure ``` As is stands, it fails on *Install Nix* (the step after *Checking out repository*) There are now more errors, after upgrading! ``` /var/run/act/actions/12/1ecdfd8e7eb4344766f44c1eac4cbfae3e18ee53934c6c132254d4417d5d05/nix-quick-install.sh: line 38: sudo: command not found /var/run/act/actions/12/1ecdfd8e7eb4344766f44c1eac4cbfae3e18ee53934c6c132254d4417d5d05/nix-quick-install.sh: line 39: sudo: command not found KVM is not available /var/run/act/actions/12/1ecdfd8e7eb4344766f44c1eac4cbfae3e18ee53934c6c132254d4417d5d05/nix-quick-install.sh: line 67: USER: unbound variable ⚙️ [runner]: exitcode '1': failure ``` Well, if I would've read the README of [nix-quick-install-action](https://github.com/nixbuild/nix-quick-install-action), I would've know that *self-hosted* runners are not supported... Now that I've figured out the error, maybe try: [cachix/install-nix-action](https://github.com/cachix/install-nix-action) again...
Author
Owner

That worked out!
Lastly, I'm missing the name parameter...

Let's check the action repo...
Found the corresponding issue even!

That worked out! Lastly, I'm missing the name parameter... Let's check the [action repo](https://github.com/ncipollo/release-action)... Found the corresponding [issue](https://github.com/ncipollo/release-action/issues/581) even!
Author
Owner

And thus, this entire issue is resolved in bf2a7115db.
It only took me 11 commits >.<. Starting from 2ce536713f (not included).

And thus, this entire issue is resolved in bf2a7115db. It only took me 11 commits >.<. Starting from 2ce536713f (not included).
doom closed this issue 2026-08-14 09:58:09 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
doom/cv#1
No description provided.