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

Refactor image management #11

Merged
merged 23 commits into from
Sep 27, 2023
Merged

Refactor image management #11

merged 23 commits into from
Sep 27, 2023

Conversation

bohendo
Copy link
Collaborator

@bohendo bohendo commented Sep 20, 2023

  • Defaults to using a default ubuntu image if no snapshots are present, otherwise uses the latest snapshot as before.
  • Also copies provision.sh to the example launch config setup command so that behavior is the same w or w/out snapshots present (although the later takes longer).
  • README has been updated with packer instructions.
  • initialization has been refactored to automatically occur before accessing state, and the dedicated init subcommand has been removed.

@github-actions
Copy link

github-actions bot commented Sep 20, 2023

Image description CodeRabbit


Uplevel your code reviews with CodeRabbit Pro

CodeRabbit Pro

If you like this project, please support us by purchasing the Pro version. The Pro version has advanced context, superior noise reduction and several proprietary improvements compared to the open source version.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Image description CodeRabbit

Commits Files that changed from the base of the PR and between 83ef5d8 and 44e27e3 commits.
Files selected (11)
  • .github/workflows/release.yml (1)
  • README.md (2)
  • cmd/cloudexec/init.go (1)
  • cmd/cloudexec/launch.go (2)
  • cmd/cloudexec/main.go (12)
  • cmd/cloudexec/user_data.go (2)
  • cmd/cloudexec/user_data.sh.tmpl (2)
  • packer/provision.sh (3)
  • pkg/digitalocean/digitalocean.go (1)
  • pkg/s3/s3.go (4)
  • pkg/state/state.go (1)
Files ignored due to filter (1)
  • example/cloudexec.toml
Files not summarized due to errors (11)
  • cmd/cloudexec/user_data.go (nothing obtained from openai)
  • .github/workflows/release.yml (nothing obtained from openai)
  • cmd/cloudexec/main.go (nothing obtained from openai)
  • cmd/cloudexec/init.go (nothing obtained from openai)
  • README.md (nothing obtained from openai)
  • cmd/cloudexec/launch.go (nothing obtained from openai)
  • pkg/digitalocean/digitalocean.go (nothing obtained from openai)
  • cmd/cloudexec/user_data.sh.tmpl (nothing obtained from openai)
  • packer/provision.sh (nothing obtained from openai)
  • pkg/s3/s3.go (nothing obtained from openai)
  • pkg/state/state.go (nothing obtained from openai)
Files not reviewed due to errors (11)
  • .github/workflows/release.yml (no response)
  • README.md (no response)
  • cmd/cloudexec/user_data.go (no response)
  • cmd/cloudexec/launch.go (no response)
  • cmd/cloudexec/init.go (no response)
  • cmd/cloudexec/main.go (no response)
  • cmd/cloudexec/user_data.sh.tmpl (no response)
  • packer/provision.sh (no response)
  • pkg/digitalocean/digitalocean.go (no response)
  • pkg/state/state.go (no response)
  • pkg/s3/s3.go (no response)
Review comments generated (0)
  • Review: 0
  • LGTM: 0

Tips

Chat with Image description CodeRabbit Bot (@coderabbitai)

  • Reply on review comments left by this bot to ask follow-up questions. A review comment is a comment on a diff or a file.
  • Invite the bot into a review comment chain by tagging @coderabbitai in a reply.

Code suggestions

  • The bot may make code suggestions, but please review them carefully before committing since the line number ranges may be misaligned.
  • You can edit the comment made by the bot and manually tweak the suggestion if it is slightly off.

Pausing incremental reviews

  • Add @coderabbitai: ignore anywhere in the PR description to pause further reviews from the bot.

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
cmd/cloudexec/main.go Show resolved Hide resolved
example/cloudexec.toml Outdated Show resolved Hide resolved
example/cloudexec.toml Outdated Show resolved Hide resolved
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Image description CodeRabbit

Commits Files that changed from the base of the PR and between 44e27e3 and fb64cd1 commits.
Files selected (8)
  • .github/workflows/release.yml (1)
  • .goreleaser.yml (1)
  • README.md (2)
  • cmd/cloudexec/init.go (1)
  • cmd/cloudexec/launch.go (2)
  • cmd/cloudexec/main.go (12)
  • cmd/cloudexec/user_data.sh.tmpl (5)
  • pkg/s3/s3.go (6)
Files ignored due to filter (1)
  • example/cloudexec.toml
Files not summarized due to errors (8)
  • cmd/cloudexec/main.go (nothing obtained from openai)
  • README.md (nothing obtained from openai)
  • .github/workflows/release.yml (nothing obtained from openai)
  • cmd/cloudexec/init.go (nothing obtained from openai)
  • .goreleaser.yml (nothing obtained from openai)
  • cmd/cloudexec/launch.go (nothing obtained from openai)
  • cmd/cloudexec/user_data.sh.tmpl (nothing obtained from openai)
  • pkg/s3/s3.go (nothing obtained from openai)
Files not reviewed due to errors (8)
  • README.md (no response)
  • cmd/cloudexec/launch.go (no response)
  • cmd/cloudexec/main.go (no response)
  • .github/workflows/release.yml (no response)
  • cmd/cloudexec/init.go (no response)
  • .goreleaser.yml (no response)
  • cmd/cloudexec/user_data.sh.tmpl (no response)
  • pkg/s3/s3.go (no response)
Review comments generated (0)
  • Review: 0
  • LGTM: 0

Tips

Chat with Image description CodeRabbit Bot (@coderabbitai)

  • Reply on review comments left by this bot to ask follow-up questions. A review comment is a comment on a diff or a file.
  • Invite the bot into a review comment chain by tagging @coderabbitai in a reply.

Code suggestions

  • The bot may make code suggestions, but please review them carefully before committing since the line number ranges may be misaligned.
  • You can edit the comment made by the bot and manually tweak the suggestion if it is slightly off.

Pausing incremental reviews

  • Add @coderabbitai: ignore anywhere in the PR description to pause further reviews from the bot.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Image description CodeRabbit

Commits Files that changed from the base of the PR and between fb64cd1 and 54e126c commits.
Files selected (2)
  • cmd/cloudexec/user_data.sh.tmpl (5)
  • pkg/s3/s3.go (7)
Files not summarized due to errors (2)
  • pkg/s3/s3.go (nothing obtained from openai)
  • cmd/cloudexec/user_data.sh.tmpl (nothing obtained from openai)
Files not reviewed due to errors (2)
  • pkg/s3/s3.go (no response)
  • cmd/cloudexec/user_data.sh.tmpl (no response)
Review comments generated (0)
  • Review: 0
  • LGTM: 0

Tips

Chat with Image description CodeRabbit Bot (@coderabbitai)

  • Reply on review comments left by this bot to ask follow-up questions. A review comment is a comment on a diff or a file.
  • Invite the bot into a review comment chain by tagging @coderabbitai in a reply.

Code suggestions

  • The bot may make code suggestions, but please review them carefully before committing since the line number ranges may be misaligned.
  • You can edit the comment made by the bot and manually tweak the suggestion if it is slightly off.

Pausing incremental reviews

  • Add @coderabbitai: ignore anywhere in the PR description to pause further reviews from the bot.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Image description CodeRabbit

Commits Files that changed from the base of the PR and between 54e126c and c51a5d5 commits.
Files selected (1)
  • cmd/cloudexec/user_data.sh.tmpl (5)
Files ignored due to filter (1)
  • example/cloudexec.toml
Files not summarized due to errors (1)
  • cmd/cloudexec/user_data.sh.tmpl (nothing obtained from openai)
Files not reviewed due to errors (1)
  • cmd/cloudexec/user_data.sh.tmpl (no response)
Review comments generated (0)
  • Review: 0
  • LGTM: 0

Tips

Chat with Image description CodeRabbit Bot (@coderabbitai)

  • Reply on review comments left by this bot to ask follow-up questions. A review comment is a comment on a diff or a file.
  • Invite the bot into a review comment chain by tagging @coderabbitai in a reply.

Code suggestions

  • The bot may make code suggestions, but please review them carefully before committing since the line number ranges may be misaligned.
  • You can edit the comment made by the bot and manually tweak the suggestion if it is slightly off.

Pausing incremental reviews

  • Add @coderabbitai: ignore anywhere in the PR description to pause further reviews from the bot.

@bohendo bohendo merged commit 5734037 into main Sep 27, 2023
5 checks passed
@bohendo bohendo deleted the refactor-image-management branch September 27, 2023 19:22
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.

2 participants