Skip to content

Commit

Permalink
Update CI configuration (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
rashtao authored Jun 19, 2024
1 parent 33ae83d commit 6d4e94e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ commands:
command: |
sleep <<parameters.duration>>
echo "Cancelling job as <<parameters.duration>> has elapsed"
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"
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"
start-db:
parameters:
docker-img:
Expand Down Expand Up @@ -78,11 +78,11 @@ commands:
name: Generate Cache Checksum
command: find . -name 'pom.xml' | sort | xargs cat > /tmp/maven_cache_seed
- restore_cache:
key: maven-{{ checksum "/tmp/maven_cache_seed" }}
key: maven-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/maven_cache_seed" }}
store_cache:
steps:
- save_cache:
key: maven-{{ checksum "/tmp/maven_cache_seed" }}
key: maven-{{ .Environment.CIRCLE_JOB }}-{{ checksum "/tmp/maven_cache_seed" }}
paths:
- ~/.m2/repository

Expand Down Expand Up @@ -213,6 +213,7 @@ workflows:
deploy:
jobs:
- deploy:
context: java-release
filters:
tags:
only: /^deploy.*/
Expand Down
1 change: 1 addition & 0 deletions .circleci/maven-release-settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<gpg.keyname>${env.GPG_KEYNAME}</gpg.keyname>
<gpg.passphrase>${env.GPG_PASSPHRASE}</gpg.passphrase>
</properties>
</profile>
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
![ArangoDB_Logo_RGB_Full_Color_Black-f](https://user-images.githubusercontent.com/7775349/211683174-7113fe7f-3707-4d15-b180-bf2ddaa86617.jpg)
![ArangoDB-Logo](https://www.arangodb.com/wp-content/uploads/2016/05/[email protected])


# Spring Data ArangoDB

[![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)
[![Actions Status](https://github.com/arangodb/spring-data/workflows/Java%20CI/badge.svg)](https://github.com/arangodb/spring-data/actions)
[![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)

- [Reference](https://www.arangodb.com/docs/stable/drivers/spring-data-reference.html)
- [Tutorial](https://university.arangodb.com/courses/spring-data-tutorial)
Expand Down
1 change: 0 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
<enabled>false</enabled>
</releases>
</repository>

</repositories>

<properties>
Expand Down

0 comments on commit 6d4e94e

Please sign in to comment.