diff --git a/.drone.yml b/.drone.yml index 26ba048..65e6325 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,12 +1,29 @@ kind: pipeline type: kubernetes +name: docker-pipeline + +steps: + - name: docker + image: plugins/docker + settings: + username: + from_secret: docker_username + password: + from_secret: docker_password + repo: git.cubetiqs.com/spring-web-api + registry: git.cubetiqs.com + tags: latest + +--- +kind: pipeline +type: kubernetes name: ci steps: - name: submodules image: alpine/git commands: - - git submodule update --init --recursive + - git submodule update --init --recursive - name: test image: cubetiq/openjdk:11u-ubuntu commands: diff --git a/api/src/main/resources/application.yml b/api/src/main/resources/application.yml index 1780b3c..0621ebc 100644 --- a/api/src/main/resources/application.yml +++ b/api/src/main/resources/application.yml @@ -6,7 +6,7 @@ server: key-store: ${SERVER_SSL_KEY_STORE:classpath:keystore/server.jks} key-store-password: ${SERVER_SSL_KEY_STORE_PASSWORD:cubetiq} key-password: ${SERVER_SSL_KEY_PASSWORD:cubetiq} - enabled: ${SERVER_SSL_ENABLED:true} + enabled: ${SERVER_SSL_ENABLED:false} compression: enabled: ${SERVER_COMPRESSION_ENABLED:${server.ssl.enabled}} diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 72e3dee..57367a3 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https://mirror.ctdn.net/gradle/gradle-7.4.1-bin.zip +distributionUrl=https://downloads.gradle.org/distributions/gradle-7.4.1-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists