Skip to content

Commit b355bee

Browse files
build: update to use new repositories (#41)
1 parent c75c34e commit b355bee

File tree

6 files changed

+12
-40
lines changed

6 files changed

+12
-40
lines changed

.github/CODEOWNERS

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,3 @@
33
# global
44
* @hypertrace/build-tooling
55

6-
# GH action
7-
.github/ @aaron-steinfeld @jbahire @kotharironak @buchi-busireddy

.github/workflows/pr-build.yml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,28 +9,16 @@ on:
99

1010
jobs:
1111
build:
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-24.04
1313
steps:
1414
# Set fetch-depth: 0 to fetch commit history and tags for use in version calculation
1515
- name: Check out code
16-
uses: actions/checkout@v2.3.4
16+
uses: actions/checkout@v4
1717
with:
1818
ref: ${{github.event.pull_request.head.ref}}
1919
repository: ${{github.event.pull_request.head.repo.full_name}}
2020
fetch-depth: 0
2121

22-
- name: create checksum file
23-
uses: hypertrace/github-actions/checksum@main
24-
25-
- name: Cache packages
26-
uses: actions/cache@v2
27-
with:
28-
path: ~/.gradle
29-
key: gradle-packages-${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/checksum.txt') }}
30-
restore-keys: |
31-
gradle-packages-${{ runner.os }}-${{ github.job }}
32-
gradle-packages-${{ runner.os }}
33-
3422
- name: Build with Gradle
3523
uses: hypertrace/github-actions/gradle@main
3624
with:

.github/workflows/publish.yml

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,31 +8,19 @@ on:
88

99
jobs:
1010
publish-artifacts:
11-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-24.04
1212
steps:
1313
# Set fetch-depth: 0 to fetch commit history and tags for use in version calculation
1414
- name: Check out code
15-
uses: actions/checkout@v2.3.4
15+
uses: actions/checkout@v4
1616
with:
1717
fetch-depth: 0
1818

19-
- name: create checksum file
20-
uses: hypertrace/github-actions/checksum@main
21-
22-
- name: Cache packages
23-
uses: actions/cache@v2
24-
with:
25-
path: ~/.gradle
26-
key: gradle-packages-${{ runner.os }}-${{ github.job }}-${{ hashFiles('**/checksum.txt') }}
27-
restore-keys: |
28-
gradle-packages-${{ runner.os }}-${{ github.job }}
29-
gradle-packages-${{ runner.os }}
30-
3119
- name: publish java artifacts
3220
uses: hypertrace/github-actions/gradle@main
3321
with:
3422
args: publish
3523
env:
36-
ORG_GRADLE_PROJECT_artifactory_contextUrl: ${{ secrets.ARTIFACTORY_CONTEXT_URL }}
37-
ORG_GRADLE_PROJECT_artifactory_user: ${{ secrets.ARTIFACTORY_PUBLISH_USER }}
38-
ORG_GRADLE_PROJECT_artifactory_password: ${{ secrets.ARTIFACTORY_PUBLISH_TOKEN }}
24+
ORG_GRADLE_PROJECT_maven_repo_url: ${{ secrets.HAR_REPO_URL }}
25+
ORG_GRADLE_PROJECT_maven_user: ${{ secrets.HAR_PUBLISH_USER }}
26+
ORG_GRADLE_PROJECT_maven_password: ${{ secrets.HAR_PUBLISH_TOKEN }}

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
# Hypertrace Gradle Docker Plugins
22

3-
[![CircleCI](https://circleci.com/gh/hypertrace/hypertrace-gradle-docker-plugins.svg?style=svg)](https://circleci.com/gh/hypertrace/hypertrace-gradle-docker-plugins)
4-
53
A collection of plugins for working with docker in gradle using the Hypertrace conventions, including
64
publishing to the Hypertrace docker repository. See individual plugin READMEs for more details.

build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import org.hypertrace.gradle.publishing.HypertracePublishExtension
22
import org.hypertrace.gradle.publishing.License
33

44
plugins {
5-
id("org.hypertrace.ci-utils-plugin") version "0.3.0"
6-
id("org.hypertrace.publish-plugin") version "1.0.4" apply false
7-
id("org.hypertrace.repository-plugin") version "0.4.0"
5+
id("org.hypertrace.ci-utils-plugin") version "0.4.0"
6+
id("org.hypertrace.publish-plugin") version "1.1.1" apply false
7+
id("org.hypertrace.repository-plugin") version "0.5.0"
88
}
99

1010
subprojects {

settings.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ pluginManagement {
22
repositories {
33
mavenLocal()
44
gradlePluginPortal()
5-
maven("https://hypertrace.jfrog.io/artifactory/maven")
5+
maven("https://us-maven.pkg.dev/hypertrace-repos/maven")
66
}
77
}
88

99
plugins {
10-
id("org.hypertrace.version-settings") version "0.2.0"
10+
id("org.hypertrace.version-settings") version "0.3.0"
1111
}
1212

1313
rootProject.name = "hypertrace-gradle-docker-plugins"

0 commit comments

Comments
 (0)