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

Update client/swagger.yaml from 0.21.0 to b922c7d #233

Merged
merged 4 commits into from
Jul 14, 2020

Conversation

kzys
Copy link
Contributor

@kzys kzys commented May 5, 2020

Issue #, if available:

NA

Description of changes:

Firecracker is making a few breaking changes. I'd like to estimate how much changes we may need, before their official release.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

machine.go Outdated Show resolved Hide resolved
@kzys
Copy link
Contributor Author

kzys commented May 5, 2020

Let me terminate the EC2 instance (i-0b150441a0ae63644). It seems unhealthy. https://buildkite.com/firecracker-microvm/firecracker-go-sdk/builds/873

@kzys kzys force-pushed the fc-master branch 3 times, most recently from 0ecfdb0 to f1cdac6 Compare May 5, 2020 21:52
machine.go Outdated Show resolved Hide resolved
machine.go Outdated Show resolved Hide resolved
@kzys kzys changed the title [WIP] Update client/swagger.yaml from 0.21.0 to a99ded1 Update client/swagger.yaml from 0.21.0 to a99ded1 May 14, 2020
@kzys kzys requested review from xibz and IRCody May 14, 2020 00:06
@kzys kzys force-pushed the fc-master branch 4 times, most recently from 0fa8f41 to 6303571 Compare June 4, 2020 21:18
@kzys kzys changed the title Update client/swagger.yaml from 0.21.0 to a99ded1 Update client/swagger.yaml from 0.21.0 to 07f07f4 Jun 4, 2020
kzys added 3 commits July 13, 2020 11:52
And "make generate" to generate files.

Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
The SDK's master no longer works with 0.21.x.

Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
…ork pre-boot

These methods use PATCH internally, which no longer work pre-boot.

Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
@kzys kzys changed the title Update client/swagger.yaml from 0.21.0 to 07f07f4 Update client/swagger.yaml from 0.21.0 to b922c7d Jul 13, 2020
machine.go Show resolved Hide resolved
.buildkite/pipeline.yml Show resolved Hide resolved
machine.go Show resolved Hide resolved
machine.go Outdated
}

func (m *Machine) setupMetrics(ctx context.Context) error {
fmt.Println("setupMetrics")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

m.logger.printf if we still want this message?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right. Will fix.

machine_test.go Show resolved Hide resolved
Previously Firecracker had a single operation to set logging and
metrics, and the fields specifically mentioned "FIFO".

Now the operation is broken into two and it doesn't mention "FIFO"
anymore.

This change keeps MetricsFifo and LogFifo to be backward-compatible.

Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>

fix
@kzys kzys merged commit 0917e0b into firecracker-microvm:master Jul 14, 2020
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.

None yet

2 participants