Skip to content

Commit 77eab73

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

File tree

9 files changed

+12
-221
lines changed

9 files changed

+12
-221
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 Couchbase image:https://jenkins.spring.io/buildStatus/icon?job=spring-data-couchbase%2Fmain&subject=Build[link=https://jenkins.spring.io/view/SpringData/job/spring-data-couchbase/] 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 Couchbase"]
1+
= Spring Data Couchbase 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 Couchbase"]
22

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

.github/workflows/ci.yml

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

33
on:
4+
workflow_dispatch:
45
push:
5-
branches: [ main, 5.0.x, 4.5.x, 'issue/**' ]
6+
branches: [ main, 6.0.x, 5.5.x, 'issue/**' ]
67

78
permissions: read-all
89

@@ -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@main
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@main

.github/workflows/snapshots.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: Snapshots
22

33
on:
4+
workflow_dispatch:
45
push:
5-
branches: [ main, 5.0.x, 4.5.x, 'issue/**' ]
6+
branches: [ main, 6.0.x, 5.5.x, 'issue/**' ]
67

78
permissions: read-all
89

@@ -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@main
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@main
2223
with:
2324
build-name: 'spring-data-couchbase'
2425
username: '${{ secrets.ARTIFACTORY_USERNAME }}'

CI.adoc

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

3-
image:https://jenkins.spring.io/buildStatus/icon?job=spring-data-couchbase%2Fmain&subject=Moore%20(main)["Spring Data Couchbase", link="https://jenkins.spring
4-
.io/view/SpringData/job/spring-data-couchbase/"]
5-
image:https://jenkins.spring.io/buildStatus/icon?job=spring-data-couchbase%2F3.1.x&subject=Lovelace%20(3.1.x)["Spring Data Couchbase", link="https://jenkins.spring
6-
.io/view/SpringData/job/spring-data-couchbase/"]
7-
image:https://jenkins.spring.io/buildStatus/icon?job=spring-data-couchbase%2F2.2.x&subject=Ingalls%20(2.2.x)["Spring Data Couchbase", link="https://jenkins.spring
8-
.io/view/SpringData/job/spring-data-couchbase/"]
9-
103
== Running CI tasks locally
114

12-
Since this pipeline is purely Docker-based, it's easy to:
13-
14-
* Debug what went wrong on your local machine.
15-
* Test out a a tweak to your `test.sh` script before sending it out.
16-
* Experiment against a new image before submitting your pull request.
17-
18-
All of these use cases are great reasons to essentially run what the CI server does on your local machine.
19-
20-
IMPORTANT: To do this you must have Docker installed on your machine.
21-
22-
1. `docker run -it --mount type=bind,source="$(pwd)",target=/spring-data-couchbase-github -v /usr/bin/docker:/usr/bin/docker -v /var/run/docker.sock:/var/run/docker.sock adoptopenjdk/openjdk8:latest /bin/bash`
23-
+
24-
This will launch the Docker image and mount your source code at `spring-data-couchbase-github`.
25-
+
26-
2. `cd spring-data-couchbase-github`
27-
+
28-
Next, test everything from inside the container:
29-
+
30-
3. `./mvnw -Pci clean dependency:list test -Dsort -B` (or whatever test configuration you must use)
31-
32-
Since the container is binding to your source, you can make edits from your IDE and continue to run build jobs.
33-
34-
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 & 130 deletions
This file was deleted.

README.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
= Spring Data Couchbase image:https://jenkins.spring.io/buildStatus/icon?job=spring-data-couchbase%2Fmain&subject=Build[link=https://jenkins.spring.io/view/SpringData/job/spring-data-couchbase/] 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 Couchbase"]
1+
= Spring Data Couchbase 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 Couchbase"]
22

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

ci/clean.sh

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

ci/pipeline.properties

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

ci/test.sh

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

0 commit comments

Comments
 (0)