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 generator to work on bincompat apps. #42

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Commits on May 7, 2024

  1. utils: Add generator script for native apps

    The script generates other scripts that setup, configure, build and run
    native applications.
    
    The input of the script is the `Kraftfile` of the application and the
    `config.yaml` file that specifies configuration such as memory, path to
    filesystem (if any), requirements for networking.
    
    Also add the test support files (`test/common.sh` and `test/test.sh`) used
    for testing. The application will define a `single_test.sh` script.
    
    Signed-off-by: Razvan Deaconescu <[email protected]>
    razvand committed May 7, 2024
    Configuration menu
    Copy the full SHA
    1851ba2 View commit details
    Browse the repository at this point in the history
  2. library/nginx: Add specific files for scripts

    Add specific files to scripted actions. Add `config.yaml` and
    `single_test.sh`.
    
    The `config.yaml` file is used doring the setup, build and run phases to
    generate the directory structure and scripts.
    
    The `single_test.sh` script is used as the basic script. It is called
    for each build and run phase by the generated `script/test/test.sh`
    script.
    
    Signed-off-by: Razvan Deaconescu <[email protected]>
    razvand committed May 7, 2024
    Configuration menu
    Copy the full SHA
    cd9b9d0 View commit details
    Browse the repository at this point in the history
  3. README: Add instructions on testing

    Add instructions in README for testing applications using generated
    scripts.
    
    Signed-off-by: Razvan Deaconescu <[email protected]>
    razvand committed May 7, 2024
    Configuration menu
    Copy the full SHA
    b4c210e View commit details
    Browse the repository at this point in the history
  4. utils: Add Docker support in generator script

    Build root filesystem from Dockerfile, if specified in the Kraftfile.
    
    Signed-off-by: Razvan Deaconescu <[email protected]>
    razvand committed May 7, 2024
    Configuration menu
    Copy the full SHA
    42fae4e View commit details
    Browse the repository at this point in the history
  5. utils: Add support for templated apps

    Templated apps make use of a separate application repository. The only
    current example is `app-elfloader`.
    
    Signed-off-by: Razvan Deaconescu <[email protected]>
    razvand committed May 7, 2024
    Configuration menu
    Copy the full SHA
    cc7aa90 View commit details
    Browse the repository at this point in the history
  6. utils: Use BuildKit container for "kraft build"

    Force the use of the BuildKit container when using `kraft build` by
    prefixing the build commands with
    `KRAFTKIT_BUILDKIT_HOST=docker-container://buildkitd`.
    
    Signed-off-by: Razvan Deaconescu <[email protected]>
    razvand committed May 7, 2024
    Configuration menu
    Copy the full SHA
    0a9dd72 View commit details
    Browse the repository at this point in the history
  7. library/base: Add specific files for scripts

    Add specific files to scripted actions. Add `config.yaml` and
    `single_test.sh`.
    
    The `config.yaml` file is used doring the setup, build and run phases to
    generate the directory structure and scripts.
    
    The `single_test.sh` script is used as the basic script. It is called
    for each build and run phase by the generated `script/test/test.sh`
    script.
    
    Signed-off-by: Razvan Deaconescu <[email protected]>
    razvand committed May 7, 2024
    Configuration menu
    Copy the full SHA
    8d320cb View commit details
    Browse the repository at this point in the history
  8. library/base: Add 9pfs support in Kraftfile

    Add 9pfs configuration settings.
    
    Signed-off-by: Razvan Deaconescu <[email protected]>
    razvand committed May 7, 2024
    Configuration menu
    Copy the full SHA
    b0073f1 View commit details
    Browse the repository at this point in the history