Skip to content

Commit 19052be

Browse files
hrideshmgcanihavesomecoffee
authored andcommitted
feat: migrate to Ubuntu 24.04
1 parent 4e7b2ea commit 19052be

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

config_sample.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
WINDOWS_INSTANCE_PROJECT_NAME = "windows-cloud"
3434
WINDOWS_INSTANCE_FAMILY_NAME = "windows-2019"
3535
LINUX_INSTANCE_PROJECT_NAME = "ubuntu-os-cloud"
36-
LINUX_INSTANCE_FAMILY_NAME = "ubuntu-minimal-2204-lts"
36+
LINUX_INSTANCE_FAMILY_NAME = "ubuntu-minimal-2404-lts-amd64"
3737
GCP_INSTANCE_MAX_RUNTIME = 120 # In minutes
3838
GCS_BUCKET_NAME = 'spdev'
3939
GCS_SIGNED_URL_EXPIRY_LIMIT = 720 # In minutes

install/ci-vm/ci-linux/startup-script.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ dpkg --install gcsfuse_0.39.2_amd64.deb
55
rm gcsfuse_0.39.2_amd64.deb
66

77
apt install gnupg ca-certificates
8-
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
9-
echo "deb https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
8+
gpg --homedir /tmp --no-default-keyring --keyring /usr/share/keyrings/mono-official-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
9+
echo "deb [signed-by=/usr/share/keyrings/mono-official-archive-keyring.gpg] https://download.mono-project.com/repo/ubuntu stable-focal main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
1010
sudo apt update
11-
apt install -y mono-complete libtesseract-dev libgpac-dev
11+
apt install -y mono-complete libtesseract-dev libgpac-dev tesseract-ocr-eng
1212

1313
mkdir repository
1414
cd repository

install/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ userInput gcp_instance_machine_type "Machine type for GCP Instances:" "n1-standa
157157
userInput windows_instance_project_name "Windows GCP instance project name:" "windows-cloud" "" 1
158158
userInput windows_instance_family_name "Windows GCP instance family name:" "windows-2019" "" 1
159159
userInput linux_instance_project_name "Linux GCP instance project name:" "ubuntu-os-cloud" "" 1
160-
userInput linux_instance_family_name "Linux GCP instance family name: " "ubuntu-minimal-2204-lts" "" 1
160+
userInput linux_instance_family_name "Linux GCP instance family name: " "ubuntu-minimal-2404-lts-amd64" "" 1
161161
userInput gcp_instance_max_runtime "GCP Instance Max Runtime (In minutes):" "120" "" 1
162162
userInput gcs_bucket_name "Google Cloud Storage bucket name:" "" "" 1
163163
userInput gcs_bucket_location "Google Cloud Storage bucket location:" "us-central1" "" 1

0 commit comments

Comments
 (0)