Skip to content

Commit 81ef48f

Browse files
author
RPKI Team at RIPE NCC
committed
RIPE NCC has merged 37710f6
* gitlab: stop building a docker image [937a3faa] * README: replace docker-compose with local gradle build [skip-ci] [deb04e53] * Enable ASPA in production [6b6cf9a3] * Use HTTPS URLs for internal test services [1de15708] * Replace endpoints in service client [056ef7c2] * gitlab: auto-deploy prepdev on 'next' only [c7e155c7] * Try another version of rules [8ead6c94] * Cleanup [d51ec5a5] * Solve issue with 'this-escape' warning [514b5129] * Automatically deploy to prepdev when merging to next [67ea8b81] * Copy configuration from rpki-monitoring [8c450651] * Revert auto-merge-renovate-to-next and update renovate.json [3205cea2] * Try some automerge [22f78756] * Try different image (openjdk-21 is deprecated) [b3569a92] * JVM option [96301cee] * Bump gradle image version [ce6de10d] * Make it build with JDK21 [8357b746] * Simple 17 -> 21 replacement [ad2745d1] * Oopsie [fc41294f] * Naming [720c96ba] * Format unique ASNs, otherwise we have very long messages in logs [7867204b] * chore(deps): update dependency io.sentry:sentry-bom to v8.26.0 [9b3b8147] * Naming [8b012687] * chore(deps): update dependency net.logstash.logback:logstash-logback-encoder to v9 [574792ee] * chore(deps): update dependency org.sonarqube:org.sonarqube.gradle.plugin to v7.0.1.6134 [491d3909] * Delete UPGRADE.txt [b591d5bc] * Remove opentelemetry from prepdev [8ada30f6] * Remove opentelemetry from prepdev [7ddc38b9] * Remove opentelemetry from prepdev [a936dce2] * Cleanup docker-compose configuration [1c083cac]
1 parent 7174bbc commit 81ef48f

33 files changed

+102
-368
lines changed

.github/workflows/unit-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: setup java
2323
uses: actions/setup-java@5
2424
with:
25-
java-version: 17
25+
java-version: 21
2626
distribution: temurin
2727
cache: gradle
2828
- name: Run tests

.gitlab-ci.yml

Lines changed: 2 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
default:
2-
image: gradle:8.14-jdk17
2+
image: gradle:8.14-jdk21
33

44
# Explicit version of the Mergerequests-Pipelines workflow, with the main branch
55
# added.
@@ -70,43 +70,6 @@ build:
7070
junit:
7171
- build/test-results/**/*.xml
7272

73-
build-image:
74-
stage: package
75-
needs: ["build"]
76-
cache:
77-
key: ${CI_COMMIT_REF_SLUG}
78-
paths:
79-
- .gradle/caches
80-
- .gradle/wrapper
81-
before_script:
82-
- apt-get update
83-
- apt-get install --yes --no-install-recommends docker.io
84-
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
85-
- mkdir -p ~/.config/google-cloud-tools-java/jib/
86-
- cp jib.config.json ~/.config/google-cloud-tools-java/jib/config.json
87-
script:
88-
- ./gradlew jib --image $CI_REGISTRY_IMAGE/ci:ci-step-$BUILD_NUMBER
89-
rules:
90-
- if: $CI_MERGE_REQUEST_EVENT_TYPE == "merge_train"
91-
when: never
92-
- when: on_success
93-
94-
image-tag-latest:
95-
stage: deploy
96-
dependencies:
97-
- build-image
98-
image: docker-registry.ripe.net/swe/gitlab-ci/debian-deployenv
99-
before_script:
100-
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
101-
script:
102-
- docker pull $CI_REGISTRY_IMAGE/ci:ci-step-$BUILD_NUMBER
103-
- docker tag $CI_REGISTRY_IMAGE/ci:ci-step-$BUILD_NUMBER ${CI_REGISTRY_IMAGE}:latest
104-
- docker push ${CI_REGISTRY_IMAGE}:latest
105-
rules:
106-
- if: $CI_MERGE_REQUEST_EVENT_TYPE == "merge_train"
107-
when: never
108-
- if: $CI_COMMIT_BRANCH == "main"
109-
11073
######### Test stage #########
11174
sonarqube:
11275
stage: qa
@@ -169,8 +132,7 @@ prepdev:
169132
name: prepdev
170133
allow_failure: true
171134
rules:
172-
- if: $CI_MERGE_REQUEST_EVENT_TYPE == "merge_train"
173-
when: never
135+
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
174136
- when: manual
175137

176138
pilot:

README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -112,19 +112,14 @@ the manifest. The best time to determine that is when we know exactly what will
112112

113113
## How to set up RPKI development environment
114114

115-
### Docker
115+
### Local build
116116

117-
You can run RPKI core and all required components with docker.
117+
You can build the RPKI Core software locally with gradle.
118118

119119
```
120120
> gradle build
121-
> docker-compose up
122121
```
123122

124-
This builds the necessary docker images and starts the container configuration as specified in
125-
the `docker-compose.yml`. When you make modifications to the system, don't forget to rebuild the
126-
docker image with `docker-compose build` (or `docker-compose up --build`).
127-
128123
### Hardware Security Module
129124

130125
For secure key signing the CA software integrates with a Hardware Security

UPGRADE.txt

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

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ dependencies {
4444
implementation "org.thymeleaf:thymeleaf:3.1.2.RELEASE"
4545
implementation "org.thymeleaf:thymeleaf-spring6:3.1.3.RELEASE"
4646

47-
implementation platform('io.sentry:sentry-bom:8.23.0')
47+
implementation platform('io.sentry:sentry-bom:8.26.0')
4848
implementation 'io.sentry:sentry-spring-boot-starter'
4949
implementation 'io.sentry:sentry-logback'
5050

@@ -62,7 +62,7 @@ dependencies {
6262
implementation 'commons-io:commons-io:2.20.0'
6363
implementation 'ch.qos.logback.contrib:logback-json-classic:0.1.5'
6464
implementation 'ch.qos.logback.contrib:logback-jackson:0.1.5'
65-
implementation 'net.logstash.logback:logstash-logback-encoder:8.1'
65+
implementation 'net.logstash.logback:logstash-logback-encoder:9.0'
6666
implementation 'commons-lang:commons-lang:2.6'
6767

6868
testImplementation('org.springframework.boot:spring-boot-starter-test') {
@@ -146,7 +146,7 @@ distributions {
146146

147147
jib {
148148
from {
149-
image = "openjdk:17-jdk-slim"
149+
image = "eclipse-temurin:21-ubi10-minimal"
150150
}
151151
to {
152152
image = "docker-registry.ripe.net/rpki/rpki-ripe-ncc"

buildSrc/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ dependencies {
1414
exclude group: 'org.eclipse.jgit', module: 'org.eclipse.jgit'
1515
}
1616
implementation 'org.eclipse.jgit:org.eclipse.jgit:7.4.0.202509020913-r'
17-
implementation 'org.sonarqube:org.sonarqube.gradle.plugin:7.0.0.6105'
17+
implementation 'org.sonarqube:org.sonarqube.gradle.plugin:7.0.1.6134'
1818
}

buildSrc/src/main/groovy/rpki-ripe-ncc.build-conventions.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ repositories {
4343

4444
java {
4545
toolchain {
46-
languageVersion = JavaLanguageVersion.of(17)
46+
languageVersion = JavaLanguageVersion.of(21)
4747
}
4848
}
4949

docker-compose.yml

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

docker/rsyncd.conf

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

etc/rsyncd.conf

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

0 commit comments

Comments
 (0)