# Build Gladys v4.0.5

**URL:** <https://community.gladysassistant.com/t/build-gladys-v4-0-5/6077>\
**Category:** Développement\
**Created:** [February 1, 2021, 9:26am UTC](https://community.gladysassistant.com/t/build-gladys-v4-0-5/6077 "2021-02-01T09:26:44Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [February 3, 2021, 6:43pm UTC](https://community.gladysassistant.com/t/build-gladys-v4-0-5/6077/21 "2021-02-03T18:43:19Z")

</div>

Well, I canceled the build, the service dependencies were not installed because the architecture used for the build on the GitHub action does not match with the compatible architectures of the services:

 ![Screenshot 2021-02-03 at 19.38.35](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/7/7216f0b50c8f69ce9a153a7333eef4f9b8c1a6c9.png)

Apparently, s390x is an IBM architecture…

I looked, @VonOx, the error was also in your builds, but it’s a bit silent because the installation of service dependencies is not blocking to install Gladys…

Maybe we should add a flag when building on CI so that it crashes if the dependencies are not installed successfully, that would be great 😅

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [February 3, 2021, 6:58pm UTC](https://community.gladysassistant.com/t/build-gladys-v4-0-5/6077/22 "2021-02-03T18:58:24Z")

</div>

Yes, I had pushed everything that was «&nbsp;buildable&nbsp;» with the base image node:12

Yes, s390 is not common.

I’m not sure if on Circle we stopped the Flow if there was an error in the services.

Is this really a dependency issue or just that the platform is not present in the package.json?

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [February 3, 2021, 7:09pm UTC](https://community.gladysassistant.com/t/build-gladys-v4-0-5/6077/23 "2021-02-03T19:09:34Z")

</div>

> [@VonOx](#):
>
> I’m not sure that on circle we stopped the Flow if there was an error on the services.

No no we didn’t, it was more of a general remark!

> [@VonOx](#):
>
> Is it really a dependency issue or just that the platform is not present in the package.json?

No, just the platform not present in package.json, nothing serious

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [February 3, 2021, 7:16pm UTC](https://community.gladysassistant.com/t/build-gladys-v4-0-5/6077/24 "2021-02-03T19:16:20Z")

</div>

Besides, since it’s not Docker that returns the error but npm via qemu/docker, I think it’s impossible to catch.

We would need to catch it with the service installation script and pass the info to the parent process. I don’t know how. 🤔

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [February 3, 2021, 8:01pm UTC](https://community.gladysassistant.com/t/build-gladys-v4-0-5/6077/25 "2021-02-03T20:01:30Z")

</div>

> [@VonOx](#):
>
> We need to catch the error with the service installation script and pass the information back to the parent process. 🤔

Actually, this installation process is custom, it’s a script that I coded

We just need to make the script crash (currently it’s a silent fail)

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [February 5, 2021, 8:21am UTC](https://community.gladysassistant.com/t/build-gladys-v4-0-5/6077/26 "2021-02-05T08:21:11Z")

</div>

In a quick fix, I removed `linux/s390x` from the build, I don’t think it’s worth investing time to build on IBM architecture 🙂

If someone really needs it, we’ll do more thorough testing and add it, but for now there are some great fixes that need to go to production!

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [February 5, 2021, 8:46am UTC](https://community.gladysassistant.com/t/build-gladys-v4-0-5/6077/27 "2021-02-05T08:46:30Z")

</div>

I hadn’t even seen your PR 😅

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [February 8, 2021, 8:27am UTC](https://community.gladysassistant.com/t/build-gladys-v4-0-5/6077/28 "2021-02-08T08:27:40Z")

</div>

@VonOx Build released in v4.0.7. Fingers crossed!

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [February 8, 2021, 10:33am UTC](https://community.gladysassistant.com/t/build-gladys-v4-0-5/6077/29 "2021-02-08T10:33:26Z")

</div>

It’s good, Gladys v4.0.7 is live! Everything seems good on my side 🙂

---

<div class="post-metadata">

**Author:** ![damalgos](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/d/e274bd/32.png) [@damalgos](https://community.gladysassistant.com/u/damalgos)\
**Post date:** [February 8, 2021, 11:45am UTC](https://community.gladysassistant.com/t/build-gladys-v4-0-5/6077/30 "2021-02-08T11:45:45Z")

</div>

So it should be automatic, so I should be above 4.0.4, right? Because right now I’m on 4.0.4 on my production instance.

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [February 8, 2021, 12:11pm UTC](https://community.gladysassistant.com/t/build-gladys-v4-0-5/6077/31 "2021-02-08T12:11:46Z")

</div>

We are not jumping from 4.0.4 to 4.0.7 (due to testing/fixes on the CI)

---

<div class="post-metadata">

**Author:** ![damalgos](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/d/e274bd/32.png) [@damalgos](https://community.gladysassistant.com/u/damalgos)\
**Post date:** [February 8, 2021, 12:30pm UTC](https://community.gladysassistant.com/t/build-gladys-v4-0-5/6077/32 "2021-02-08T12:30:51Z")

</div>

I thought so, that’s why I asked 🙂

---

<div class="post-metadata">

**Author:** ![Goulby](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/goulby/32/6494_2.png) [@Goulby](https://community.gladysassistant.com/u/Goulby)\
**Post date:** [February 8, 2021, 12:45pm UTC](https://community.gladysassistant.com/t/build-gladys-v4-0-5/6077/33 "2021-02-08T12:45:37Z")

</div>

I had the same question! Is there a note for the release?

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [February 8, 2021, 12:48pm UTC](https://community.gladysassistant.com/t/build-gladys-v4-0-5/6077/34 "2021-02-08T12:48:59Z")

</div>

@Goulby I’m still waiting a bit before making an official post, until the release spreads a bit, and I get feedback on different architectures.

I will publish a post in #Actualités as usual today 🙂

---

<div class="post-metadata">

**Author:** ![Goulby](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/goulby/32/6494_2.png) [@Goulby](https://community.gladysassistant.com/u/Goulby)\
**Post date:** [February 8, 2021, 12:53pm UTC](https://community.gladysassistant.com/t/build-gladys-v4-0-5/6077/35 "2021-02-08T12:53:55Z")

</div>

Ok thanks! After that, I suppose that by exploring GitHub I can see what has been added

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [February 8, 2021, 12:58pm UTC](https://community.gladysassistant.com/t/build-gladys-v4-0-5/6077/36 "2021-02-08T12:58:18Z")

</div>

> **[Comparing v4.0.4...v4.0.7 · GladysAssistant/Gladys](https://github.com/GladysAssistant/Gladys/compare/v4.0.4...v4.0.7)**
>
> A privacy-first, open-source home assistant. Contribute to GladysAssistant/Gladys development by creating an account on GitHub.

You take what is committed since 4.0.4 (January 8)

---

<div class="post-metadata">

**Author:** ![cicoub13](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/cicoub13/32/4482_2.png) [@cicoub13](https://community.gladysassistant.com/u/cicoub13)\
**Post date:** [February 8, 2021, 1:25pm UTC](https://community.gladysassistant.com/t/build-gladys-v4-0-5/6077/37 "2021-02-08T13:25:42Z")

</div>

When it comes to versioning, I think we should not hesitate to increment the minor version 4. **1**.0 when there is one or more new feature(s). This will follow the principle of [Semantic Versioning](https://semver.org/lang/fr/#en-bref).

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [February 8, 2021, 1:29pm UTC](https://community.gladysassistant.com/t/build-gladys-v4-0-5/6077/38 "2021-02-08T13:29:09Z")

</div>

@cicoub13 I’m hesitant to implement semantic versioning for Gladys, because in fact, there are features in every release, so I would have to make minor releases for each release if I followed it strictly.

---

<div class="post-metadata">

**Author:** ![VonOx](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/vonox/32/10128_2.png) [@VonOx](https://community.gladysassistant.com/u/VonOx)\
**Post date:** [February 8, 2021, 2:06pm UTC](https://community.gladysassistant.com/t/build-gladys-v4-0-5/6077/39 "2021-02-08T14:06:04Z")

</div>

Or in between, with each new service, right?

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [February 8, 2021, 2:53pm UTC](https://community.gladysassistant.com/t/build-gladys-v4-0-5/6077/40 "2021-02-08T14:53:01Z")

</div>

@Goulby:

> [@Gladys v4.0.7 est disponible!](https://community.gladysassistant.com/t/gladys-v4-0-7-est-disponible/6100):
>
> Salut à tous ! C’est lundi, c’est le jour d’une nouvelle release Gladys Assistant 4: La v4.0.7 partying_face Cette mise à jour apporte une nouvelle fonctionnalité très attendue, ainsi que de nombreuses améliorations de performances, notamment pour les instances avec beaucoup de périphériques (hein @Terdious :p), et les utilisateurs de Gladys Plus ! slight_smile (que je remercie encore une fois de soutenir le projet!) 1) La possibilité d’injecter des variables dans les scènes. J’ai mis à…

@VonOx: let’s see, in this case, it’s better not to use semver 🙂

[Previous page](https://community.gladysassistant.com/t/build-gladys-v4-0-5/6077.md?page=1)
