Skip to content

Commit

Permalink
update publish repository
Browse files Browse the repository at this point in the history
  • Loading branch information
panthony committed Jun 30, 2023
1 parent 35a17f9 commit 43b7d1d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 19 deletions.
9 changes: 6 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ version: 2
jobs:
tests:
docker:
- image: circleci/openjdk:8-jdk
- image: google/cloud-sdk
auth:
username: _json_key
password: $GCP_AUTH

environment:
MAVEN_OPTS: -Xmx1024m
Expand Down Expand Up @@ -37,8 +40,6 @@ jobs:
keys:
- v1-dependencies-{{ checksum "pom.xml" }}

- run: cp settings.xml ~/.m2

- run: mvn deploy -DskipTests

- save_cache:
Expand All @@ -53,6 +54,8 @@ workflows:
jobs:
- tests
- deploy:
context:
- gcloud
requires:
- tests
filters:
Expand Down
8 changes: 7 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,13 @@
</excludes>
</resource>
</resources>
<extensions>
<extension>
<groupId>com.google.cloud.artifactregistry</groupId>
<artifactId>artifactregistry-maven-wagon</artifactId>
<version>2.2.1</version>
</extension>
</extensions>
<pluginManagement>
<plugins>
<plugin>
Expand All @@ -147,7 +154,6 @@
</plugin>
</plugins>
</pluginManagement>

<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down
15 changes: 0 additions & 15 deletions settings.xml

This file was deleted.

0 comments on commit 43b7d1d

Please sign in to comment.