Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

Commit

Permalink
v1.0.3 with arm64 build and extra debug logging run directory monitoring
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterPaul-Perfana committed Jan 29, 2024
1 parent fb2864b commit e132eb3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ jobs:

- name: Build
run: |
CGO_ENABLED=0 go build g2i.go
GOOS=linux GOARCH=amd64 go build -o g2i g2i.go
GOOS=linux GOARCH=arm64 go build -o g2i-arm64 g2i.go
- uses: olegtarasov/[email protected]
id: tagName
Expand All @@ -32,6 +33,6 @@ jobs:

- uses: ncipollo/release-action@v1
with:
artifacts: "g2i"
artifacts: "g2i,g2i-arm64"
body: "Release ${{ steps.tagName.outputs.tag }}"

2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ Next will search for simulation.log file to appear and start processing it.`,
Long: `This application allows writing raw Gatling load testing
tool logs directly to InfluxDB avoiding unnecessary
complications of Graphite protocol.`,
Version: "v1.0.2",
Version: "v1.0.3",
PreRunE: preRunSetup,
Args: cobra.ExactArgs(1),
Run: func(cmd *cobra.Command, args []string) {
Expand Down
2 changes: 1 addition & 1 deletion parser/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func lookupTargetDir(ctx context.Context, dir string) error {
func walkFunc(path string, info os.FileInfo, err error) error {

if info.IsDir() && resultDirNamePattern.MatchString(info.Name()) {
// l.Debugf("Found directory '%s' with mod time %s", path, info.ModTime().String())
l.Debugf("Found directory '%s' with mod time %s", path, info.ModTime().String())
if info.ModTime().Unix() > startTime {
logDir = path
l.Infof("Log directory '%s' with mod time %s is newer than startTime %s", logDir,
Expand Down

0 comments on commit e132eb3

Please sign in to comment.