Skip to content

Commit

Permalink
RIPE NCC has merged b83e3f80c
Browse files Browse the repository at this point in the history
* Remove trailing slash [463e89404]
* Fix basic dashboard links [90dfaa63e]
* gitlab: disallow to tag `latest` manually on branches [28ee96390]
* gitlab: allow prepdev and pilot deploys to fail [e4dbe3981]
* Update dependency commons-codec:commons-codec to v1.17.2 [af88529a5]
* Update dependency io.sentry:sentry-bom to v7.20.0 [e467972f0]
* Update dependency gradle to v8.12 [774acc89e]
* Update dependency org.thymeleaf:thymeleaf-spring6 to v3.1.3.RELEASE [1f799ebbf]
  • Loading branch information
RPKI Team at RIPE NCC committed Jan 10, 2025
1 parent 5d162ab commit 9f04b65
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
default:
image: gradle:8.11-jdk17
image: gradle:8.12-jdk17

# Explicit version of the Mergerequests-Pipelines workflow, with the main branch
# added.
Expand Down Expand Up @@ -106,8 +106,6 @@ image-tag-latest:
- if: $CI_MERGE_REQUEST_EVENT_TYPE == "merge_train"
when: never
- if: $CI_COMMIT_BRANCH == "main"
- when: manual


######### Test stage #########
sonarqube:
Expand Down Expand Up @@ -169,6 +167,7 @@ prepdev:
<<: *delivr-deploy
environment:
name: prepdev
allow_failure: true
rules:
- if: $CI_MERGE_REQUEST_EVENT_TYPE == "merge_train"
when: never
Expand All @@ -178,6 +177,7 @@ pilot:
<<: *delivr-deploy
environment:
name: pilot
allow_failure: true
rules:
- if: $CI_MERGE_REQUEST_EVENT_TYPE == "merge_train"
when: never
Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ dependencies {
implementation 'org.flywaydb:flyway-core'

implementation "org.thymeleaf:thymeleaf:3.1.2.RELEASE"
implementation "org.thymeleaf:thymeleaf-spring6:3.1.2.RELEASE"
implementation "org.thymeleaf:thymeleaf-spring6:3.1.3.RELEASE"

implementation platform('io.sentry:sentry-bom:7.18.1')
implementation platform('io.sentry:sentry-bom:7.20.0')
implementation 'io.sentry:sentry-spring-boot-starter'
implementation 'io.sentry:sentry-logback'

Expand All @@ -58,7 +58,7 @@ dependencies {

implementation 'com.google.code.gson:gson:2.11.0'
implementation 'com.jamesmurty.utils:java-xmlbuilder:1.3'
implementation 'commons-codec:commons-codec:1.17.1'
implementation 'commons-codec:commons-codec:1.17.2'
implementation 'commons-io:commons-io:2.18.0'
implementation 'ch.qos.logback.contrib:logback-json-classic:0.1.5'
implementation 'ch.qos.logback.contrib:logback-jackson:0.1.5'
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
3 changes: 1 addition & 2 deletions gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,7 @@ done
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
' "$PWD" ) || exit
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit

# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application-prepdev.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
server.address=localhost
system.setup.and.testing.api.enabled: true

mail.template.parameters.rpkiDashboardUri=https://my.prepdev.ripe.net/#/rpki
mail.template.parameters.rpkiDashboardUri=https://dashboard.rpki.prepdev.ripe.net
mail.template.parameters.authUnsubscribeUri=https://access.prepdev.ripe.net/?originalUrl=
mail.template.parameters.apiUnsubscribeUri=https://my.prepdev.ripe.net/api/rpki/unsubscribe-alerts

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application-production.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ logging.config=classpath:logback/logback-production.xml

server.address=localhost

mail.template.parameters.rpkiDashboardUri=https://my.ripe.net/#/rpki
mail.template.parameters.rpkiDashboardUri=https://dashboard.rpki.ripe.net
mail.template.parameters.authUnsubscribeUri=https://access.ripe.net/?originalUrl=
mail.template.parameters.apiUnsubscribeUri=https://my.ripe.net/api/rpki/unsubscribe-alerts

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ mail:
host: localhost
port: 25
template.parameters:
rpkiDashboardUri: "https://my.ripe.net/#/rpki"
rpkiDashboardUri: "https://dashboard.rpki.ripe.net"
authUnsubscribeUri: "https://access.ripe.net/?originalUrl="
apiUnsubscribeUri: "https://my.ripe.net/api/rpki/unsubscribe-alerts"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ public class RoaAlertCheckerTest {

private RoaAlertChecker subject;

private final String rpkiDashboardUri = "https://my.ripe.net/#/rpki";
private final String rpkiDashboardUri = "https://dashboard.rpki.ripe.net";
private final String authUnsubscribeUri = "http://access.ripe.net/?originalUrl=";
private final String apiUnsubscribeUri = "http://my.ripe.net/api/email/unsubscribe-alerts";
private final String apiUnsubscribeUri = "https://my.ripe.net/api/email/unsubscribe-alerts";
private final String unsubscribeSecret = UUID.randomUUID().toString();

private final EmailTokens emailTokens = new EmailTokens(unsubscribeSecret, authUnsubscribeUri, apiUnsubscribeUri);
Expand Down

0 comments on commit 9f04b65

Please sign in to comment.