Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cosigned: add version to cosigned #1139

Merged
merged 1 commit into from
Dec 7, 2021

Conversation

cpanato
Copy link
Member

@cpanato cpanato commented Dec 5, 2021

Summary

cosigned was the last tool to expose the version/gitstate/buid time information

adding this when cosigned start, if there is another better way to expose this info please let me know

$ ./cosigned
2021/12/05 16:58:46 {
  "GitVersion": "v99.999.00-keyless-37-ge233ce8-dirty",
  "GitCommit": "e233ce828a70491d5fec699477fb2b679efce8dc",
  "GitTreeState": "dirty",
  "BuildDate": "'2021-12-04T13:38:20Z'",
  "GoVersion": "go1.17.4",
  "Compiler": "gc",
  "Platform": "darwin/amd64"
}
2021/12/05 16:58:46 Registering 2 clients
2021/12/05 16:58:46 Registering 2 informer factories
2021/12/05 16:58:46 Registering 3 informers
2021/12/05 16:58:46 Registering 3 controllers
{"severity":"INFO","timestamp":"2021-12-05T16:58:46.706712+01:00","caller":"logging/config.go:116","message":"Successfully created the logger."}
{"severity":"INFO","timestamp":"2021-12-05T16:58:46.706775+01:00","caller":"logging/config.go:117","message":"Logging level set to: info"}
{"severity":"INFO","timestamp":"2021-12-05T16:58:46.706791+01:00","caller":"logging/config.go:79","message":"Fetch GitHub commit ID from kodata failed","error":"\"KO_DATA_PATH\" does not exist or is empty"}
{"severity":"INFO","timestamp":"2021-12-05T16:58:46.706818+01:00","logger":"cosigned","caller":"profiling/server.go:64","message":"Profiling enabled: false"}

Ticket Link

Fixes

Release Note


Signed-off-by: Carlos Panato <ctadeu@gmail.com>
@dekkagaijin dekkagaijin merged commit b454d08 into sigstore:main Dec 7, 2021
@github-actions github-actions bot added this to the v1.4.0 milestone Dec 7, 2021
@cpanato cpanato modified the milestones: v1.4.0, v1.4.1 Dec 7, 2021
@cpanato cpanato deleted the add-version-cosigned branch December 7, 2021 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants