Skip to content

Releases: GoogleCloudPlatform/guest-agent

20240207.01

07 Feb 21:39
bc138e1
Compare
Choose a tag to compare
Refactor utils package to not dump everything unrelated into one file…

20240207.00

07 Feb 19:15
8aee0e4
Compare
Choose a tag to compare
Set version on metadata script runner (#353)

20240122.00

23 Jan 00:31
ae2d745
Compare
Choose a tag to compare
Remove quintonamore from OWNERS (#345)

Updating team roster

20240111.00

12 Jan 00:24
a3bd65b
Compare
Choose a tag to compare
Delete integration tests (#343)

* Fix integration tests

* Fix error messages, avoid using metadata in addresses integration test

* Delete the integration tests entirely

20240109.00

09 Jan 20:26
a3f6f29
Compare
Choose a tag to compare
Update licenses with dependencies of go-winio (#339)

20231214.00

15 Dec 00:50
b1c6ecf
Compare
Choose a tag to compare
Fix snapshot test failure (#336)

* oslogin: don't attempt to disable/enable if metadata is unreachable

In cases where the network is down during the early initialization stages
we shouldn't attempt to disable/enable oslogin as we don't have the
metadata descriptor available.

* snapshot: simplify listener loop and improve error logging

Simplify the listener control loop and only log error if the error
is not a context cancellation, if this is a context cancellation we
handle it as a normal operation and simply leave the control block.

20231212.00

12 Dec 18:33
33ad643
Compare
Choose a tag to compare
Implement json-based command messaging system for guest-agent (#326)

* Implement command monitor for guest-agent

* Provides registration/deregistration API for command handlers

* Dependent only on cfg for configuration

* Underlying protocol-agnostic (capable of using any communication protocol which implements a net.Listener)
	* Currently the only protocol implementations are unix sockets on linux and named pipes on windows
	* cfg entries for options relating to sockets added under unstable section

* Extracts a JSON blob from each request, unmarshals to the command.Request structure to get the command ID, and passes the full blob as a []byte to the handler.

* Align fallback timeout and default config timeout in command monitor

* Allow programmatic access to status codes for predefined server responses

* Fix go.mod/go.sum

* Remove redundant srv == nil checks

* Clean up comments in command_windows.go

* Break command monitor listening loop when the server is closed

* remove dead code

* log wait errors as error instead of info

* Correct world rw test case

* Use a separate test pipe path for every subtest of TestListen

* Append test name to named pipe path for windows unit testing

* gofmt & lint

* gofmt

* Move cmdServer to top of file, do not re-initialize cmdServer after Init()`

* return from command server gracefully when context is cancelled

* don't export newCmdServer

* Remove use of marshalOrInternalError, use json.Marshal directly and handle errors inline

* Unit test handler failure

* Remove Stop and Wait functions from command monitor, start and close server directly.

* Gate command monitor initialization on a feature flag

* Add a command monitor structure to manager handler registration

* Move command configuration handling to the agent's initialization instead of command's

Document command server's behavior

* gofmt / go vet

* Document quirks of handler registration

* fix readme typo

* Ensure that permissions and ownership are acceptable when creating directories necessary for the unix socket

* use the correct loop var in func morePermissive

* gofmt

* Set empty pipe group by default

* Don't return anything command.Init, unit test this function

20231118.00

18 Nov 07:40
833df2c
Compare
Choose a tag to compare
sshca: remove certificate caching (#334)

As it could represent a security risk we are removing the caching
strategy entirely.

20231115.00

15 Nov 20:23
0eeb9c3
Compare
Choose a tag to compare
revert: 3ddd9d4a496f7a9c591ded58c3f541fd9cc7e317 (#333)

This PR reverts the config loading ordering change to comply with
the documentation, we found out that we have users relying on the
wrong/non documented behavior.

20231110.00

10 Nov 02:06
94cae3c
Compare
Choose a tag to compare
Update Google UEFI variable (#329)