Skip to content

Commit 36f78b3

Browse files
author
Komal Yadav
committed
updated
1 parent d0c02e8 commit 36f78b3

3 files changed

Lines changed: 20 additions & 31 deletions

File tree

.github/workflows/cloudbuild.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ options:
7171
machineType: 'E2_HIGHCPU_32'
7272

7373
substitutions:
74-
# Declare substitutions expected from gcloud builds submit
7574
_SECURE_PUBLISH_BUCKET: ''
7675
_VERSION: ''
7776

.github/workflows/tag-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
jobs:
1818

1919
release-job:
20-
runs-on: k8s-runner-build
20+
runs-on: cdapio-hub-k8-runner
2121
if: ${{ github.ref_type == 'tag' }}
2222
steps:
2323

@@ -67,7 +67,7 @@ jobs:
6767

6868
- name: Publish SNAPSHOT to Maven Central
6969
if: ${{ endsWith(steps.get_version.outputs.VERSION, '-SNAPSHOT') }}
70-
run: mvn clean -B -V -DskipTests deploy -P snapshot-release,common-artifacts -Dgpg.passphrase=$CDAP_GPG_PASSPHRASE -Dmaven.wagon.http.retryHandler.count=5 -Dmaven.wagon.httpconnectionManager.ttlSeconds=30
70+
run: mvn clean -B -V -DskipTests deploy -P release -Dgpg.passphrase=$CDAP_GPG_PASSPHRASE -Dmaven.wagon.http.retryHandler.count=5 -Dmaven.wagon.httpconnectionManager.ttlSeconds=30
7171
env:
7272
CDAP_OSSRH_USERNAME: ${{ steps.secrets.outputs.CDAP_OSSRH_USERNAME }}
7373
CDAP_OSSRH_PASSWORD: ${{ steps.secrets.outputs.CDAP_OSSRH_PASSWORD }}

pom.xml

Lines changed: 18 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1136,22 +1136,22 @@
11361136
</executions>
11371137
</plugin>
11381138

1139-
<plugin>
1140-
<groupId>org.apache.maven.plugins</groupId>
1141-
<artifactId>maven-gpg-plugin</artifactId>
1142-
<version>1.5</version>
1143-
<configuration>
1144-
<passphrase>${gpg.passphrase}</passphrase>
1145-
<useAgent>${gpg.useagent}</useAgent>
1146-
</configuration>
1147-
<executions>
1148-
<execution>
1149-
<goals>
1150-
<goal>sign</goal>
1151-
</goals>
1152-
</execution>
1153-
</executions>
1154-
</plugin>
1139+
<!-- <plugin>-->
1140+
<!-- <groupId>org.apache.maven.plugins</groupId>-->
1141+
<!-- <artifactId>maven-gpg-plugin</artifactId>-->
1142+
<!-- <version>1.5</version>-->
1143+
<!-- <configuration>-->
1144+
<!-- <passphrase>${gpg.passphrase}</passphrase>-->
1145+
<!-- <useAgent>${gpg.useagent}</useAgent>-->
1146+
<!-- </configuration>-->
1147+
<!-- <executions>-->
1148+
<!-- <execution>-->
1149+
<!-- <goals>-->
1150+
<!-- <goal>sign</goal>-->
1151+
<!-- </goals>-->
1152+
<!-- </execution>-->
1153+
<!-- </executions>-->
1154+
<!-- </plugin>-->
11551155
</plugins>
11561156
</build>
11571157
</profile>
@@ -1161,24 +1161,14 @@
11611161
<distributionManagement>
11621162
<repository>
11631163
<id>artifact-registry</id>
1164-
<url>artifactregistry://us-maven.pkg.dev/oss-exit-gate-prod/cloud-data-fusion--mavencentral</url>
1164+
<url>artifactregistry://us-maven.pkg.dev/komalyd-dev/my-test-maven-repo</url>
11651165
</repository>
11661166
</distributionManagement>
1167-
1168-
<repositories>
1169-
<repository>
1170-
<id>artifact-registry</id>
1171-
<url>artifactregistry://us-maven.pkg.dev/oss-exit-gate-prod/cloud-data-fusion--mavencentral</url>
1172-
<releases>
1173-
<enabled>true</enabled>
1174-
</releases>
1175-
</repository>
1176-
</repositories>
11771167
</profile>
11781168

11791169

11801170
<profile>
1181-
<id>snapshot-release</id>
1171+
<id>release</id>
11821172
<build>
11831173
<plugins>
11841174
<plugin>

0 commit comments

Comments
 (0)