This is an automated email from the ASF dual-hosted git repository.
simhadrig pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git
The following commit(s) were added to refs/heads/master by this push:
new f5ca9e93c2a HIVE-28303: Develocity integration (#5279) (Gašper Kojek
reviewed by Simhadri Govindappa)
f5ca9e93c2a is described below
commit f5ca9e93c2a0a794f04758eb181775d9495574c4
Author: Gašper Kojek <[email protected]>
AuthorDate: Wed Jun 19 16:55:29 2024 +0200
HIVE-28303: Develocity integration (#5279) (Gašper Kojek reviewed by
Simhadri Govindappa)
* HIVE-28303:Added basic Develocity integration
* HIVE-28303:Added develocity access key setup to github actions workflows
---
.github/workflows/build.yml | 3 ++
.github/workflows/docker-GA-images.yml | 3 +-
.gitignore | 1 +
.mvn/develocity.xml | 50 ++++++++++++++++++++++++++++++++++
.mvn/extensions.xml | 34 +++++++++++++++++++++++
5 files changed, 90 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index eca43dd5feb..89a89310bb8 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -24,6 +24,9 @@ on:
branches:
- 'master'
+env:
+ DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
+
jobs:
macos-jdk8:
name: 'macOS (JDK 8)'
diff --git a/.github/workflows/docker-GA-images.yml
b/.github/workflows/docker-GA-images.yml
index da789c3caf6..b3309ca4c25 100644
--- a/.github/workflows/docker-GA-images.yml
+++ b/.github/workflows/docker-GA-images.yml
@@ -36,7 +36,8 @@ on:
required: true
default: '0.10.2'
-
+env:
+ DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
jobs:
buildFromArchive:
diff --git a/.gitignore b/.gitignore
index d019245b40f..8ae0113dc43 100644
--- a/.gitignore
+++ b/.gitignore
@@ -25,3 +25,4 @@ kafka-handler/src/test/gen
**/.vscode/
/.recommenders/
dependency-reduced-pom.xml
+**/.mvn/.develocity*
diff --git a/.mvn/develocity.xml b/.mvn/develocity.xml
new file mode 100644
index 00000000000..05a8b834ac5
--- /dev/null
+++ b/.mvn/develocity.xml
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+
+<develocity
+ xmlns="https://www.gradle.com/develocity-maven"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="https://www.gradle.com/develocity-maven
https://www.gradle.com/schema/develocity-maven.xsd">
+ <server>
+ <url>https://ge.apache.org</url>
+ <allowUntrusted>false</allowUntrusted>
+ </server>
+ <buildScan>
+
<backgroundBuildScanUpload>#{isFalse(env['GITHUB_ACTIONS'])}</backgroundBuildScanUpload>
+ <obfuscation>
+ <ipAddresses>#{{'0.0.0.0'}}</ipAddresses>
+ </obfuscation>
+ <publishing>
+ <onlyIf>
+ <![CDATA[authenticated]]>
+ </onlyIf>
+ </publishing>
+ </buildScan>
+ <buildCache>
+ <local>
+ <enabled>#{isFalse(env['GITHUB_ACTIONS'])}</enabled>
+ </local>
+ <remote>
+ <enabled>false</enabled>
+ <storeEnabled>#{isTrue(env['GITHUB_ACTIONS'])}</storeEnabled>
+ </remote>
+ </buildCache>
+</develocity>
diff --git a/.mvn/extensions.xml b/.mvn/extensions.xml
new file mode 100644
index 00000000000..8f5335529d1
--- /dev/null
+++ b/.mvn/extensions.xml
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+-->
+
+<extensions>
+ <extension>
+ <groupId>com.gradle</groupId>
+ <artifactId>develocity-maven-extension</artifactId>
+ <version>1.21.4</version>
+ </extension>
+ <extension>
+ <groupId>com.gradle</groupId>
+ <artifactId>common-custom-user-data-maven-extension</artifactId>
+ <version>2.0</version>
+ </extension>
+</extensions>