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

CI: Add job to test OBS package generation #480

Closed
jcvenegas opened this issue May 2, 2019 · 5 comments · Fixed by #603
Closed

CI: Add job to test OBS package generation #480

jcvenegas opened this issue May 2, 2019 · 5 comments · Fixed by #603

Comments

@jcvenegas
Copy link
Member

To avoid break packages generation on release we should build the packages on packaging changes.

We should find a way to build locally (if time not take a lot) or push a branch in OBS and wait until all is build then test the packages generated.

\cc @marcov @ganeshmaharaj @jodh-intel @grahamwhaley @egernst

@jodh-intel
Copy link
Contributor

@jcvenegas - agreed. I think this is the "other side" of kata-containers/ci#10.

@jcvenegas
Copy link
Member Author

@jodh-intel yeah it should be used by this automation.

@jcvenegas jcvenegas changed the title CI: Add job to test OBS package genration CI: Add job to test OBS package generation May 2, 2019
@marcov
Copy link
Contributor

marcov commented May 3, 2019

The most appropriate way would be:

  1. build on OBS in a dedicated branch,
  2. Test the packages built in step 1.
  3. If everything is ok, do a submit request from the branch to the official kata project.

@marcov
Copy link
Contributor

marcov commented Jun 6, 2019

I am gently bumping this, given the abundance of bug and side effect (at least) I have introduced.

@jcvenegas we should schedule some time to complete this.

@jcvenegas
Copy link
Member Author

Agree, I personally feel better to track the work on github but not OBS. Because in that way we dont force kata contributors create a OBS account.

One approach would be create a job that builds kata packages and then test in some distros.

The bad part of this is the time to have the packages ready in a good day packages get ready in 40minutes.

https://dev.azure.com/kata-containers/release-process/_releaseProgress?_a=release-environment-logs&releaseId=15&environmentId=15

Not that build is quick but wait until the packages are published take some time.

I dont know if we can use the osc client to download the packages built - or check the time that takes to build locally with osc client.

jcvenegas added a commit that referenced this issue Jun 24, 2019
Add simple yaml definition to run job in azure pipelines.

Fixes: #480

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
jcvenegas added a commit that referenced this issue Jun 24, 2019
Add simple yaml definition to run job in azure pipelines.

Fixes: #480

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
jcvenegas added a commit that referenced this issue Jun 24, 2019
Add simple yaml definition to run job in azure pipelines.

- The pipeline should be triggerd with comments when is a PR

Fixes: #480

Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants