From 3fab7721e0a0ce0344aa3d7e41dcaa71e6c64539 Mon Sep 17 00:00:00 2001 From: akartasov Date: Fri, 10 Oct 2025 14:37:52 +0700 Subject: [PATCH 1/3] fix: install google-cloud-sdk --- engine/.gitlab-ci.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/engine/.gitlab-ci.yml b/engine/.gitlab-ci.yml index 862deb7a3..be6d4c75a 100644 --- a/engine/.gitlab-ci.yml +++ b/engine/.gitlab-ci.yml @@ -68,6 +68,9 @@ build-binary-alpine: - apk add --update --no-cache make git - cd engine - make build + - curl -fsSL https://packages.cloud.google.com/apt/doc/apt-key.gpg | gpg --dearmor -o /usr/share/keyrings/cloud.google.gpg + - echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] http://packages.cloud.google.com/apt cloud-sdk main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list + - apt-get update && apt-get install -y google-cloud-sdk build-binary-client-dev: <<: *only_feature @@ -87,8 +90,8 @@ build-binary-client-master: - make build-client # Install google-cloud-sdk. + - curl -fsSL https://packages.cloud.google.com/apt/doc/apt-key.gpg | gpg --dearmor -o /usr/share/keyrings/cloud.google.gpg - echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] http://packages.cloud.google.com/apt cloud-sdk main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list - - curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key --keyring /usr/share/keyrings/cloud.google.gpg add - - apt-get update && apt-get install -y google-cloud-sdk # Authenticate. @@ -107,8 +110,8 @@ build-binary-client: - make build-client # Install google-cloud-sdk. + - curl -fsSL https://packages.cloud.google.com/apt/doc/apt-key.gpg | gpg --dearmor -o /usr/share/keyrings/cloud.google.gpg - echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] http://packages.cloud.google.com/apt cloud-sdk main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list - - curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key --keyring /usr/share/keyrings/cloud.google.gpg add - - apt-get update && apt-get install -y google-cloud-sdk # Authenticate. @@ -128,8 +131,8 @@ build-binary-client-rc: - make build-client # Install google-cloud-sdk. + - curl -fsSL https://packages.cloud.google.com/apt/doc/apt-key.gpg | gpg --dearmor -o /usr/share/keyrings/cloud.google.gpg - echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] http://packages.cloud.google.com/apt cloud-sdk main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list - - curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key --keyring /usr/share/keyrings/cloud.google.gpg add - - apt-get update && apt-get install -y google-cloud-sdk # Authenticate. -- GitLab From b8a78f0810fd730f3207001dfab69d3a8d3a343a Mon Sep 17 00:00:00 2001 From: akartasov Date: Fri, 10 Oct 2025 14:50:09 +0700 Subject: [PATCH 2/3] build dev binary --- engine/.gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engine/.gitlab-ci.yml b/engine/.gitlab-ci.yml index be6d4c75a..0c32faf59 100644 --- a/engine/.gitlab-ci.yml +++ b/engine/.gitlab-ci.yml @@ -68,9 +68,6 @@ build-binary-alpine: - apk add --update --no-cache make git - cd engine - make build - - curl -fsSL https://packages.cloud.google.com/apt/doc/apt-key.gpg | gpg --dearmor -o /usr/share/keyrings/cloud.google.gpg - - echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] http://packages.cloud.google.com/apt cloud-sdk main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list - - apt-get update && apt-get install -y google-cloud-sdk build-binary-client-dev: <<: *only_feature @@ -81,6 +78,9 @@ build-binary-client-dev: script: - cd engine - make build-client + - curl -fsSL https://packages.cloud.google.com/apt/doc/apt-key.gpg | gpg --dearmor -o /usr/share/keyrings/cloud.google.gpg + - echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] http://packages.cloud.google.com/apt cloud-sdk main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list + - apt-get update && apt-get install -y google-cloud-sdk build-binary-client-master: <<: *only_master -- GitLab From 048164f894e1ff813b861b32640a345dcea14a5c Mon Sep 17 00:00:00 2001 From: akartasov Date: Fri, 10 Oct 2025 14:59:21 +0700 Subject: [PATCH 3/3] remove debug lines --- engine/.gitlab-ci.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/engine/.gitlab-ci.yml b/engine/.gitlab-ci.yml index 0c32faf59..22c505d9a 100644 --- a/engine/.gitlab-ci.yml +++ b/engine/.gitlab-ci.yml @@ -78,9 +78,6 @@ build-binary-client-dev: script: - cd engine - make build-client - - curl -fsSL https://packages.cloud.google.com/apt/doc/apt-key.gpg | gpg --dearmor -o /usr/share/keyrings/cloud.google.gpg - - echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] http://packages.cloud.google.com/apt cloud-sdk main" | tee -a /etc/apt/sources.list.d/google-cloud-sdk.list - - apt-get update && apt-get install -y google-cloud-sdk build-binary-client-master: <<: *only_master -- GitLab