[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gitlab containers are broken
From: |
Richard Henderson |
Subject: |
Re: gitlab containers are broken |
Date: |
Thu, 4 Feb 2021 09:09:51 -1000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 2/4/21 8:58 AM, Daniel P. Berrangé wrote:
> So consider you
>
> - Push 40 commits to tci-next with a dockerfile change in the 4th commit.
> This triggers a build of the containers.
>
> Containers reflect your tci-next branch content.
>
> - Now push to master to catch up with upstream. This triggers a rebuild
> becuase of if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
>
> Containers reflect your master branch content.
>
> - Push 40 commits to tci-next, but only the last 5 in the branch are
> different from your previous commit. The container build won't
> trigger, despite the branch containing a dockerfile change, because
> the commit with the dockerfile wasn't changed from previous push
>
>
> I've not dug further back into your pipeline history to verify if this
> is what happened, but I've convinced myself that it is plausible
This is exactly my development process, switching between tasks on different
branches as I wait for build results.
> The addition of the rules to make container builds conditional has
> broken the assumption that it is safe to use :latest for the docker
> tag.
>
> I think we need to remove the rules condition
Thanks for the analysis.
r~
- gitlab containers are broken, Richard Henderson, 2021/02/03
- Re: gitlab containers are broken, Thomas Huth, 2021/02/04
- Re: gitlab containers are broken, Richard Henderson, 2021/02/04
- Re: gitlab containers are broken, Thomas Huth, 2021/02/04
- Re: gitlab containers are broken, Daniel P . Berrangé, 2021/02/04
- Re: gitlab containers are broken, Richard Henderson, 2021/02/04
- Re: gitlab containers are broken, Daniel P . Berrangé, 2021/02/04
- Re: gitlab containers are broken, Richard Henderson, 2021/02/04
- Re: gitlab containers are broken, Daniel P . Berrangé, 2021/02/04
- Re: gitlab containers are broken,
Richard Henderson <=