Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PD-16831: Migrating to GAR #1

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/cicd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Protobuff-converter
on:
workflow_dispatch:
push:
branches:
- 'master'
- 'map-support'
- 'PD-16831'

env:
BUILD_TAG: ${{ github.ref_name }}-${{ github.run_number }}
jobs:
build:
name: Trigger Build and Push of Docker Image
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set GAR auth
run: |
gcloud auth configure-docker asia-south1-docker.pkg.dev --quiet
- name: Gradle Build
run: |
gradle publish
11 changes: 3 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
id "com.google.protobuf" version "0.8.5"
id "com.google.cloud.artifactregistry.gradle-plugin" version "2.2.0"
}

apply plugin: 'java'
Expand All @@ -12,6 +13,7 @@ group = 'com.github.BAData'
version = externalVersion

repositories {
maven { url = 'artifactregistry://asia-south1-maven.pkg.dev/greyt-container/greytip-maven' }
mavenCentral()
}

Expand Down Expand Up @@ -73,14 +75,7 @@ publishing {
}

repositories {
maven {
url nexusUrl
name "nexus"
credentials {
username nexusUserName
password nexusPassword
}
}
maven { url = 'artifactregistry://asia-south1-maven.pkg.dev/greyt-container/greytip-maven' }
}
}

Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Fri May 06 16:25:28 EEST 2016
#Mon Dec 16 15:31:49 IST 2024
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.5-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.12-bin.zip
Loading