Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

deis pull as alternative to git push workflow #1190

Merged
merged 37 commits into from Jul 21, 2014
Merged

deis pull as alternative to git push workflow #1190

merged 37 commits into from Jul 21, 2014

Commits on Jul 21, 2014

  1. fix(router): bump read timeout to 10min for docker build

    Gabriel Monroy authored and Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    3182ac8 View commit details
    Browse the repository at this point in the history
  2. feat(client): add deis build support

    Gabriel Monroy authored and Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    97da47b View commit details
    Browse the repository at this point in the history
  3. feat(controller): add deis build support

    Gabriel Monroy authored and Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    6658dfb View commit details
    Browse the repository at this point in the history
  4. feat(builder): add deis build support

    Gabriel Monroy authored and Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    23e1f61 View commit details
    Browse the repository at this point in the history
  5. fix(router): update send_timeout from rebase error

    Gabriel Monroy authored and Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    485fb39 View commit details
    Browse the repository at this point in the history
  6. chore(registry): bump version to repository-import

    The endpoint introduced in this branch is important as it allows registry-to-registry
    repository transfers. This is required to speed up the `deis build` process and to remove
    the docker engine from the controller.
    Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    03384a7 View commit details
    Browse the repository at this point in the history
  7. fix(controller): remove docker engine

    The intention of the docker engine was such that we could use it to pull in an image
    from a registry and push it to our own. Now that we have registry transfers, this
    is no longer required.
    Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    840f2fc View commit details
    Browse the repository at this point in the history
  8. fix(controller): use private module

    Since docker-in-docker is not installed on the controller any more, let's revert
    back to the private module.
    Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    76c23df View commit details
    Browse the repository at this point in the history
  9. fix(client): add "but first, coffee" string back

    Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    3dbf6d2 View commit details
    Browse the repository at this point in the history
  10. fix(client): use present tense when rolling back

    Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    3d4bc55 View commit details
    Browse the repository at this point in the history
  11. style(controller): add newline

    Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    e29bcf8 View commit details
    Browse the repository at this point in the history
  12. fix(controller): use /bin/sh as entrypoint for run

    Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    92cb26a View commit details
    Browse the repository at this point in the history
  13. fix(controller): update release process

    Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    bf7b223 View commit details
    Browse the repository at this point in the history
  14. fix(controller): update mock registry

    Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    84362c9 View commit details
    Browse the repository at this point in the history
  15. fix(registry): fix upstream changes

    Some things changed with the version bump like how the docker registry process is
    started and where dependencies are installed from.
    Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    e9d1487 View commit details
    Browse the repository at this point in the history
  16. fix(controller): import image from remote registry

    This change allows us to import an image from a remote repository,
    thanks to a new feature implemented in
    https://github.com/deis/docker-registry/compare/repository-import.
    
    Though the infrastructure in place allows us to import an image from the public index,
    the endpoints are closed-source and therefore are not implmented in the upstream
    repository-import branch.
    Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    f1f5c8b View commit details
    Browse the repository at this point in the history
  17. fix(controller): add back REGISTRY_URL

    Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    c6bb251 View commit details
    Browse the repository at this point in the history
  18. fix(controller): clean up publish_release params

    Publishing a release should only know about a source, a dictionary of
    configuration, and a target.
    Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    71047e5 View commit details
    Browse the repository at this point in the history
  19. refactor(controller): clean up Release.new

    Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    10a57fc View commit details
    Browse the repository at this point in the history
  20. refactor(controller): remove urlparse logic

    The logic has been moved over to the registry, so it's not needed any more.
    Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    b8629ef View commit details
    Browse the repository at this point in the history
  21. style(controller): fix flake8

    Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    c818ef2 View commit details
    Browse the repository at this point in the history
  22. test(controller): mock import_repository task

    Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    ae9e617 View commit details
    Browse the repository at this point in the history
  23. fix(builder): revert target_image

    When target_image was POST'd to the controller through /api/hooks/build,
    the tag was not originally sent. Reverting the behaviour so `git push deis master` works
    again.
    Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    2ff233b View commit details
    Browse the repository at this point in the history
  24. fix(controller): correct image name parsing

    Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    01c4b0b View commit details
    Browse the repository at this point in the history
  25. fix(controller): build image from source_tag

    'sha' is just metadata. it is not used as a tag on the registry.
    
    The release ledger is append-only, which means that the latest image should be
    used by default, with an optional source tag for rollbacks.
    Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    c415b27 View commit details
    Browse the repository at this point in the history
  26. docs(using_deis): add docs for deis build

    Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    f57bf3f View commit details
    Browse the repository at this point in the history
  27. docs(client): elaborate upon builds:create

    Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    a9b13c9 View commit details
    Browse the repository at this point in the history
  28. fix(controller): more image parsing fixes

    Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    7d06fbd View commit details
    Browse the repository at this point in the history
  29. Revert "fix(controller): more image parsing fixes"

    This reverts commit 7756f8a.
    Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    bf6c249 View commit details
    Browse the repository at this point in the history
  30. fix(controller): remove tag from source_image

    the registry module will take care of that
    Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    182a990 View commit details
    Browse the repository at this point in the history
  31. fix(controller): install dev_requirements

    some packages in dev_requirements.txt are required
    for the test suite (such as mock).
    Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    03279a3 View commit details
    Browse the repository at this point in the history
  32. ref(client): rename shortcut to "pull"

    Changing the name to something that seems more accurate, as some people
    associate "build" with `docker build`. It also complements `docker pull`
    quite nicely, since we are effectively "pulling" images into Deis.
    Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    9b4b6b1 View commit details
    Browse the repository at this point in the history
  33. ref(client): assume app name is current directory

    Previously, `deis create` would store session data in a ~/.deis/apps.yml
    file for applications with no git root to facilitate `deis pull`. This
    file looked similar to this:
    
        {'/tmp/deis-test': 'united-mainsail'}
    
    The issue with this means if you move your application's root directory
    somewhere else, the reference to the instance is lost. With this change,
    if no git root is present in the application directory, the base name
    of the current working directory (in the example above, that would be
    'deis-test') is synonymous with the app name. With this in mind,
    `deis create` in a git repo retains the old behaviour (via the
    auto-generator from the server), but in a non-git directory, it takes
    the name of the current working directory. As always, --app works just
    like it used to, or you can still manually specify a name with
    `deis create <id>`.
    Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    0783038 View commit details
    Browse the repository at this point in the history
  34. fix(client): initialize app_name

    If you're in a git repo and you did not supply an app name to
    `deis create`, the client will fail because app_name was never
    initialized.
    Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    d91a01a View commit details
    Browse the repository at this point in the history
  35. fix(client): add newline back to deis scale

    Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    c7a22ed View commit details
    Browse the repository at this point in the history
  36. fix(registry): checkout from a known sha

    This way, we can bust the cache when we rebase the branch.
    Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    2d7018e View commit details
    Browse the repository at this point in the history
  37. docs(using_deis): remove deis builds reference

    this reference exists in #1327 which as of this writing is not merged
    yet.
    Matthew Fisher committed Jul 21, 2014
    Configuration menu
    Copy the full SHA
    74d334c View commit details
    Browse the repository at this point in the history