File tree 5 files changed +3
-19
lines changed
5 files changed +3
-19
lines changed Original file line number Diff line number Diff line change 98
98
VERSION=$(cat common-nix.vars.pkr.hcl | sed -e 's/postgres-version = "\(.*\)"/\1/g')
99
99
echo "version=$VERSION" >> $GITHUB_OUTPUT
100
100
101
- # - name: Create nix flake revision tarball
102
- # run: |
103
- # GIT_SHA=${{github.sha}}
104
- # MAJOR_VERSION=${{ env.POSTGRES_MAJOR_VERSION }}
105
-
106
- # mkdir -p "/tmp/pg_upgrade_bin/${MAJOR_VERSION}"
107
- # echo "$GIT_SHA" >> "/tmp/pg_upgrade_bin/${MAJOR_VERSION}/nix_flake_version"
108
- # tar -czf "/tmp/pg_binaries.tar.gz" -C "/tmp/pg_upgrade_bin" .
109
-
110
101
- name : configure aws credentials - staging
111
102
uses : aws-actions/configure-aws-credentials@v4
112
103
with :
Original file line number Diff line number Diff line change 1
1
FROM alpine:3.21
2
2
3
- ADD ./output-cloudimg/packer-cloudimg /disk/focal .qcow2
3
+ ADD ./output-cloudimg/packer-cloudimg /disk/image .qcow2
4
4
5
5
RUN apk add --no-cache qemu-system-aarch64 qemu-img openssh-client nftables cloud-utils-localds aavmf virtiofsd
6
6
# dev stuff
Original file line number Diff line number Diff line change @@ -7,10 +7,6 @@ init: qemu-arm64-nix.pkr.hcl
7
7
output-cloudimg/packer-cloudimg : ansible qemu-arm64-nix.pkr.hcl
8
8
packer build -var " git_sha=$( UPSTREAM_NIX_GIT_SHA) " qemu-arm64-nix.pkr.hcl
9
9
10
- disk/focal-raw.img : output-cloudimg/packer-cloudimg
11
- mkdir -p disk
12
- sudo qemu-img convert -O raw output-cloudimg/packer-cloudimg disk/focal-raw.img
13
-
14
10
alpine-image : output-cloudimg/packer-cloudimg
15
11
sudo nerdctl build . -t supabase-postgres-test:$(GIT_SHA ) -f ./Dockerfile-kubernetes
16
12
Original file line number Diff line number Diff line change @@ -74,8 +74,8 @@ source "qemu" "cloudimg" {
74
74
format = " qcow2"
75
75
headless = true
76
76
http_directory = " http"
77
- iso_checksum = " file:https://cloud-images.ubuntu.com/focal /current/SHA256SUMS"
78
- iso_url = " https://cloud-images.ubuntu.com/focal /current/focal -server-cloudimg-arm64.img"
77
+ iso_checksum = " file:https://cloud-images.ubuntu.com/noble /current/SHA256SUMS"
78
+ iso_url = " https://cloud-images.ubuntu.com/noble /current/noble -server-cloudimg-arm64.img"
79
79
memory = 40000
80
80
qemu_binary = " qemu-system-aarch64"
81
81
qemuargs = [
Original file line number Diff line number Diff line change @@ -24,10 +24,8 @@ elif [ -n "$(command -v apt-get)" ]; then
24
24
autoconf \
25
25
autotools-dev \
26
26
cmake-data \
27
- cpp-8 \
28
27
cpp-9 \
29
28
cpp-10 \
30
- gcc-8 \
31
29
gcc-9 \
32
30
gcc-10 \
33
31
git \
@@ -43,7 +41,6 @@ elif [ -n "$(command -v apt-get)" ]; then
43
41
add-apt-repository --yes --remove ppa:ansible/ansible
44
42
45
43
source /etc/os-release
46
- apt-get -y remove --purge linux-headers-5.11.0-1021-aws
47
44
48
45
apt-get -y update
49
46
apt-get -y upgrade
You can’t perform that action at this time.
0 commit comments