| [command]/tmp/06d5e3cd-23b6-4e9c-82bc-782be31a5d15 install linux
| INFO Step: Create directory `/nix`
| INFO Step: Create directory `/nix`
| INFO Step: Provision Nix
| INFO Step: Provision Nix
| INFO Step: Create build users (UID 30000-30032) and group (GID 30000)
| INFO Step: Create build users (UID 30000-30032) and group (GID 30000)
| INFO Step: Configure Nix
| INFO Step: Configure Nix
| INFO Step: Create directory `/etc/tmpfiles.d`
| INFO Step: Leave the Nix daemon unconfigured
| INFO Step: Remove directory `/nix/temp-install-dir`
| INFO Step: Create directory `/etc/tmpfiles.d`
| INFO Step: Leave the Nix daemon unconfigured
| INFO Step: Remove directory `/nix/temp-install-dir`
| Nix was installed successfully!
| To get started using Nix, open a new shell or run `. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh`
| Nix was installed successfully!
| To get started using Nix, open a new shell or run `. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh`
|
| Added `/nix/var/nix/profiles/default/bin` and `/root/.nix-profile/bin` to `$GITHUB_PATH`
[PRTestChecks/LintAndTest] ✅ Success - Main Install nix
[PRTestChecks/LintAndTest] ⚙ ::set-env:: DETERMINATE_NIX_KVM=0
[PRTestChecks/LintAndTest] ⚙ ::add-path:: /nix/var/nix/profiles/default/bin
[PRTestChecks/LintAndTest] ⚙ ::add-path:: /nix/var/nix/profiles/default/bin
[PRTestChecks/LintAndTest] ⚙ ::add-path:: /root/.nix-profile/bin
[PRTestChecks/LintAndTest] ⭐ Run Main Install devbox
[PRTestChecks/LintAndTest] 'runs-on' key not defined in PRTestChecks/LintAndTest
[PRTestChecks/LintAndTest] ⭐ Run Main Install devbox
[PRTestChecks/LintAndTest] 🐳 docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/2-composite-0.sh] user= workdir=
| Devbox 📦 by jetpack.io
| Instant and predictable development environments and containers.
|
| This script downloads and installs the latest devbox binary.
|
| Confirm Installation Details
| Location: /usr/local/bin/devbox
| Download URL: https://releases.jetpack.io/devbox
|
|
| Downloading and Installing
✓ Downloading devbox binary... [DONE]
✓ Installing in /usr/local/bin/devbox... [DONE]
| ✓ Successfully installed devbox 🚀
|
| Next Steps
| 1. Learn how to use devbox
| Run devbox help or read the docs at https://github.com/jetpack-io/devbox
| 2. Get help and give feedback
| Join our community at https://discord.gg/jetpack-io
[PRTestChecks/LintAndTest] ✅ Success - Main Install devbox
[PRTestChecks/LintAndTest] 'runs-on' key not defined in PRTestChecks/LintAndTest
[PRTestChecks/LintAndTest] ⭐ Run Main Install nix and devbox packages
[PRTestChecks/LintAndTest] 🐳 docker exec cmd=[bash --noprofile --norc -e -o pipefail /var/run/act/workflow/2-composite-1.sh] user= workdir=
✓ Downloading version 0.8.2... [DONE]
✓ Verifying checksum... [DONE]
✓ Unpacking binary... [DONE]
|
| 2023/11/22 22:43:53 findProjectDir: path is
| 2023/11/22 22:43:53 finding devbox.json in dir: /mnt/Store/Projects/Mine/Github/bank-downloaders
| 2023/11/22 22:43:53 findProjectDir: path is
| 2023/11/22 22:43:53 finding devbox.json in dir: /mnt/Store/Projects/Mine/Github/bank-downloaders
| Error: unknown command "echo" for "devbox shell"
|
| 2023/11/22 22:43:53
| ExecutionID:9b88a2d2d57d4826a5680862b9f8cedd
| <nil>
| 2023/11/22 22:43:53 findProjectDir: path is
| 2023/11/22 22:43:53 finding devbox.json in dir: /mnt/Store/Projects/Mine/Github/bank-downloaders
| /var/run/act/workflow/2-composite-1.sh: line 4: /home/runner/.nix-profile/etc/profile.d/nix.sh: No such file or directory
[PRTestChecks/LintAndTest] ❌ Failure - Main Install nix and devbox packages
[PRTestChecks/LintAndTest] exitcode '1': failure
[PRTestChecks/LintAndTest] ❌ Failure - Main Install devbox
[PRTestChecks/LintAndTest] exitcode '1': failure
[PRTestChecks/LintAndTest] ⭐ Run Post Install devbox
[PRTestChecks/LintAndTest] ✅ Success - Post Install devbox
[PRTestChecks/LintAndTest] ⭐ Run Post Install nix
[PRTestChecks/LintAndTest] 🐳 docker exec cmd=[node /var/run/act/actions/DeterminateSystems-nix-installer-action@v8/dist/index.js] user= workdir=
[PRTestChecks/LintAndTest] 💬 ::debug::Error determining final disposition: HttpError: Not Found
[PRTestChecks/LintAndTest] ✅ Success - Post Install nix
[PRTestChecks/LintAndTest] 🏁 Job failed
two things:
changing it to devbox run ... fix this bug:
/home/runner doesn't exist in local docker images used by act, so lets use $HOME instead?
name: 'devbox installer'
description: 'Install Devbox in your CICD workflow'
inputs:
project-path: # id of input
description: 'Project path to devbox.json. Default to the root directory of the repository.'
default: '.'
runs:
using: "composite"
steps:
- name: Install devbox
shell: bash
run: |
curl -fsSL https://get.jetpack.io/devbox | FORCE=1 bash
- name: Install nix and devbox packages
shell: bash
run: |
NIX_INSTALLER_NO_CHANNEL_ADD=1
devbox run --config=${{ inputs.project-path }} -- echo "Installing nix..." || true
source ${HOME}/.nix-profile/etc/profile.d/nix.sh
devbox run --config=${{ inputs.project-path }} -- echo "Installing packages..."
https://github.com/jetpack-io/devbox-install-action/blob/0b1ea41a2efd359ade8111812cf554b79da42018/action.yml#L17C1-L20C90
two things:
devbox run ...
fix this bug:/home/runner
doesn't exist in local docker images used by act, so lets use$HOME
instead?