Skip to content

Commit

Permalink
chore(version): update to version 'v0.3.2'.
Browse files Browse the repository at this point in the history
  • Loading branch information
tchiotludo committed Jan 19, 2022
2 parents d596504 + 2b74649 commit e5aa680
Show file tree
Hide file tree
Showing 17 changed files with 1,795 additions and 1,580 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,15 @@ jobs:
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Set up JDK
- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: 11

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
Expand Down
14 changes: 9 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,14 @@ jobs:
# JDK
- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: 11

- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@v1

# Gradle check
- name: Build with Gradle
env:
Expand All @@ -86,7 +90,7 @@ jobs:
./gradlew check jacoco --no-daemon
# Codecov
- uses: codecov/codecov-action@v1
- uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}

Expand Down Expand Up @@ -128,13 +132,13 @@ jobs:
# Upload artifacts
- name: Upload jar
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v2
with:
name: jar
path: build/libs/

- name: Upload Executable
uses: actions/upload-artifact@v1
uses: actions/upload-artifact@v2
with:
name: exe
path: build/executable/
Expand Down Expand Up @@ -191,7 +195,7 @@ jobs:
push: true
tags: ${{ format('kestra/kestra:{0}-full', steps.vars.outputs.tag) }}
build-args: |
KESTRA_PLUGINS=${{ steps.vars.outputs.plugins }} io.kestra.storage:storage-gcs:LATEST io.kestra.storage:storage-minio:LATEST io.kestra.plugin:plugin-aws:LATEST io.kestra.plugin:plugin-compress:LATEST io.kestra.plugin:plugin-crypto:LATEST io.kestra.plugin:plugin-elasticsearch:LATEST io.kestra.plugin:plugin-fs:LATEST io.kestra.plugin:plugin-gcp:LATEST io.kestra.plugin:plugin-googleworkspace:LATEST io.kestra.plugin:plugin-jdbc-clickhouse:LATEST io.kestra.plugin:plugin-jdbc-mysql:LATEST io.kestra.plugin:plugin-jdbc-oracle:LATEST io.kestra.plugin:plugin-jdbc-postgres:LATEST io.kestra.plugin:plugin-jdbc-redshift:LATEST io.kestra.plugin:plugin-jdbc-vertica:LATEST io.kestra.plugin:plugin-kubernetes:LATEST io.kestra.plugin:plugin-mongodb:LATEST io.kestra.plugin:plugin-notifications:LATEST io.kestra.plugin:plugin-script-groovy:LATEST io.kestra.plugin:plugin-script-jython:LATEST io.kestra.plugin:plugin-script-nashorn:LATEST io.kestra.plugin:plugin-serdes:LATEST io.kestra.plugin:plugin-singer:LATEST
KESTRA_PLUGINS=${{ steps.vars.outputs.plugins }} io.kestra.storage:storage-gcs:LATEST io.kestra.storage:storage-minio:LATEST io.kestra.plugin:plugin-aws:LATEST io.kestra.plugin:plugin-compress:LATEST io.kestra.plugin:plugin-crypto:LATEST io.kestra.plugin:plugin-elasticsearch:LATEST io.kestra.plugin:plugin-fs:LATEST io.kestra.plugin:plugin-gcp:LATEST io.kestra.plugin:plugin-googleworkspace:LATEST io.kestra.plugin:plugin-jdbc-clickhouse:LATEST io.kestra.plugin:plugin-jdbc-mysql:LATEST io.kestra.plugin:plugin-jdbc-oracle:LATEST io.kestra.plugin:plugin-jdbc-postgres:LATEST io.kestra.plugin:plugin-jdbc-redshift:LATEST io.kestra.plugin:plugin-jdbc-vertica:LATEST io.kestra.plugin:plugin-jdbc-vectorwise:LATEST io.kestra.plugin:plugin-kubernetes:LATEST io.kestra.plugin:plugin-mongodb:LATEST io.kestra.plugin:plugin-notifications:LATEST io.kestra.plugin:plugin-script-groovy:LATEST io.kestra.plugin:plugin-script-jython:LATEST io.kestra.plugin:plugin-script-nashorn:LATEST io.kestra.plugin:plugin-serdes:LATEST io.kestra.plugin:plugin-singer:LATEST
APT_PACKAGES=python3-pip python3-wheel python3-setuptools python3-virtualenv nodejs
# Slack
Expand Down
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ plugins {
id "java"
id 'java-library'
id "idea"
id "com.github.johnrengelman.shadow" version "7.1.1"
id "com.github.johnrengelman.shadow" version "7.1.2"
id "application"

// test
id 'com.adarshr.test-logger' version '3.1.0'
id 'org.gradle.test-retry' version '1.3.1'

// helper
id "com.github.ben-manes.versions" version "0.39.0"
id "com.github.ben-manes.versions" version "0.41.0"

// front
id 'org.siouan.frontend-jdk11' version '6.0.0' apply false
Expand Down Expand Up @@ -98,8 +98,8 @@ allprojects {
// logs
implementation "org.slf4j:slf4j-api:1.7.32"
implementation "ch.qos.logback:logback-classic:1.2.9"
implementation group: 'org.apache.logging.log4j', name: 'log4j-to-slf4j', version: '2.16.0'
implementation group: 'org.slf4j', name: 'jul-to-slf4j', version: '1.7.30'
implementation group: 'org.apache.logging.log4j', name: 'log4j-to-slf4j', version: '2.17.1'
implementation group: 'org.slf4j', name: 'jul-to-slf4j', version: '1.7.33'

// jackson
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind'
Expand Down
10 changes: 5 additions & 5 deletions core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dependencies {

// utils
implementation group: 'net.jodah', name: 'failsafe', version: '2.4.4'
implementation 'com.github.oshi:oshi-core:5.8.6'
implementation 'com.github.oshi:oshi-core:6.0.0'
implementation 'io.pebbletemplates:pebble:3.1.5'

// scheduler
Expand All @@ -33,10 +33,10 @@ dependencies {
implementation 'com.github.docker-java:docker-java-transport-httpclient5:3.2.12'

// schema
implementation group: 'com.github.victools', name: 'jsonschema-generator', version: '4.21.0'
implementation group: 'com.github.victools', name: 'jsonschema-module-javax-validation', version: '4.21.0'
implementation group: 'com.github.victools', name: 'jsonschema-module-jackson', version: '4.21.0'
implementation group: 'com.github.victools', name: 'jsonschema-module-swagger-2', version: '4.21.0'
implementation group: 'com.github.victools', name: 'jsonschema-generator', version: '4.22.0'
implementation group: 'com.github.victools', name: 'jsonschema-module-javax-validation', version: '4.22.0'
implementation group: 'com.github.victools', name: 'jsonschema-module-jackson', version: '4.22.0'
implementation group: 'com.github.victools', name: 'jsonschema-module-swagger-2', version: '4.22.0'

// test
testImplementation project(':repository-memory')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ public class ScriptOutput implements io.kestra.core.models.tasks.Output {

@Override
public Optional<State.Type> finalState() {
return this.warningOnStdErr != null && this.stdErrLineCount > 0 ? Optional.of(State.Type.WARNING) : Output.super.finalState();
return this.warningOnStdErr != null && this.warningOnStdErr && this.stdErrLineCount > 0 ? Optional.of(State.Type.WARNING) : Output.super.finalState();
}
}
7 changes: 3 additions & 4 deletions core/src/main/resources/docs/task.hbs
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
---
title: {{shortName}}
title: {{json shortName}}
editLink: false
{{#if description}}
description: {{ description }}
{{#if docDescription}}
description: {{ json docDescription }}
{{~/if}}
{{#if icon}}
icon: {{ icon }}
{{~/if}}
---

{{!-- {{ function }} --}}
Expand Down
3 changes: 3 additions & 0 deletions core/src/main/resources/logback/base.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,7 @@

<!-- HealthCheck that report an exception -->
<logger name="io.micronaut.management.health.indicator.HealthResult" level="OFF" />

<!-- Elastic deprecation warning that is not compatible with OpenSearch, we must disable all warnings ... -->
<logger name="org.opensearch.client.RestClient" level="ERROR" />
</included>
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ void tasks() throws URISyntaxException, IOException {
String render = DocumentationGenerator.render(doc);

assertThat(render, containsString("ExampleTask"));
assertThat(render, containsString("description: \"Short description for this task\""));
assertThat(render, containsString("`VALUE_1`"));
assertThat(render, containsString("`VALUE_2`"));
}
Expand Down
7 changes: 3 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
version=0.3.1
opensearchVersion=1.2.2
micronautVersion=3.2.3
jacksonVersion=2.13.1
version=0.3.2
opensearchVersion=1.2.3
micronautVersion=3.2.6
kafkaVersion=3.0.0
lombokVersion=1.18.22
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading

0 comments on commit e5aa680

Please sign in to comment.