# Move package repro and add CI

**URL:** <https://forum.yunohost.org/t/move-package-repro-and-add-ci/13554>\
**Category:** Apps packaging\
**Tags:** french, english\
**Created:** [December 9, 2020, 9:35am UTC](https://forum.yunohost.org/t/move-package-repro-and-add-ci/13554 "2020-12-09T09:35:54Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![jedie](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/j/b5a626/32.png) [@jedie](https://forum.yunohost.org/u/jedie)\
**Post date:** [December 9, 2020, 9:35am UTC](https://forum.yunohost.org/t/move-package-repro-and-add-ci/13554/1 "2020-12-09T09:35:54Z")

</div>

How can i move my [https://github.com/jedie/pyinventory\_ynh](https://github.com/jedie/pyinventory_ynh) repro to [https://github.com/YunoHost-apps](https://github.com/YunoHost-apps) and how can i activate CI runs?

---

<div class="post-metadata">

**Author:** ![tituspijean](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tituspijean/32/3584_2.png) [@tituspijean](https://forum.yunohost.org/u/tituspijean)\
**Post date:** [December 9, 2020, 11:33am UTC](https://forum.yunohost.org/t/move-package-repro-and-add-ci/13554/2 "2020-12-09T11:33:30Z")

</div>

In your repo’s settings, at the bottom, you can `Transfer` to a new organisation, namely YunoHost-Apps. The CI runs are automated once your app is listed in `YunoHost/apps/apps.json`. Though you may need to wait a week? Not sure

 ![Capture d’écran 2020-12-09 123124](https://forum.yunohost.org/uploads/default/original/2X/1/1b1447901cf3bc0187732b8bd3ef952b46d1b482.png) .

---

<div class="post-metadata">

**Author:** ![jedie](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/j/b5a626/32.png) [@jedie](https://forum.yunohost.org/u/jedie)\
**Post date:** [December 9, 2020, 11:54am UTC](https://forum.yunohost.org/t/move-package-repro-and-add-ci/13554/3 "2020-12-09T11:54:35Z")

</div>

Ah, ok. Is the workflow to send pull requests and somebody must merge them?

I can transfer it now and then fork it, to work on it and create pull requests?

---

<div class="post-metadata">

**Author:** ![tituspijean](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tituspijean/32/3584_2.png) [@tituspijean](https://forum.yunohost.org/u/tituspijean)\
**Post date:** [December 9, 2020, 11:57am UTC](https://forum.yunohost.org/t/move-package-repro-and-add-ci/13554/4 "2020-12-09T11:57:36Z")

</div>

If you transfer it now I can then take 2 seconds to give you back full right access, no need to PR from your own fork. 😉 Bear in mind, the best practice is to develop in the `testing` branch and PR into `master`. But if your app is still being worked on, that will be tolerated I guess. 🙂

---

<div class="post-metadata">

**Author:** ![jedie](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/j/b5a626/32.png) [@jedie](https://forum.yunohost.org/u/jedie)\
**Post date:** [December 9, 2020, 12:33pm UTC](https://forum.yunohost.org/t/move-package-repro-and-add-ci/13554/5 "2020-12-09T12:33:33Z")

</div>

I get this error:

![grafik](https://forum.yunohost.org/uploads/default/original/2X/8/809afd2bca2ea206d57a65c949b8e10dc87753c4.png)

---

<div class="post-metadata">

**Author:** ![tituspijean](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tituspijean/32/3584_2.png) [@tituspijean](https://forum.yunohost.org/u/tituspijean)\
**Post date:** [December 9, 2020, 2:58pm UTC](https://forum.yunohost.org/t/move-package-repro-and-add-ci/13554/6 "2020-12-09T14:58:53Z")

</div>

Oops, I had to invite you to join the organisation first. 😉

---

<div class="post-metadata">

**Author:** ![jedie](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/j/b5a626/32.png) [@jedie](https://forum.yunohost.org/u/jedie)\
**Post date:** [December 9, 2020, 4:06pm UTC](https://forum.yunohost.org/t/move-package-repro-and-add-ci/13554/7 "2020-12-09T16:06:04Z")

</div>

How can i activate [https://dash.yunohost.org/appci/app/pyinventory](https://dash.yunohost.org/appci/app/pyinventory) ?

![grafik](https://forum.yunohost.org/uploads/default/original/2X/a/afb384174756c7ee430154f1b12a61aea3c2511b.png)

---

<div class="post-metadata">

**Author:** ![tituspijean](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tituspijean/32/3584_2.png) [@tituspijean](https://forum.yunohost.org/u/tituspijean)\
**Post date:** [December 9, 2020, 4:52pm UTC](https://forum.yunohost.org/t/move-package-repro-and-add-ci/13554/8 "2020-12-09T16:52:49Z")

</div>

It should be automated, along with the CI. 😉

---

<div class="post-metadata">

**Author:** ![jedie](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/j/b5a626/32.png) [@jedie](https://forum.yunohost.org/u/jedie)\
**Post date:** [December 9, 2020, 7:02pm UTC](https://forum.yunohost.org/t/move-package-repro-and-add-ci/13554/9 "2020-12-09T19:02:43Z")

</div>

So i have just to wait? Before it generally start or is there no CI run on every commit?

---

<div class="post-metadata">

**Author:** ![tituspijean](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tituspijean/32/3584_2.png) [@tituspijean](https://forum.yunohost.org/u/tituspijean)\
**Post date:** [December 10, 2020, 5:26am UTC](https://forum.yunohost.org/t/move-package-repro-and-add-ci/13554/10 "2020-12-10T05:26:09Z")

</div>

I concede it is not crystal clear about that point, but you can have a read into the [documentation](https://yunohost.org/#/packaging_apps_ci) and the other pages too. 😉

The automated CI are triggered only when you merge into the default branch specified in `apps.json`. But there can be is a long queue. 😉

If you want to have intermediary tests for debugging, then you can use a VM with `package_check` or use the dev CI mentioned in the page Iinked.

---

<div class="post-metadata">

**Author:** ![jedie](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/j/b5a626/32.png) [@jedie](https://forum.yunohost.org/u/jedie)\
**Post date:** [December 12, 2020, 5:02pm UTC](https://forum.yunohost.org/t/move-package-repro-and-add-ci/13554/11 "2020-12-12T17:02:22Z")

</div>

> [@tituspijean](#):
>
> The automated CI are triggered only when you merge into the default branch specified in `apps.json`. But there can be is a long queue.

Ah! That’s it. It was wrong configured by me. Current branch was **main** but i switched to **master**

I correct this in [PyInventory app: bugfix branch and set state to working by jedie · Pull Request #1035 · YunoHost/apps · GitHub](https://github.com/YunoHost/apps/pull/1035) (Pull is merged now)

---

<div class="post-metadata">

**Author:** ![jedie](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/j/b5a626/32.png) [@jedie](https://forum.yunohost.org/u/jedie)\
**Post date:** [December 16, 2020, 5:24pm UTC](https://forum.yunohost.org/t/move-package-repro-and-add-ci/13554/12 "2020-12-16T17:24:08Z")

</div>

Currently it looks like this:

 ![image](https://forum.yunohost.org/uploads/default/original/2X/f/f407986ff4745bf370e93860d71d2b5f8de8bf11.png)

> **[Yunohost Dashboard](https://dash.yunohost.org/appci/app/pyinventory)**

How can i activate ARM platform and the other stages?!?

---

<div class="post-metadata">

**Author:** ![tituspijean](https://forum.yunohost.org/user_avatar/forum.yunohost.org/tituspijean/32/3584_2.png) [@tituspijean](https://forum.yunohost.org/u/tituspijean)\
**Post date:** [December 17, 2020, 10:20am UTC](https://forum.yunohost.org/t/move-package-repro-and-add-ci/13554/13 "2020-12-17T10:20:09Z")

</div>

As I said, it is all automated. [ARM test](https://ci-apps-arm.yunohost.org/ci/apps/pyinventory/) is already scheduled, while `testing` and `unstable` tests seem to be offline. Not your fault. 😉

You can click on the `x days ago` link to go to the CI runner websites and see their status. The ARM tests are quite slow, since they are run on a couple of RPi, I think.

---

<div class="post-metadata">

**Author:** ![jedie](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/j/b5a626/32.png) [@jedie](https://forum.yunohost.org/u/jedie)\
**Post date:** [December 19, 2020, 10:18am UTC](https://forum.yunohost.org/t/move-package-repro-and-add-ci/13554/14 "2020-12-19T10:18:32Z")

</div>

Hm. Okay…

The whole CI is so slow. It’s not really a **continues** thing 😉

Hope it’s soon possible to get a faster pipeline, but for this topic we have already a thread here: [Package-check usage in a virtual machine?!?](https://forum.yunohost.org/t/package-check-usage-in-a-virtual-machine/13636/6)
