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

stage1 not automatically fetch when used as dependency #2241

Open
n0rad opened this Issue Mar 1, 2016 · 3 comments

Comments

Projects
None yet
2 participants
@n0rad

n0rad commented Mar 1, 2016

I'm writing a stage1 that have coreos.com/rkt/stage1-coreos as a dependency.

Import of my stage1 failed since the process that fetch the stage1 from rkt bin directory is not triggered and discovery mechanism failed too since there is no discovery tags on coreos.com

@alban alban added this to the v1+ milestone Mar 3, 2016

@alban

This comment has been minimized.

Member

alban commented Mar 3, 2016

I am curious what additional features you would like to have in stage1.

I think we should updated the rkt release guide to upload the stage1s on GitHub and change the coreos.com website to have something like:

<meta name="ac-discovery"
  content="coreos.com/rkt/stage1-coreos https://github.com/coreos/rkt/releases/download/{version}/stage1-coreos-{version}-{os}-{arch}.{ext}">

That could be useful, even without using a custom stage1.

@krnowak would it be difficult to use discovery mechanism for fetching the dependencies of stage1?

@n0rad

This comment has been minimized.

n0rad commented Mar 4, 2016

I'm rewriting dgr to build as a stage1 layer.

Working inside rkt will remove a big part of my discovery (except looking for latest image), and will allow me to have overlay management without writing it myself. I'm then exporting the upper of the build as the rootfs of my ACI.

In the process I need systemd-nspawn to isolate the users scripts, so I added stage1-coreos as a dependency of my build ACI to have it without adding it to my own stage1.

@n0rad

This comment has been minimized.

n0rad commented Mar 14, 2016

...(except looking for latest image)

is linked to #2276

alban added a commit to kinvolk/rkt that referenced this issue Mar 14, 2016

release guide: attach stage1 ACIs individually
The ACI discovery mechanism can download individual files but not locate
a file inside a tarball.

This will help for rkt#2241

alban added a commit to kinvolk/rkt that referenced this issue Mar 15, 2016

release guide: attach stage1 ACIs individually
The ACI discovery mechanism can download individual files but not locate
a file inside a tarball.

This will help for rkt#2241

alban added a commit to kinvolk/rkt that referenced this issue Mar 15, 2016

release guide: attach stage1 ACIs individually
The ACI discovery mechanism can download individual files but not locate
a file inside a tarball.

This will help for rkt#2241
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment