Skip to content

Commit b659940

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

File tree

7 files changed

+8
-280
lines changed

7 files changed

+8
-280
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 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, 5.0.x, 4.5.x, 'issue/**' ]
67

@@ -16,9 +17,9 @@ jobs:
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@4.0.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@4.0.x

.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, 5.0.x, 4.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@4.0.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@4.0.x
2223
with:
2324
build-name: 'spring-data-cassandra'
2425
username: '${{ secrets.ARTIFACTORY_USERNAME }}'

CI.adoc

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

3-
image:https://jenkins.spring.io/buildStatus/icon?job=spring-data-cassandra%2Fmain&subject=Moore%20(main)[link=https://jenkins.spring.io/view/SpringData/job/spring-data-cassandra/]
4-
image:https://jenkins.spring.io/buildStatus/icon?job=spring-data-cassandra%2F2.1.x&subject=Lovelace%20(2.1.x)[link=https://jenkins.spring.io/view/SpringData/job/spring-data-cassandra/]
5-
image:https://jenkins.spring.io/buildStatus/icon?job=spring-data-cassandra%2F1.5.x&subject=Ingalls%20(1.5.x)[link=https://jenkins.spring.io/view/SpringData/job/spring-data-cassandra/]
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 `test.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-cassandra-github adoptopenjdk/openjdk8:latest /bin/bash`
20-
+
21-
This will launch the Docker image and mount your source code at `spring-data-cassandra-github`.
22-
+
23-
2. `cd spring-data-cassandra-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 test the `build.sh` script, do this:
32-
33-
1. `docker run -it --mount type=bind,source="$(pwd)",target=/spring-data-cassandra-github adoptopenjdk/openjdk8:latest /bin/bash`
34-
+
35-
This will launch the Docker image and mount your source code at `spring-data-cassandra-github`.
36-
+
37-
2. `cd spring-data-cassandra-github`
38-
+
39-
Next, try to package everything up from inside the container:
40-
+
41-
3. `./mvnw -Pci,snapshot -Dmaven.test.skip=true clean deploy`
42-
43-
IMPORTANT: This will attempt to deploy to artifactory, but without credentials, it will fail, leaving you simply with a built artifact.
44-
45-
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 & 134 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 Apache Cassandra image:https://jenkins.spring.io/buildStatus/icon?job=spring-data-cassandra%2Fmain&subject=Build[link=https://jenkins.spring.io/view/SpringData/job/spring-data-cassandra/] 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 for Apache Cassandra"]
1+
= Spring Data for Apache Cassandra 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 for Apache Cassandra"]
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/pipeline.properties

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

setup-cassandra.sh

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

0 commit comments

Comments
 (0)