Skip to content

Commit 700b5c3

Browse files
Comment ubuntu release in gha (#665)
* Comment ubuntu release in gha * update url * comment ubuntu
1 parent 8359e95 commit 700b5c3

File tree

3 files changed

+35
-41
lines changed

3 files changed

+35
-41
lines changed

.github/workflows/release.yml

Lines changed: 25 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -103,28 +103,23 @@ jobs:
103103
unattended_filename="${core_filename/%.iso/-unattended.iso}" # Replace .iso with -unattended.iso
104104
sudo cp "$file" "images/$unattended_filename"
105105
106-
- name: Build Ubuntu unattended
107-
run: |
108-
export BASE_OS=ubuntu
109-
export UNATTENDED=true
110-
docker compose up --build
111-
112-
- name: Check Ubuntu ISO unattended
113-
run: |
114-
ls -lrt images/Dappnode-ubuntu-*.iso
115-
116-
- name: Set Ubuntu Dappnode unattended ISO name
117-
run: |
118-
file=$(ls images/Dappnode-ubuntu-*.iso)
119-
filename=$(basename "$file") # Extract only the file name (without path)
120-
core_filename="Dappnode-${CORE_VERSION}-ubuntu-${filename#Dappnode-ubuntu-}" # Modify the filename using CORE_VERSION
121-
unattended_filename="${core_filename/%.iso/-unattended.iso}" # Replace .iso with -unattended.iso
122-
sudo cp "$file" "images/$unattended_filename"
123-
124-
- name: Compress Ubuntu Dappnode unattended ISO
125-
run: |
126-
file=$(ls images/Dappnode-*-ubuntu-*-unattended.iso)
127-
sudo xz -T0 -z -v "$file"
106+
# - name: Build Ubuntu unattended
107+
# run: |
108+
# export BASE_OS=ubuntu
109+
# export UNATTENDED=true
110+
# docker compose up --build
111+
112+
# - name: Check Ubuntu ISO unattended
113+
# run: |
114+
# ls -lrt images/Dappnode-ubuntu-*.iso
115+
116+
# - name: Set Ubuntu Dappnode unattended ISO name
117+
# run: |
118+
# file=$(ls images/Dappnode-ubuntu-*.iso)
119+
# filename=$(basename "$file") # Extract only the file name (without path)
120+
# core_filename="Dappnode-${CORE_VERSION}-ubuntu-${filename#Dappnode-ubuntu-}" # Modify the filename using CORE_VERSION
121+
# unattended_filename="${core_filename/%.iso/-unattended.iso}" # Replace .iso with -unattended.iso
122+
# sudo cp "$file" "images/$unattended_filename"
128123

129124
- name: Create dappnode_profile.sh
130125
run: |
@@ -145,21 +140,21 @@ jobs:
145140
SHASUM_DEBIAN_UNATTENDED=$(shasum -a 256 $file)
146141
echo "::set-output name=SHASUM_DEBIAN_UNATTENDED::$SHASUM_DEBIAN_UNATTENDED"
147142
148-
- name: Get SHA-256 Ubuntu unattended
149-
id: shasum-ubuntu-unattended
150-
run: |
151-
file=$(find . -type f -name 'Dappnode-ubuntu-*unattended.iso.xz')
152-
SHASUM_UBUNTU_UNATTENDED=$(shasum -a 256 $file)
153-
echo "::set-output name=SHASUM_UBUNTU_UNATTENDED::$SHASUM_UBUNTU_UNATTENDED"
143+
# - name: Get SHA-256 Ubuntu unattended
144+
# id: shasum-ubuntu-unattended
145+
# run: |
146+
# file=$(find . -type f -name 'Dappnode-ubuntu-*unattended.iso')
147+
# SHASUM_UBUNTU_UNATTENDED=$(shasum -a 256 $file)
148+
# echo "::set-output name=SHASUM_UBUNTU_UNATTENDED::$SHASUM_UBUNTU_UNATTENDED"
154149

155150
- name: Write release content
156151
run: |
157-
echo -en "# Versions\n| Package | Version |\n|---|---|\nbind.dnp.dappnode.eth|${BIND_VERSION}|\n|ipfs.dnp.dappnode.eth|${IPFS_VERSION}|\n|vpn.dnp.dappnode.eth |${VPN_VERSION}|\n|dappmanager.dnp.dappnode.eth|${DAPPMANAGER_VERSION}|\n|wifi.dnp.dappnode.eth|${WIFI_VERSION}|\n|https.dnp.dappnode.eth|${HTTPS_VERSION}|\n|wireguard.dnp.dappnode.eth|${WIREGUARD_VERSION}|\n# Changes\nChanges implemented in release ${CORE_VERSION}\n# Debian Attended version\nInstall and customize DAppNode using the attended ISO: **DAppNode-${CORE_VERSION}-debian-bookworm-amd64.iso**\n\n## ISO SHA-256 Checksum\n\`\`\`\nshasum -a 256 DAppNode-${CORE_VERSION}-debian-bookworm-amd64.iso\n${SHASUM_DEBIAN_ATTENDED}\n\`\`\`\n# Debian Unattended version\nInstall DAppNode easily using the unattended ISO: **DAppNode-${CORE_VERSION}-debian-bookworm-amd64-unattended.iso**\nDo a reboot right after the installation\n:warning: **Warning**: This ISO will install Dappnode automatically, deleting all existing partitions on the disk\n\n## ISO SHA-256 Checksum\n\`\`\`\nshasum -a 256 DAppNode-${CORE_VERSION}-debian-bookworm-amd64-unattended.iso\n${SHASUM_DEBIAN_UNATTENDED}\n\`\`\`\n# Ubuntu Unattended version\nInstall DAppNode easily using the unattended ISO: **DAppNode-${CORE_VERSION}-ubuntu-bookworm-amd64-unattended.iso**\nDo a reboot right after the installation\n:warning: **Warning**: This ISO will install Dappnode automatically, deleting all existing partitions on the disk\n\n## ISO SHA-256 Checksum\n\`\`\`\nshasum -a 256 DAppNode-${CORE_VERSION}-ubuntu-bookworm-amd64-unattended.iso\n${SHASUM_UBUNTU_UNATTENDED}\n\`\`\`\n# DAppNode for Raspberry Pi 4 64bit\n[Instructions](https://github.com/dappnode/DAppNode/wiki/DAppNodeARM-Installation-Guide)\n\ndefault login data:\n - **__user__**: dappnode\n - **__password__**: dappnodepi" > CHANGELOG.md
152+
echo -en "# Versions\n| Package | Version |\n|---|---|\nbind.dnp.dappnode.eth|${BIND_VERSION}|\n|ipfs.dnp.dappnode.eth|${IPFS_VERSION}|\n|vpn.dnp.dappnode.eth |${VPN_VERSION}|\n|dappmanager.dnp.dappnode.eth|${DAPPMANAGER_VERSION}|\n|wifi.dnp.dappnode.eth|${WIFI_VERSION}|\n|https.dnp.dappnode.eth|${HTTPS_VERSION}|\n|wireguard.dnp.dappnode.eth|${WIREGUARD_VERSION}|\n# Changes\nChanges implemented in release ${CORE_VERSION}\n# Debian Attended version\nInstall and customize DAppNode using the attended ISO: **DAppNode-${CORE_VERSION}-debian-bookworm-amd64.iso**\n\n## ISO SHA-256 Checksum\n\`\`\`\nshasum -a 256 DAppNode-${CORE_VERSION}-debian-bookworm-amd64.iso\n${SHASUM_DEBIAN_ATTENDED}\n\`\`\`\n# Debian Unattended version\nInstall DAppNode easily using the unattended ISO: **DAppNode-${CORE_VERSION}-debian-bookworm-amd64-unattended.iso**\nDo a reboot right after the installation\n:warning: **Warning**: This ISO will install Dappnode automatically, deleting all existing partitions on the disk\n\n## ISO SHA-256 Checksum\n\`\`\`\nshasum -a 256 DAppNode-${CORE_VERSION}-debian-bookworm-amd64-unattended.iso\n${SHASUM_DEBIAN_UNATTENDED}\n\`\`\`\nDo a reboot right after the installation\n:warning: **Warning**: This ISO will install Dappnode automatically, deleting all existing partitions on the disk\n\n## ISO SHA-256 Checksum\n\`\`\`\n\`\`\`\n# DAppNode for Raspberry Pi 4 64bit\n[Instructions](https://github.com/dappnode/DAppNode/wiki/DAppNodeARM-Installation-Guide)\n\ndefault login data:\n - **__user__**: dappnode\n - **__password__**: dappnodepi" > CHANGELOG.md
158153
cat CHANGELOG.md
159154
env:
160155
SHASUM_DEBIAN_ATTENDED: ${{ steps.shasum-debian-attended.outputs.SHASUM_DEBIAN_ATTENDED }}
161156
SHASUM_DEBIAN_UNATTENDED: ${{ steps.shasum-debian-unattended.outputs.SHASUM_DEBIAN_UNATTENDED }}
162-
SHASUM_UBUNTU_UNATTENDED: ${{ steps.shasum-ubuntu-unattended.outputs.SHASUM_UBUNTU_UNATTENDED }}
157+
# SHASUM_UBUNTU_UNATTENDED: ${{ steps.shasum-ubuntu-unattended.outputs.SHASUM_UBUNTU_UNATTENDED }}
163158

164159
# print images directory
165160
- name: Print images directory
@@ -175,7 +170,6 @@ jobs:
175170
files: |
176171
./images/Dappnode-*-debian-*-attended.iso
177172
./images/Dappnode-*-debian-*-unattended.iso
178-
./images/Dappnode-*-ubuntu-*-unattended.iso.xz
179173
./scripts/dappnode_install*.sh
180174
./scripts/dappnode_uninstall*.sh
181175
dappnode_profile.sh

.github/workflows/test.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@ jobs:
5353
ls -lrt images/Dappnode-debian-*.iso
5454
5555
# Create Ubuntu ISO
56-
- name: create Ubuntu ISO
57-
run: |
58-
export BASE_OS=ubuntu
59-
export UNATTENDED=true
60-
docker compose up --build
61-
ls images/
56+
# - name: create Ubuntu ISO
57+
# run: |
58+
# export BASE_OS=ubuntu
59+
# export UNATTENDED=true
60+
# docker compose up --build
61+
# ls images/
6262

6363
# Verify Ubuntu ISO creation
64-
- name: verify Ubuntu ISO
65-
run: |
66-
ls -lrt images/Dappnode-ubuntu-*.iso
64+
# - name: verify Ubuntu ISO
65+
# run: |
66+
# ls -lrt images/Dappnode-ubuntu-*.iso

iso/scripts/generate_dappnode_iso_debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ source ${SCRIPTS_DIR}/common_iso_generation.sh
88
# Source = https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-12.11.0-amd64-netinst.iso
99
BASE_ISO_NAME="debian-12.11.0-amd64-netinst.iso"
1010
BASE_ISO_PATH="/images/${BASE_ISO_NAME}"
11-
BASE_ISO_URL="https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/${BASE_ISO_NAME}"
11+
BASE_ISO_URL="https://cdimage.debian.org/mirror/cdimage/archive/12.11.0/amd64/iso-cd/${BASE_ISO_NAME}"
1212
BASE_ISO_SHASUM="30ca12a15cae6a1033e03ad59eb7f66a6d5a258dcf27acd115c2bd42d22640e8 ${BASE_ISO_PATH}"
1313

1414
DAPPNODE_ISO_NAME="${DAPPNODE_ISO_PREFIX}${BASE_ISO_NAME}"

0 commit comments

Comments
 (0)