Skip to content

Commit

Permalink
Support oracular and deprecate focal (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
akuzminsky authored Dec 21, 2024
1 parent 36219d8 commit dc55a7d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
runs-on: ubuntu-22.04
strategy:
matrix:
codename: ["focal", "jammy", "noble"]
codename: ["jammy", "noble"]
steps:
- uses: actions/checkout@v3

Expand All @@ -36,6 +36,10 @@ jobs:
role-session-name: github-actions
aws-region: ${{ secrets.AWS_DEFAULT_REGION }}

- name: Install InfraHouse APT repository
run: |
sudo make install-infrahouse-repo
- name: Install dependencies
run: |
sudo bash support/install_deps.sh
Expand Down
14 changes: 14 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,17 @@ install:
.PHONY: package
package:
bash support/package.sh

.PHONY: install-infrahouse-repo
install-infrahouse-repo:
# Install dependencies
apt-get update
apt-get install gpg lsb-release curl
# Add a GPG public key to verify InfraHouse packages
mkdir -p /etc/apt/cloud-init.gpg.d/
curl -fsSL https://release-$$(lsb_release -cs).infrahouse.com/DEB-GPG-KEY-release-$$(lsb_release -cs).infrahouse.com \
| gpg --dearmor -o /etc/apt/cloud-init.gpg.d/infrahouse.gpg
# Add the InfraHouse repository source
echo "deb [signed-by=/etc/apt/cloud-init.gpg.d/infrahouse.gpg] https://release-$$(lsb_release -cs).infrahouse.com/ $$(lsb_release -cs) main" \
> /etc/apt/sources.list.d/infrahouse.list
apt-get update

0 comments on commit dc55a7d

Please sign in to comment.