F5

Results 9 comments of F5

``` steps { dir('cicd') { sh 'ls -l' kubernetesDeploy( configs: './deploy.yaml', kubeconfigId: 'kebuconfig', enableConfigSubstitution: true, ) } } ``` v1.0.0 same problem, can't use dir.

I know it can be achieved by json patch replace op twice. Like this: ```yaml # patch1.yaml - op: replace path: /spec/template/spec/volumes/0 value: name: kafka-broker01 persistentVolumeClaim: claimName: kafka-broker01 # patch2.yaml...

After searching for information and testing, I found two methods: ```yaml # patch.yaml --- kind: Deployment apiVersion: apps/v1 metadata: name: kafka-broker01 spec: template: spec: volumes: - name: kafka-broker01 emptyDir: null...

I extend the trace level like this and it works. ```go const TraceLevel = zapcore.DebugLevel - 1 func NewDevZapLogger(lvl zapcore.LevelEnabler) *zap.Logger { encCfg := zap.NewDevelopmentEncoderConfig() encCfg.EncodeLevel = capitalColorLevelEncoder zapCore :=...

> @win5do How do you log a message with Trace level? There is no Trace() method, and we can't specify level when log a message. `zap.Logger` provide `Log` API that...

> @win5do but it only support string, we need something like Tracef, Tracew, e.g #933 probably a fork of zap would be better. It's easy to make a wrapper func:...

Not supporting plug-in custom rules may be for the commercialization of buf, but this is too important for a community project. We have many existing projects and cannot use the...

go1.19.13, Considering GC factors, jsoniter is no longer as good as encoding/json. bench code: https://github.com/win5do/play-go/blob/0c79bdc76dd37be3db9fc69df20c2a922a11ae49/bench/json/bench_test.go ```sh goos: darwin goarch: arm64 pkg: play-go/bench/json │ std │ jtr │ │ sec/op │...