Skip to content

Commit f409e3c

Browse files
christophstroblmp911de
authored andcommitted
Remove obsolete CI configuration.
See spring-projects/spring-data-build#2764
1 parent d1b80ac commit f409e3c

File tree

9 files changed

+10
-228
lines changed

9 files changed

+10
-228
lines changed

.github/README.template.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
= Spring Data for Elasticsearch image:https://jenkins.spring.io/buildStatus/icon?job=spring-data-elasticsearch%2Fmain&subject=Build[link=https://jenkins.spring.io/view/SpringData/job/spring-data-elasticsearch/] https://gitter.im/spring-projects/spring-data[image:https://badges.gitter.im/spring-projects/spring-data.svg[Gitter]] image:https://img.shields.io/badge/Revved%20up%20by-Develocity-06A0CE?logo=Gradle&labelColor=02303A["Revved up by Develocity", link="https://ge.spring.io/scans?search.rootProjectNames=Spring Data Elasticsearch"]
1+
= Spring Data for Elasticsearch image:https://img.shields.io/badge/Revved%20up%20by-Develocity-06A0CE?logo=Gradle&labelColor=02303A["Revved up by Develocity", link="https://ge.spring.io/scans?search.rootProjectNames=Spring Data Elasticsearch"]
22

33
The primary goal of the https://projects.spring.io/spring-data[Spring Data] project is to make it easier to build Spring-powered applications that use new data access technologies such as non-relational databases, map-reduce frameworks, and cloud based data services.
44

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: CI Build
22

33
on:
4+
workflow_dispatch:
45
push:
56
branches: [ main, 6.0.x, 5.5.x, 'issue/**' ]
67

@@ -10,17 +11,17 @@ jobs:
1011
build-java:
1112
strategy:
1213
matrix:
13-
java-version: [ base, main ]
14+
java-version: [ base, next ]
1415
name: Build project
1516
runs-on: ubuntu-latest
1617
steps:
1718
- uses: actions/checkout@v6
1819
- name: Setup Java and Maven
19-
uses: spring-projects/spring-data-release/actions/setup-maven@main
20+
uses: spring-projects/spring-data-build/actions/setup-maven@3.5.x
2021
with:
2122
java-version: ${{ matrix.java-version }}
2223
develocity-access-key: '${{ secrets.DEVELOCITY_ACCESS_KEY }}'
2324
- name: Build
24-
uses: spring-projects/spring-data-release/actions/maven-build@main
25+
uses: spring-projects/spring-data-build/actions/maven-build@3.5.x
2526
env:
2627
TESTCONTAINERS_REUSE_ENABLE: true

.github/workflows/snapshots.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Snapshots
22

33
on:
4+
workflow_dispatch:
45
push:
56
branches: [ main, 6.0.x, 5.5.x, 'issue/**' ]
67

@@ -14,11 +15,11 @@ jobs:
1415
steps:
1516
- uses: actions/checkout@v6
1617
- name: Setup Java and Maven
17-
uses: spring-projects/spring-data-release/actions/setup-maven@main
18+
uses: spring-projects/spring-data-build/actions/setup-maven@3.5.x
1819
with:
1920
develocity-access-key: '${{ secrets.DEVELOCITY_ACCESS_KEY }}'
2021
- name: Deploy to Artifactory
21-
uses: spring-projects/spring-data-release/actions/maven-artifactory-deploy@main
22+
uses: spring-projects/spring-data-build/actions/maven-artifactory-deploy@3.5.x
2223
env:
2324
TESTCONTAINERS_REUSE_ENABLE: true
2425
with:

CI.adoc

Lines changed: 1 addition & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,5 @@
11
= Continuous Integration
22

