Skip to content

Commit

Permalink
Add check for base image download script in debos repo (#4)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel McKnight <daniel@neon.ai>
  • Loading branch information
NeonDaniel and NeonDaniel authored Feb 28, 2024
1 parent 0db814b commit 62a9bd1
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/publish_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ jobs:
with:
path: action/neon_debos/.git/lfs
key: ${{ runner.os }}-lfs-${{ hashFiles('action/neon_debos/.lfs-assets-id') }}-v1
- name: Check for Debos base image downloads
run: |
[ -f action/neon_debos/base_images/download_base_images.py ] && \
python3 action/neon_debos/base_images/download_base_images.py
- name: Export keys for image build
run: |
mkdir -p action/neon_debos/overlays/80-google-json-overlay/home/neon/.local/share/neon
Expand All @@ -61,11 +65,23 @@ jobs:
- name: Run Neon OS Core Build
if: env.DO_CORE == 'true'
run: |
bash "${{ github.workspace }}/action/neon-os/scripts/build_image.sh" "${{ github.workspace }}/action/neon_debos" "${{env.REF}}" "debian-neon-image.yml" "${{env.PLATFORMS}}" "${{env.OUTPUT_DIR}}" "${{env.UPLOAD_URL}}"
bash "${{ github.workspace }}/action/neon-os/scripts/build_image.sh" \
"${{ github.workspace }}/action/neon_debos" \
"${{env.REF}}" \
"debian-neon-image.yml" \
"${{env.PLATFORMS}}" \
"${{env.OUTPUT_DIR}}" \
"${{env.UPLOAD_URL}}"
- name: Run Neon OS Node Build
if: env.DO_NODE == 'true'
run: |
bash "${{ github.workspace }}/action/neon-os/scripts/build_image.sh" "${{ github.workspace }}/action/neon_debos" "${{env.REF}}" "debian-node-image.yml" "${{env.PLATFORMS}}" "${{env.OUTPUT_DIR}}" "${{env.UPLOAD_URL}}"
bash "${{ github.workspace }}/action/neon-os/scripts/build_image.sh" \
"${{ github.workspace }}/action/neon_debos" \
"${{env.REF}}" \
"debian-node-image.yml" \
"${{env.PLATFORMS}}" \
"${{env.OUTPUT_DIR}}" \
"${{env.UPLOAD_URL}}"
- name: Stop Docker Build Containers
if: failure() || cancelled()
run: |
Expand Down

0 comments on commit 62a9bd1

Please sign in to comment.