diff options
-rw-r--r-- | .cirrus.yml | 19 | ||||
-rw-r--r-- | settings.gradle | 4 |
2 files changed, 23 insertions, 0 deletions
diff --git a/.cirrus.yml b/.cirrus.yml index ced5f84d9e2..58bb12a2e9d 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -423,6 +423,25 @@ deploy_docs_task: script: - ./private/cirrus/cirrus-trigger-deploy-docs.sh +package_docker_task: + depends_on: promote + only_if: $CIRRUS_BRANCH == 'dogfood-on-next' + gce_instance: + image_project: sonarqube-team + image_family: docker-builder + zone: us-central1-a + disk: 10 + cpu: 4 + memory: 8G + env: + CIRRUS_CLONE_DEPTH: '1' + install_tooling_script: | + export DEBIAN_FRONTEND=noninteractive + apt-get update + apt-get install -yq openjdk-11-jdk-headless + package_script: + - ./private/cirrus/cirrus-package-docker.sh + sql_mssql2017_task: <<: *ONLY_NIGHTLY_DEPENDING_ON_BUILD_TEMPLATE gke_container: diff --git a/settings.gradle b/settings.gradle index 1030a4f2d0c..e1812401f48 100644 --- a/settings.gradle +++ b/settings.gradle @@ -4,6 +4,10 @@ pluginManagement { url 'https://repox.jfrog.io/repox/plugins.gradle.org/' } } + plugins { + id 'com.bmuschko.docker-remote-api' version '7.1.0' + id 'org.ajoberstar.grgit' version '4.1.0' + } } rootProject.name = 'sonarqube' |