aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMalena Ebert <63863184+malena-ebert-sonarsource@users.noreply.github.com>2020-09-01 10:04:29 +0200
committerGitHub <noreply@github.com>2020-09-01 10:04:29 +0200
commit92720a7655b0f9c4bb02adaa80d8a92ee9bc3f80 (patch)
tree9a3afcfb68ce9fb306ec5a447fa87b46f33c746c
parenta5db2912819cb35819bab6ab069d022e0ec69df3 (diff)
downloadsonar-scanner-cli-92720a7655b0f9c4bb02adaa80d8a92ee9bc3f80.tar.gz
sonar-scanner-cli-92720a7655b0f9c4bb02adaa80d8a92ee9bc3f80.zip
Move ci builds to sonarqube team gcp project.
-rw-r--r--.cirrus.yml26
-rw-r--r--it/docker/Dockerfile2
-rw-r--r--it/packer/sonar-scanner-cli-qa.json6
3 files changed, 17 insertions, 17 deletions
diff --git a/.cirrus.yml b/.cirrus.yml
index 3c726ef..2541622 100644
--- a/.cirrus.yml
+++ b/.cirrus.yml
@@ -1,5 +1,5 @@
# content of service-account-credentials.json, used to access to Google Cloud Platform
-gcp_credentials: ENCRYPTED[!1fcffe5cc2de4fbbda5befae835ca275a47c1148dabbbb7b5d21334604efba3ef8730d8bc5820952e575c7dd5177e433!]
+gcp_credentials: ENCRYPTED[650ffad2befada420a9dcba93e7efcb5cb0d7af63b42ca3ed64a1e5d0884ce93cf92055fbe7ee9af79ccc4a81c32329b]
#
# ENV VARIABLES
@@ -32,9 +32,9 @@ env:
# RE-USABLE CONFIGS
#
container_definition: &CONTAINER_DEFINITION
- image: gcr.io/ci-cd-215716/base:latest
- cluster_name: cirrus-uscentral1a-cluster
- zone: us-central1-a
+ image: gcr.io/sonarqube-team/base:mvn-jdk-11
+ cluster_name: cirrus-ci-cluster
+ zone: europe-west4-a
namespace: default
only_sonarsource_qa: &ONLY_SONARSOURCE_QA
@@ -66,10 +66,10 @@ linux_qa_task:
<<: *ONLY_SONARSOURCE_QA
gke_container:
dockerfile: it/docker/Dockerfile
- builder_image_project: ci-cd-215716
- builder_image_name: docker-builder-v2
- cluster_name: cirrus-uscentral1a-cluster
- zone: us-central1-a
+ builder_image_project: sonarqube-team
+ builder_image_name: docker-builder-v20200819
+ cluster_name: cirrus-ci-cluster
+ zone: europe-west4-a
namespace: default
cpu: 1
memory: 2G
@@ -91,9 +91,9 @@ create_win_vm_task:
<<: *ONLY_SONARSOURCE_QA
skip: "!changesInclude('it/packer/setup.ps1', 'it/packer/sonar-scanner-cli-qa.json')"
gce_instance:
- image_project: ci-cd-215716
- image_name: packer-builder-v1
- zone: us-central1-a
+ image_project: sonarqube-team
+ image_family: packer-builder
+ zone: europe-west4-a
type: n1-standard-8
use_ssd: true
scopes:
@@ -107,11 +107,11 @@ win_qa_task:
- build
<<: *ONLY_SONARSOURCE_QA
gce_instance:
- image_project: ci-cd-215716
+ image_project: sonarqube-team
# This VM is built using Packer, see "create_win_vm_task" above.
image_name: sonar-scanner-cli-qa
platform: windows
- zone: us-central1-a
+ zone: europe-west4-a
type: n1-standard-8
use_ssd: true
env:
diff --git a/it/docker/Dockerfile b/it/docker/Dockerfile
index 78df5f3..db704ac 100644
--- a/it/docker/Dockerfile
+++ b/it/docker/Dockerfile
@@ -11,7 +11,7 @@
# Google Cloud Container Registry. See section "gke_container" of .cirrus.yml
#------------------------------------------------------------------------------
-FROM gcr.io/ci-cd-215716/base:latest
+FROM gcr.io/sonarqube-team/base:latest
USER root
diff --git a/it/packer/sonar-scanner-cli-qa.json b/it/packer/sonar-scanner-cli-qa.json
index 8ab3e86..6ab94a8 100644
--- a/it/packer/sonar-scanner-cli-qa.json
+++ b/it/packer/sonar-scanner-cli-qa.json
@@ -2,8 +2,8 @@
"builders": [
{
"type": "googlecompute",
- "project_id": "ci-cd-215716",
- "source_image": "windows-server-1809-dc-core-v20200211",
+ "project_id": "sonarqube-team",
+ "source_image": "windows-server-1809-dc-core-v20200813",
"image_name": "sonar-scanner-cli-qa",
"disk_size": "50",
"machine_type": "n1-standard-1",
@@ -14,7 +14,7 @@
"metadata": {
"windows-startup-script-cmd": "winrm quickconfig -quiet & net user /add packer_user & net localgroup administrators packer_user /add & winrm set winrm/config/service/auth @{Basic=\"true\"}"
},
- "zone": "us-central1-a",
+ "zone": "europe-west3-a",
"tags": ["packer"]
}
],