File tree Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -52,14 +52,36 @@ jobs:
52
52
with :
53
53
fetch-depth : 0
54
54
55
+ - name : upgrade gcc to 13 on Ubuntu 20.04
56
+ run : |
57
+ ubuntu_version=$(lsb_release -rs)
58
+ echo "Detected Ubuntu version: $ubuntu_version"
59
+
60
+ if [[ "$ubuntu_version" == "20.04" ]]; then
61
+ echo "Upgrading GCC to version 13 on Ubuntu 20.04..."
62
+
63
+ sudo apt update
64
+ sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
65
+ sudo apt update
66
+ sudo apt install -y build-essential gcc-13 g++-13
67
+
68
+ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 100
69
+ sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-13 100
70
+
71
+ echo "Using GCC version:"
72
+ gcc --version
73
+ else
74
+ echo "No upgrade needed for this version."
75
+ fi
76
+
55
77
- name : build release artifacts
56
78
run : |
57
79
cd wrappers
58
80
59
81
# Add postgres package repo and install requested postgres version
60
82
sudo apt update
61
83
sudo apt remove -y postgres*
62
- sudo apt -y install curl ca-certificates build-essential pkg-config libssl-dev
84
+ sudo apt -y install curl ca-certificates pkg-config libssl-dev
63
85
sudo install -d /usr/share/postgresql-common/pgdg
64
86
sudo curl -o /usr/share/postgresql-common/pgdg/apt.postgresql.org.asc --fail https://www.postgresql.org/media/keys/ACCC4CF8.asc
65
87
. /etc/os-release
Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ services:
154
154
- ../dockerfiles/s3/iceberg_seed.py:/iceberg_seed.py
155
155
entrypoint : |
156
156
/bin/sh -c "
157
- until (/mc config host add s3 http://s3:8000 admin password) do echo '...waiting...' && sleep 1; done;
157
+ until (/mc alias set s3 http://s3:8000 admin password) do echo '...waiting...' && sleep 1; done;
158
158
/mc rm -r --force s3/warehouse;
159
159
/mc mb s3/warehouse;
160
160
/mc policy set public s3/warehouse;
You can’t perform that action at this time.
0 commit comments