Skip to content

Commit 6d4e94e

Browse files
authored
Update CI configuration (#310)
1 parent 33ae83d commit 6d4e94e

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

Diff for: .circleci/config.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ commands:
1818
command: |
1919
sleep <<parameters.duration>>
2020
echo "Cancelling job as <<parameters.duration>> has elapsed"
21-
curl --fail -X POST -H "Circle-Token: ${CIRCLE_TOKEN}" "https://circleci.com/api/v2/project/github/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}/job/${CIRCLE_BUILD_NUM}/cancel"
21+
curl --fail -X POST -H "Circle-Token: ${CIRCLE_TOKEN}" "https://circleci.com/api/v1.1/project/github/${CIRCLE_PROJECT_USERNAME}/${CIRCLE_PROJECT_REPONAME}/${CIRCLE_BUILD_NUM}/cancel"
2222
start-db:
2323
parameters:
2424
docker-img:
@@ -78,11 +78,11 @@ commands:
7878
name: Generate Cache Checksum
7979
command: find . -name 'pom.xml' | sort | xargs cat > /tmp/maven_cache_seed
8080
- restore_cache:
81-
key: maven-{{ checksum "/tmp/maven_cache_seed" }}
81+
key: maven-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/maven_cache_seed" }}
8282
store_cache:
8383
steps:
8484
- save_cache:
85-
key: maven-{{ checksum "/tmp/maven_cache_seed" }}
85+
key: maven-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/maven_cache_seed" }}
8686
paths:
8787
- ~/.m2/repository
8888

@@ -213,6 +213,7 @@ workflows:
213213
deploy:
214214
jobs:
215215
- deploy:
216+
context: java-release
216217
filters:
217218
tags:
218219
only: /^deploy.*/

Diff for: .circleci/maven-release-settings.xml

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<activeByDefault>true</activeByDefault>
99
</activation>
1010
<properties>
11+
<gpg.keyname>${env.GPG_KEYNAME}</gpg.keyname>
1112
<gpg.passphrase>${env.GPG_PASSPHRASE}</gpg.passphrase>
1213
</properties>
1314
</profile>

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
![ArangoDB_Logo_RGB_Full_Color_Black-f](https://user-images.githubusercontent.com/7775349/211683174-7113fe7f-3707-4d15-b180-bf2ddaa86617.jpg)
1+
![ArangoDB-Logo](https://www.arangodb.com/wp-content/uploads/2016/05/[email protected])
22

33

44
# Spring Data ArangoDB
55

66
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.arangodb/arangodb-spring-data/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.arangodb/arangodb-spring-data)
7-
[![Actions Status](https://github.com/arangodb/spring-data/workflows/Java%20CI/badge.svg)](https://github.com/arangodb/spring-data/actions)
7+
[![CircleCI](https://dl.circleci.com/status-badge/img/gh/arangodb/spring-data/tree/main.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/arangodb/spring-data/tree/main)
88

99
- [Reference](https://www.arangodb.com/docs/stable/drivers/spring-data-reference.html)
1010
- [Tutorial](https://university.arangodb.com/courses/spring-data-tutorial)

Diff for: pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@
5757
<enabled>false</enabled>
5858
</releases>
5959
</repository>
60-
6160
</repositories>
6261

6362
<properties>

0 commit comments

Comments
 (0)