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

Issues running this action on other platforms then Github Actions #78

Open
waja opened this issue Jan 6, 2024 · 4 comments
Open

Issues running this action on other platforms then Github Actions #78

waja opened this issue Jan 6, 2024 · 4 comments

Comments

@waja
Copy link
Contributor

waja commented Jan 6, 2024

Github Actions can be used outside the Github infrastructure, for example Forgejo can use Actions (see https://forgejo.org/docs/v1.21/user/actions/).

The action seems not support to be used outside the Github infrastructure (yet).

@waja
Copy link
Contributor Author

waja commented Jan 6, 2024

Running the CI pipeline on a forgejo runner fails actually with:

::group::Install build dependencies
[command]/usr/bin/docker exec dropbear bash -c apt-get build-dep -yq -t 'bullseye-backports' '/workspace/waja/action-debian-package/dropbear' || apt-get build-dep -yq '/workspace/waja/action-debian-package/dropbear'
E: Unsupported file /workspace/waja/action-debian-package/dropbear given on commandline
E: Must specify at least one package to check builddeps for
E: Unsupported file /workspace/waja/action-debian-package/dropbear given on commandline
E: Must specify at least one package to check builddeps for
::error::The process '/usr/bin/docker' failed with exit code 100

You can take a look into it at https://git.uncompleted.org/waja/action-debian-package/actions/runs/4#jobstep-4-4404. I haven't found the issue behind this, cause /workspace/waja/action-debian-package/dropbear exists and has the dropbear files into it.

@waja
Copy link
Contributor Author

waja commented Jan 6, 2024

hmmm ... seems like the directory is empty in the container:

::group::Check sourceDirectory
[command]/usr/bin/docker exec dropbear ls -la /workspace/waja/action-debian-package/dropbear
total 8
drwxr-xr-x 2 root root 4096 Jan  4 18:36 .
drwxr-xr-x 9 root root 4096 Jan  4 18:43 ..
::endgroup::

@dawidd6
Copy link
Owner

dawidd6 commented Jan 6, 2024

Hmm, some problem with git repo checkout? Is this directory empty also on the runner?

@waja
Copy link
Contributor Author

waja commented Jan 6, 2024

Actually, I suspect valid_volumes from runners config. I'm looking into it.

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

No branches or pull requests

2 participants