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

Support building via slug image references #559

Open
intellix opened this issue Oct 16, 2016 · 4 comments
Open

Support building via slug image references #559

intellix opened this issue Oct 16, 2016 · 4 comments

Comments

@intellix
Copy link
Contributor

In my quest to achieve pipelines in Deis, I've got 2x applications:

  • myproject
  • myproject-staging

Underneath the myproject-staging app I want a button: Promote to Production which when clicked will put the exact same image onto the production app (myproject).

It seems the way to get this working is to make an API call like:

POST `http://deis.${cluster}/${apiVersion}/apps/builds`
Data: {
  image: "home/myproject-staging:git-db6645f5/push/slug.tgz"
}

The problem is that this only works for Docker image references and doesn't support passing in a slug built reference.
I'm not going to say buildpacks are a requirement for me right now, but it would allow me to implement pipelines for all application types.

@Joshua-Anderson
Copy link
Contributor

I like the idea! Heroku has a similar API for creating custom builds.

It would also be cool to be able to pull a tarball from anywhere, but that can be a future improvement.

@bacongobbler
Copy link
Member

bacongobbler commented Oct 17, 2016

If the use case is just "promote to production" then that can be solved via deis pipeline:promote which is something that was proposed in deis/deis#1318. That use case shouldn't be too hard to create a new feature request for, since we're just "promoting" the staging app's latest build to become the production app's latest build.

@intellix
Copy link
Contributor Author

intellix commented Mar 2, 2017

Related issue: #711

@Cryptophobia
Copy link

This issue was moved to teamhephy/workflow#47

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants