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

add compile command #315

Merged
merged 10 commits into from
Jan 11, 2024
Merged

add compile command #315

merged 10 commits into from
Jan 11, 2024

Commits on Jan 11, 2024

  1. implement standalone compile command

    - add create-tarball CLI
    - this is intended to run in a container image of a linux stemcell
    - fix path in output tarball
    - remove path prefix characters
    - ensure same file mode
    crhntr committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    5d67b06 View commit details
    Browse the repository at this point in the history
  2. integrate standalone compile command into bosh-agent

    squashed dev commits
    - unit test happy path for releasetarball.Compile
    - refactor: use bosh-cli BOSH Release manifest structures
    - add test coverage for already compiled and zero package releases
    - fix readStemcellSlug on GOOS=windows
    - rename file to compile becuase it more closely represents the command
    - rename command to "compile" from "compile-release-tarballs{,s}"
    - docs: add compilation help text
    crhntr committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    d772608 View commit details
    Browse the repository at this point in the history
  3. convert compile command tests to ginkgo style

    I rewrote the tests to match existing test conventions.
    This commit also adds test coverage for compilation and release parsing failure cases.
    
    fix-vendor
    crhntr committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    30670bf View commit details
    Browse the repository at this point in the history
  4. add stemcellmetadata package

    refactor: move stemcell metadata loading to a separate package
    refactor: improve error message in stemcellmetadata.SlugParts
    crhntr committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    46a473e View commit details
    Browse the repository at this point in the history
  5. remove duplicate test case

    I accidentally duplicated a test case.
    crhntr committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    389fecb View commit details
    Browse the repository at this point in the history
  6. add ensure /var/vcap/data/blobs directory exists

    I don't know if it is okay to use 0x766 for the directory permissions.
    crhntr committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    be46e7d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ff49152 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7e9163a View commit details
    Browse the repository at this point in the history
  9. run go mod vendor

    crhntr committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    c5c1e32 View commit details
    Browse the repository at this point in the history
  10. remove unused file

    crhntr committed Jan 11, 2024
    Configuration menu
    Copy the full SHA
    d518be0 View commit details
    Browse the repository at this point in the history