-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Bump to rc5 Signed-off-by: Bogdan Vaneev <[email protected]> * Add script to build and push tag Signed-off-by: Bogdan Vaneev <[email protected]> * Fix tag Signed-off-by: Bogdan Vaneev <[email protected]> * Remove --info from travis Signed-off-by: Bogdan Vaneev <[email protected]>
- Loading branch information
Showing
10 changed files
with
105 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/usr/bin/env bash | ||
|
||
export TAG=warchantua/iroha:1.0.0_rc5 | ||
|
||
docker build -t $TAG --compress --squash . | ||
docker push $TAG |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
testcontainers/src/main/java/jp/co/soramitsu/iroha/testcontainers/detail/LoggerConfig.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package jp.co.soramitsu.iroha.testcontainers.detail; | ||
|
||
import java.util.Map; | ||
import lombok.Builder; | ||
import lombok.Value; | ||
|
||
@Builder | ||
@Value | ||
public class LoggerConfig { | ||
|
||
@Builder.Default | ||
private Verbosity level = Verbosity.INFO; | ||
|
||
private LoggerPattern patterns; | ||
|
||
private Map<String, LoggerConfig> children; | ||
|
||
} |
17 changes: 17 additions & 0 deletions
17
testcontainers/src/main/java/jp/co/soramitsu/iroha/testcontainers/detail/LoggerPattern.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package jp.co.soramitsu.iroha.testcontainers.detail; | ||
|
||
import lombok.Builder; | ||
import lombok.Value; | ||
|
||
@Builder | ||
@Value | ||
public class LoggerPattern { | ||
|
||
private String trace; | ||
private String debug; | ||
private String info; | ||
private String warn; | ||
private String error; | ||
private String critical; | ||
|
||
} |
19 changes: 11 additions & 8 deletions
19
testcontainers/src/main/java/jp/co/soramitsu/iroha/testcontainers/detail/Verbosity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,21 @@ | ||
package jp.co.soramitsu.iroha.testcontainers.detail; | ||
|
||
import com.fasterxml.jackson.annotation.JsonValue; | ||
import lombok.Getter; | ||
import lombok.RequiredArgsConstructor; | ||
|
||
@RequiredArgsConstructor | ||
@Getter | ||
public enum Verbosity { | ||
TRACE(0), | ||
DEBUG(1), | ||
INFO(2), | ||
WARN(3), | ||
ERROR(4), | ||
CRITICAL(5), | ||
OFF(6); | ||
TRACE("trace"), | ||
DEBUG("debug"), | ||
INFO("info"), | ||
WARN("warn"), | ||
ERROR("error"), | ||
CRITICAL("critical"); | ||
|
||
private final int level; | ||
@JsonValue | ||
private final String level; | ||
|
||
public static final String CONFIG_FILE = "config_file"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters