mirror of
https://github.com/outbackdingo/labca.git
synced 2026-01-27 18:19:33 +00:00
Bump boulder version to release-2022-09-06
This commit is contained in:
@@ -50,17 +50,17 @@ func _parseLine(line string, loc *time.Location) Activity {
|
||||
|
||||
line = _removeAnsiColors(line)
|
||||
|
||||
re := regexp.MustCompile(`^.*\|\s*(\S+) (\S) (\S+) (\S+) (.*)$`)
|
||||
re := regexp.MustCompile(`^.*\|\s*(\S+)(.*\:)? (\S) (\S+) (\S+) (.*)$`)
|
||||
result := re.FindStringSubmatch(line)
|
||||
if len(result) == 0 {
|
||||
return activity
|
||||
}
|
||||
|
||||
activity.Class = ""
|
||||
if result[2] == "4" {
|
||||
if result[3] == "4" {
|
||||
activity.Class = "warning"
|
||||
}
|
||||
if result[2] == "3" {
|
||||
if result[3] == "3" {
|
||||
activity.Class = "error"
|
||||
}
|
||||
|
||||
@@ -74,8 +74,8 @@ func _parseLine(line string, loc *time.Location) Activity {
|
||||
}
|
||||
|
||||
activity.Title = ""
|
||||
if len(result[3]) > 2 {
|
||||
tail := result[3][len(result[3])-2:]
|
||||
if len(result[4]) > 2 {
|
||||
tail := result[4][len(result[4])-2:]
|
||||
switch tail {
|
||||
case "ca":
|
||||
activity.Title = "Certification Agent"
|
||||
@@ -88,7 +88,7 @@ func _parseLine(line string, loc *time.Location) Activity {
|
||||
}
|
||||
}
|
||||
|
||||
message := result[5]
|
||||
message := result[6]
|
||||
idx := strings.Index(message, ".well-known/acme-challenge")
|
||||
if idx > -1 {
|
||||
message = message[0:idx]
|
||||
|
||||
2
install
2
install
@@ -24,7 +24,7 @@ dockerComposeVersion="v2.5.0"
|
||||
|
||||
labcaUrl="https://github.com/hakwerk/labca/"
|
||||
boulderUrl="https://github.com/letsencrypt/boulder/"
|
||||
boulderTag="release-2022-08-29"
|
||||
boulderTag="release-2022-09-06"
|
||||
|
||||
# Feature flags
|
||||
flag_skip_redis=true
|
||||
|
||||
@@ -104,9 +104,9 @@ index 0cd8c8dd..36619190 100644
|
||||
+ control:
|
||||
image: *boulder_image
|
||||
- environment:
|
||||
- GO111MODULE: "on"
|
||||
- GOFLAGS: -mod=vendor
|
||||
- BOULDER_CONFIG_DIR: test/config
|
||||
- GO111MODULE: "on"
|
||||
- GOFLAGS: -mod=vendor
|
||||
- BOULDER_CONFIG_DIR: test/config
|
||||
networks:
|
||||
- bluenet
|
||||
volumes:
|
||||
|
||||
@@ -63,7 +63,7 @@ index 859abc9f..749b3818 100644
|
||||
+ err = storeLocalFile(cs.localStorePath, issuer.NameID(), crlNumber, shardIdx, bytes.NewReader(crlBytes))
|
||||
+ }
|
||||
if err != nil {
|
||||
cs.uploadCount.WithLabelValues(issuer.Subject.CommonName, "failed")
|
||||
cs.uploadCount.WithLabelValues(issuer.Subject.CommonName, "failed").Inc()
|
||||
cs.log.AuditErrf("CRL upload failed: id=[%s] err=[%s]", crlId, err)
|
||||
@@ -189,3 +199,46 @@ func (cs *crlStorer) UploadCRL(stream cspb.CRLStorer_UploadCRLServer) error {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user