Skip to content

Commit de894d4

Browse files
Comment ubuntu release in gha
1 parent 8359e95 commit de894d4

File tree

1 file changed

+25
-31
lines changed

1 file changed

+25
-31
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

0 commit comments

Comments
 (0)