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: extension env-injector #4925

Merged
merged 5 commits into from
Oct 18, 2024
Merged

Commits on Oct 1, 2024

  1. * add: extension env-injector

    Add extension to inject environment variables into snaps by it's command-chain.
    This extension takes snap options and transform then into environment variables.
    For the env-exporter program, Rust Tier 2 toolchains are marked as unsupported.
    
    Signed-off-by: Lincoln Wallace <lincoln.wallace@canonical.com>
    
    * test: add spread tests for env-injector extension
    
    - add: spread test:
      * hello.c: application which consumes env variables
      * task.yaml: Tests to verify env-injector functionality
    
    Signed-off-by: Lincoln Wallace <lincoln.wallace@canonical.com>
    locnnil committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    a2f8072 View commit details
    Browse the repository at this point in the history
  2. feat(extensions): pass app name to get_app_snippet()

    Signed-off-by: Callahan Kovacs <callahan.kovacs@canonical.com>
    mr-cal authored and locnnil committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    f912dd5 View commit details
    Browse the repository at this point in the history
  3. many: Address reviews

    - doc: Add line break on Pydoc
    - rust exporter: Fix error messages
    - spread: Add case to test app-specific envfile
    - spread: Fix test for verify alias overrite behavior
    - fix: typo error
    - fix: commentaries not being discarted in envfiles
    - feat: add logs to check test execution
    - fix: shellchek error
    - fix: use absolute path for envfiles
    - fix: address lint errors
    - fix: PEP8 formating
    - exporter program moved to:
      https://github.com/canonical/snappy-env
    
    Signed-off-by: Lincoln Wallace <lincoln.wallace@canonical.com>
    Co-authored-by: Farshid Tavakolizadeh <email@farshid.ws>
    Co-authored-by: Callahan <callahan.kovacs@canonical.com>
    3 people committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    6fa6f67 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2024

  1. fix: remove non-necessary binary compression

    Signed-off-by: Lincoln Wallace <lincoln.wallace@canonical.com>
    locnnil committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    2642669 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c5fd3e3 View commit details
    Browse the repository at this point in the history