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

balena-deploy: Use docker cache when creating compose file #282

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from

Commits on Jun 15, 2022

  1. balena-lib: get_label_from_image: Return nothing if not found

    It's easier to check its return value if it returns nothing without an
    actual match.
    
    Change-type: patch
    Signed-off-by: Alex Gonzalez <[email protected]>
    alexgg committed Jun 15, 2022
    Configuration menu
    Copy the full SHA
    6f5ebb3 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2022

  1. balena-lib: balena_lib_release: Use local cache if available

    Use a `--cache-from <block>:<version>` to allow deployment to use images
    cached locally, for example when a hostapp or an OS block has been built
    and loaded into the local docker cache.
    
    Change-type: patch
    Signed-off-by: Alex Gonzalez <[email protected]>
    alexgg committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    cac3f1e View commit details
    Browse the repository at this point in the history
  2. balena-docker: Move compose file creation function from balena-deploy…

    ….inc
    
    The function is only called from within the balena-push-env container
    that already contains the balena-docker.inc script include.
    
    Change-type: patch
    Signed-off-by: Alex Gonzalez <[email protected]>
    alexgg committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    73dcf9e View commit details
    Browse the repository at this point in the history
  3. balena-deploy: Deploy using compose files

    Change-type: patch
    Signed-off-by: Alex Gonzalez <[email protected]>
    alexgg committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    430872d View commit details
    Browse the repository at this point in the history
  4. jenkins_build.sh: Deploy using compose file

    Using compose files allows to deploy both single and multi-container apps.
    
    Change-type: patch
    Signed-off-by: Alex Gonzalez <[email protected]>
    
    SQ jenkind_build.sh
    alexgg committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    1ecd77c View commit details
    Browse the repository at this point in the history
  5. balena-deploy-block.sh: Deploy using compose files

    Change-type: patch
    Signed-off-by: Alex Gonzalez <[email protected]>
    alexgg committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    c912a14 View commit details
    Browse the repository at this point in the history
  6. SQ jenkins_buil-blocks

    alexgg committed Jun 16, 2022
    Configuration menu
    Copy the full SHA
    80d175a View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2022

  1. balena-lib: Use balena.yml if present

    Change-type: patch
    Signed-off-by: Alex Gonzalez <[email protected]>
    alexgg committed Jun 17, 2022
    Configuration menu
    Copy the full SHA
    893e75f View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2022

  1. balena-build-block: Allow to specify the deploy dir

    This allows to use the script outside of the Jenkins context.
    
    Change-type: patch
    Signed-off-by: Alex Gonzalez <[email protected]>
    alexgg committed Jun 18, 2022
    Configuration menu
    Copy the full SHA
    88a6ce7 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2022

  1. SQ balena-build-block

    alexgg committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    0ab922b View commit details
    Browse the repository at this point in the history
  2. balena-*-block: Source includes from / as well as inside device repos…

    …itories
    
    This allows to use these scripts from container images that contain
    the include files in the container root folder.
    
    It simplifies the Dockerfiles for block builder containers.
    
    Change-type: patch
    Signed-off-by: Alex Gonzalez <[email protected]>
    alexgg committed Jun 21, 2022
    Configuration menu
    Copy the full SHA
    7f9e978 View commit details
    Browse the repository at this point in the history