3-
image:https://jenkins.spring.io/buildStatus/icon?job=spring-data-elasticsearch%2Fmain&subject=2020.0.0%20(main)[link=https://jenkins.spring.io/view/SpringData/job/spring-data-elasticsearch/]
4-
image:https://jenkins.spring.io/buildStatus/icon?job=spring-data-elasticsearch%2F4.0.x&subject=Neumann%20(4.0.x)[link=https://jenkins.spring.io/view/SpringData/job/spring-data-elasticsearch/]
5-
image:https://jenkins.spring.io/buildStatus/icon?job=spring-data-elasticsearch%2F3.2.x&subject=Moore%20(3.2.x)[link=https://jenkins.spring.io/view/SpringData/job/spring-data-elasticsearch/]
6-
73
== Running CI tasks locally
84

9-
Since this pipeline is purely Docker-based, it's easy to:
10-
11-
* Debug what went wrong on your local machine.
12-
* Test out a a tweak to your `verify.sh` script before sending it out.
13-
* Experiment against a new image before submitting your pull request.
14-
15-
All of these use cases are great reasons to essentially run what the CI server does on your local machine.
16-
17-
IMPORTANT: To do this you must have Docker installed on your machine.
18-
19-
1. `docker run -it --mount type=bind,source="$(pwd)",target=/spring-data-elasticsearch-github adoptopenjdk/openjdk8:latest /bin/bash`
20-
+
21-
This will launch the Docker image and mount your source code at `spring-data-elasticsearch-github`.
22-
+
23-
2. `cd spring-data-elasticsearch-github`
24-
+
25-
Next, run your tests from inside the container:
26-
+
27-
3. `./mvnw clean dependency:list test -Dsort` (or whatever profile you need to test out)
28-
29-
Since the container is binding to your source, you can make edits from your IDE and continue to run build jobs.
30-
31-
If you need to package things up, do this:
32-
33-
1. `docker run -it -v /var/run/docker.sock:/var/run/docker.sock --mount type=bind,source="$(pwd)",target=/spring-data-elasticsearch-github adoptopenjdk/openjdk8:latest /bin/bash`
34-
+
35-
This will launch the Docker image and mount your source code at `spring-data-elasticsearch-github`.
36-
+
37-
2. `cd spring-data-elasticsearch-github`
38-
+
39-
Next, try to package everything up from inside the container:
40-
+
41-
3. `./mvnw -Pci,snapshot -Dmaven.test.skip=true clean package`
42-
43-
NOTE: Docker containers can eat up disk space fast! From time to time, run `docker system prune` to clean out old images.
5+
You can run CI jobs locally using Docker and act[https://nektosact.com/].

Jenkinsfile

Lines changed: 0 additions & 132 deletions
This file was deleted.

README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
= Spring Data for Elasticsearch image:https://jenkins.spring.io/buildStatus/icon?job=spring-data-elasticsearch%2Fmain&subject=Build[link=https://jenkins.spring.io/view/SpringData/job/spring-data-elasticsearch/] https://gitter.im/spring-projects/spring-data[image:https://badges.gitter.im/spring-projects/spring-data.svg[Gitter]] image:https://img.shields.io/badge/Revved%20up%20by-Develocity-06A0CE?logo=Gradle&labelColor=02303A["Revved up by Develocity", link="https://ge.spring.io/scans?search.rootProjectNames=Spring Data Elasticsearch"]
1+
= Spring Data for Elasticsearch image:https://img.shields.io/badge/Revved%20up%20by-Develocity-06A0CE?logo=Gradle&labelColor=02303A["Revved up by Develocity", link="https://ge.spring.io/scans?search.rootProjectNames=Spring Data Elasticsearch"]
22

33
The primary goal of the https://projects.spring.io/spring-data[Spring Data] project is to make it easier to build Spring-powered applications that use new data access technologies such as non-relational databases, map-reduce frameworks, and cloud based data services.
44

ci/clean.sh

Lines changed: 0 additions & 8 deletions
This file was deleted.

ci/pipeline.properties

Lines changed: 0 additions & 32 deletions
This file was deleted.

ci/verify.sh

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)