Skip to content

Commit

Permalink
drop 64 bit from releases; moved to nightly. Added [install] to every…
Browse files Browse the repository at this point in the history
…boot - this was probably missing for a while
  • Loading branch information
CamDavidsonPilon committed Mar 1, 2023
1 parent 2754926 commit 29aaa82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 43 deletions.
43 changes: 0 additions & 43 deletions .github/workflows/custopize.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ jobs:
* Pioreactor ${{ env.PIOREACTOR_VERSION }}

Created with [CustoPiZer](https://github.com/Pioreactor/CustoPiZer)
Includes *experimental* leader-worker 64-bit image.

<!-- mark:untested -->
EOF
Expand Down Expand Up @@ -114,48 +113,6 @@ jobs:
echo "IMAGE_WORKER_URL=https://github.com/Pioreactor/CustoPiZer/releases/download/${{ env.RELEASE_TAG }}/${{ steps.package-image-w.outputs.zip_name }}" >> $GITHUB_ENV
- name: "⬇ Download RPi 64-bit image"
id: download_rpi_image_64
run: |
mkdir -p build
cd build
wget https://downloads.raspberrypi.org/raspios_lite_arm64/images/raspios_lite_arm64-2022-09-26/2022-09-22-raspios-bullseye-arm64-lite.img.xz -q -O input.img.xz
unxz -f input.img.xz
- name: "🏗 Run CustoPiZer LW 64"
uses: Pioreactor/CustoPiZer@pioreactor
with:
workspace: "${{ github.workspace }}/build"
scripts: "${{ github.workspace }}/workspace/scripts"
config: "${{ github.workspace }}/config_64.local"
environment: '{ "PIO_VERSION": "${{ env.PIOREACTOR_VERSION }}", "LEADER": 1, "WORKER": 1 }'

- name: "✏ Rename image LW 64"
run: |
IMAGE_LEADER_WORKER_64="pioreactor_leader_worker_64.img"
echo "IMAGE_LEADER_WORKER_64=$IMAGE_LEADER_WORKER_64" >> $GITHUB_ENV
cd build
mv output.img $IMAGE_LEADER_WORKER_64
- name: "📦 Package the image LW 64"
id: package-image-lw-64
uses: OctoPrint/actions/package-rpi-image@main
with:
image_path: "build/${{ env.IMAGE_LEADER_WORKER_64 }}"

- name: 📨 Export zip name to env LW 64
run: |
IMAGE_LEADER_WORKER_64_URL=https://github.com/Pioreactor/CustoPiZer/releases/download/${{ env.RELEASE_TAG }}/${{ steps.package-image-lw-64.outputs.zip_name }}
echo "IMAGE_LEADER_WORKER_64_ZIP=${{ steps.package-image-lw-64.outputs.zip_name }}" >> $GITHUB_ENV
echo "IMAGE_LEADER_WORKER_64_URL=$IMAGE_LEADER_WORKER_64_URL" >> $GITHUB_ENV
echo "Link to leader 64bit image: $IMAGE_LEADER_WORKER_64_URL" >> $GITHUB_STEP_SUMMARY
- name: "🔖 Create release & attach assets"
uses: softprops/action-gh-release@v1
if: github.event_name == 'repository_dispatch'
Expand Down
2 changes: 2 additions & 0 deletions workspace/scripts/files/system/systemd/everyboot.service
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ DefaultDependencies=no
ExecStart=/bin/bash /usr/local/bin/everyboot.sh
Type=oneshot

[Install]
WantedBy=multi-user.target

0 comments on commit 29aaa82

Please sign in to comment.