Skip to content

Commit

Permalink
Remove the OS image customization process (#731)
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrarimarco authored May 25, 2023
1 parent f120b22 commit a07e795
Show file tree
Hide file tree
Showing 26 changed files with 1 addition and 1,415 deletions.
12 changes: 0 additions & 12 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,9 @@ updates:
package-ecosystem: "pip"
schedule:
interval: "daily"
- directory: "/docker/os-image-builder"
package-ecosystem: "docker"
schedule:
interval: "daily"
- directory: "/docker/restic"
package-ecosystem: "docker"
schedule:
interval: "daily"
- directory: "/docker/template-renderer"
package-ecosystem: "docker"
schedule:
interval: "daily"
- directory: "/docker/template-renderer"
package-ecosystem: "pip"
schedule:
interval: "daily"
version: 2
...
2 changes: 0 additions & 2 deletions .github/workflows/build-container-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,5 @@ jobs:
container-image-context-directory:
- ansible
- arduino-cli
- os-image-builder
- restic
- template-renderer
...
3 changes: 0 additions & 3 deletions .github/workflows/build-firmware-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,4 @@ jobs:
- name: "Build the Smart Desk firmware image"
run: |
scripts/build.sh
update-release-draft:
if: ${{ github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main' }}
uses: ./.github/workflows/draft-release.yaml
...
89 changes: 0 additions & 89 deletions .github/workflows/build-os-images.yaml

This file was deleted.

13 changes: 1 addition & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ The current version of the home lab uses a Raspberry Pi 4 as a seed device. To
initialize the seed device:

1. Update and configure the bootloader.
1. Prepare the seed device boot disk and
1. Prepare the seed device boot disk.
1. Boot the seed device.

#### Update and configure the Raspberry Pi 4 bootloader
Expand Down Expand Up @@ -259,17 +259,6 @@ Grafana dashboards that ship with a datasource, do the following:
In this section, you set up a development environment for the home lab.
### Generate the templated files
To avoid duplications, a template generator produces files from templates.
To generate templated files, do the following:
```sh
scripts/generate-templated-files.sh
```
After the generator produces the files, commit any updates to the generated files.
## Container migration playbook
If you need to migrate containers and data between hosts, do the following:
Expand Down
5 changes: 0 additions & 5 deletions config/raspberry-pi/raspberry-pi-os-default-generic.conf

This file was deleted.

2 changes: 0 additions & 2 deletions config/seed-device/os-images/cloud-init/meta-data.yaml

This file was deleted.

99 changes: 0 additions & 99 deletions config/seed-device/os-images/cloud-init/user-data-autoinstall.yaml

This file was deleted.

75 changes: 0 additions & 75 deletions config/seed-device/os-images/cloud-init/user-data.yaml

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions config/smart-desk/esphome/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ echo "Getting ESPHome version"
esphome --verbose version

ESPHOME_CONFIGURATION_FILE_NAME="smart-desk.yaml"
ESPHOME_NODE_NAME="smart-desk"

if [ ! -r secrets.yaml ]; then
echo "No secrets file available. Creating one from the template..."
Expand All @@ -34,7 +33,6 @@ esphome --verbose config "${ESPHOME_CONFIGURATION_FILE_NAME}"
if [ "${CI:-}" = "true" ]; then
echo "Continuous integration environment detected. Compiling the firmware without pushing it to the ESPHome node."
esphome compile "${ESPHOME_CONFIGURATION_FILE_NAME}"
compress_file ".esphome/build/${ESPHOME_NODE_NAME}/.pioenvs/${ESPHOME_NODE_NAME}/firmware-factory.bin"
else
esphome run "${ESPHOME_CONFIGURATION_FILE_NAME}"
fi
37 changes: 0 additions & 37 deletions docker/os-image-builder/Dockerfile

This file was deleted.

Loading

0 comments on commit a07e795

Please sign in to comment.