Re: [Mesa-dev] [PATCH] gitlab-ci: remove software-properties-common

2019-08-02 Thread Michel Dänzer
On 2019-08-01 6:51 p.m., Emil Velikov wrote:
> On Thu, 1 Aug 2019 at 16:03, Emil Velikov  wrote:
>>
>> On Thu, 1 Aug 2019 at 14:26, Michel Dänzer  wrote:
>>> On 2019-08-01 2:32 p.m., Emil Velikov wrote:
>>
 Sure I'll do that in a moment.
>>>
>>> Why don't you just follow my suggestion above?
>>>
>> That's what I was planning to do :-)
>>
> Done and dusted. Thanks for the help and extensive how-to, I've
> followed it literally.

Thanks!

Just a detail: None of the pipelines referenced on the MR page actually
generated the docker image. Looking at
https://gitlab.freedesktop.org/evelikov/mesa/pipelines , I guess the
2019-08-01 image already existed in your registry from when you pushed
https://gitlab.freedesktop.org/evelikov/mesa/commit/ab218119ae865d0a3b11d8753e9eada828b8a9b8
, so either that shouldn't have been pushed, or the image removed again
before creating the MR. Something to perfect next time. :)


-- 
Earthling Michel Dänzer   |  https://www.amd.com
Libre software enthusiast | Mesa and X developer
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] gitlab-ci: remove software-properties-common

2019-08-01 Thread Emil Velikov
On Thu, 1 Aug 2019 at 16:03, Emil Velikov  wrote:
>
> On Thu, 1 Aug 2019 at 14:26, Michel Dänzer  wrote:
> > On 2019-08-01 2:32 p.m., Emil Velikov wrote:
>
> > > Sure I'll do that in a moment.
> >
> > Why don't you just follow my suggestion above?
> >
> That's what I was planning to do :-)
>
Done and dusted. Thanks for the help and extensive how-to, I've
followed it literally.

-Emil

> -Emil
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] gitlab-ci: remove software-properties-common

2019-08-01 Thread Emil Velikov
On Thu, 1 Aug 2019 at 14:26, Michel Dänzer  wrote:
> On 2019-08-01 2:32 p.m., Emil Velikov wrote:

> > Sure I'll do that in a moment.
>
> Why don't you just follow my suggestion above?
>
That's what I was planning to do :-)

-Emil
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] gitlab-ci: remove software-properties-common

2019-08-01 Thread Michel Dänzer
On 2019-08-01 2:32 p.m., Emil Velikov wrote:
> On Thu, 1 Aug 2019 at 09:35, Michel Dänzer  wrote:
>>
>> On 2019-07-31 11:47 p.m., Eric Engestrom wrote:
>>> On Wednesday, 2019-07-31 16:07:45 +0200, Michel Dänzer wrote:
 On 2019-07-31 3:26 p.m., Emil Velikov wrote:
> On Wed, 31 Jul 2019 at 14:16, Michel Dänzer  wrote:
>>
>> On 2019-07-31 3:04 p.m., Emil Velikov wrote:
>>> From: Emil Velikov 
>>>
>>> Currently we use the python package to manage repositories. At the same
>>> time we also do that by hand - since it's a trivial echo to a file.
>>>
>>> Stay consistent, remove the package and manage things manually.
>>>
>>> Cc: Eric Engestrom 
>>> Signed-off-by: Emil Velikov 
>>> ---
>>>  .gitlab-ci/debian-install.sh | 11 +--
>>>  1 file changed, 5 insertions(+), 6 deletions(-)
>>>
>>> diff --git a/.gitlab-ci/debian-install.sh b/.gitlab-ci/debian-install.sh
>>> index 578074ddb87..719d7830018 100644
>>> --- a/.gitlab-ci/debian-install.sh
>>> +++ b/.gitlab-ci/debian-install.sh
>>> @@ -16,12 +16,11 @@ apt-get install -y \
>>>curl \
>>>wget \
>>>unzip \
>>> -  gnupg \
>>> -  software-properties-common
>>> +  gnupg
>>>
>>>  curl -fsSL https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
>>> -add-apt-repository "deb https://apt.llvm.org/stretch/ 
>>> llvm-toolchain-stretch-7 main"
>>> -add-apt-repository "deb https://apt.llvm.org/stretch/ 
>>> llvm-toolchain-stretch-8 main"
>>> +echo "deb [trusted=yes] https://apt.llvm.org/stretch/ 
>>> llvm-toolchain-stretch-7 main" >/etc/apt/sources.list.d/llvm7.list
>>> +echo "deb [trusted=yes] https://apt.llvm.org/stretch/ 
>>> llvm-toolchain-stretch-8 main" >/etc/apt/sources.list.d/llvm8.list
>>>
>>>  sed -i -e 's/http:\/\/deb/https:\/\/deb/g' /etc/apt/sources.list
>>>  echo 'deb https://deb.debian.org/debian stretch-backports main' 
>>> >/etc/apt/sources.list.d/backports.list
>>> @@ -46,8 +45,8 @@ apt-get install -y -t stretch-backports \
>>>clang-8
>>>
>>>  # Install remaining packages from Debian buster to get newer versions
>>> -add-apt-repository "deb https://deb.debian.org/debian/ buster main"
>>> -add-apt-repository "deb https://deb.debian.org/debian/ buster-updates 
>>> main"
>>> +echo "deb https://deb.debian.org/debian/ buster main" 
>>> >/etc/apt/sources.list.d/buster.list
>>> +echo "deb https://deb.debian.org/debian/ buster-updates main" 
>>> >/etc/apt/sources.list.d/buster-updates.list
>>>  apt-get update
>>>  apt-get install -y \
>>>bzip2 \
>>>
>>
>> This should be merged as part of an MR which requires the docker image
>> to be re-generated for another reason, and thus bumps DEBIAN_TAG.
>>
> Since this is a non-functional change, I've explicitly omitted bumping
> the DEBIAN_TAG.
> Seemingly I forgot to mention it in the commit message though, oopsie.
>
> Since the image will contain practically the same artefacts, is it
> worth carving out 30 minutes (or so) from the runners?

 No, I agree that would be wasteful for this change alone.

 However, merging this change without bumping the tag isn't good either,
 because then any issues with it would only be discovered the next time
 it does get bumped. Hence my request above.
>>>
>>> I agree with Michel here, it's better to waste a re-gen now and notice
>>> any issue right away.
>>
>> That's not exactly what I'm saying though. :)
>>
>> If you don't want to merge this together with other changes which bump
>> the tag, how about:
>>
>> * Create an MR with an additional commit which bumps the tag
>> * Wait for the CI pipeline to come back green
>> * Force-push to the source branch without the additional commit, and
>>   merge the MR
>> * Remove the ephemeral docker image from
>> https://gitlab.freedesktop.org/evelikov/mesa/container_registry
>>
>> The CI pipeline information including the log of the job which generated
>> the ephemeral docker image will remain accessible.
>>
> if I understand you correctly, the goal is to have this explicitly tested.
> Since it's a no-op,

It's not a no-op, it has an observable effect, which is that the
software-properties-common package will no longer be installed in the
docker image. While it's unlikely that this will break anything, we have
the CI pipeline to make sure changes don't break anything, so let's use it.


> one might as well keep the test (and resulting extra image) downstream aka
> in my repo.

The image isn't needed after the test (that's why I call it ephemeral),
only a record that it was successfully generated and that the CI
pipeline's later stage jobs passed against it. An MR provides such a
record (on the "Pipelines" tab).


> Sure I'll do that in a moment.

Why don't you just follow my suggestion above?


-- 

Re: [Mesa-dev] [PATCH] gitlab-ci: remove software-properties-common

2019-08-01 Thread Emil Velikov
On Thu, 1 Aug 2019 at 09:35, Michel Dänzer  wrote:
>
> On 2019-07-31 11:47 p.m., Eric Engestrom wrote:
> > On Wednesday, 2019-07-31 16:07:45 +0200, Michel Dänzer wrote:
> >> On 2019-07-31 3:26 p.m., Emil Velikov wrote:
> >>> On Wed, 31 Jul 2019 at 14:16, Michel Dänzer  wrote:
> 
>  On 2019-07-31 3:04 p.m., Emil Velikov wrote:
> > From: Emil Velikov 
> >
> > Currently we use the python package to manage repositories. At the same
> > time we also do that by hand - since it's a trivial echo to a file.
> >
> > Stay consistent, remove the package and manage things manually.
> >
> > Cc: Eric Engestrom 
> > Signed-off-by: Emil Velikov 
> > ---
> >  .gitlab-ci/debian-install.sh | 11 +--
> >  1 file changed, 5 insertions(+), 6 deletions(-)
> >
> > diff --git a/.gitlab-ci/debian-install.sh b/.gitlab-ci/debian-install.sh
> > index 578074ddb87..719d7830018 100644
> > --- a/.gitlab-ci/debian-install.sh
> > +++ b/.gitlab-ci/debian-install.sh
> > @@ -16,12 +16,11 @@ apt-get install -y \
> >curl \
> >wget \
> >unzip \
> > -  gnupg \
> > -  software-properties-common
> > +  gnupg
> >
> >  curl -fsSL https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
> > -add-apt-repository "deb https://apt.llvm.org/stretch/ 
> > llvm-toolchain-stretch-7 main"
> > -add-apt-repository "deb https://apt.llvm.org/stretch/ 
> > llvm-toolchain-stretch-8 main"
> > +echo "deb [trusted=yes] https://apt.llvm.org/stretch/ 
> > llvm-toolchain-stretch-7 main" >/etc/apt/sources.list.d/llvm7.list
> > +echo "deb [trusted=yes] https://apt.llvm.org/stretch/ 
> > llvm-toolchain-stretch-8 main" >/etc/apt/sources.list.d/llvm8.list
> >
> >  sed -i -e 's/http:\/\/deb/https:\/\/deb/g' /etc/apt/sources.list
> >  echo 'deb https://deb.debian.org/debian stretch-backports main' 
> > >/etc/apt/sources.list.d/backports.list
> > @@ -46,8 +45,8 @@ apt-get install -y -t stretch-backports \
> >clang-8
> >
> >  # Install remaining packages from Debian buster to get newer versions
> > -add-apt-repository "deb https://deb.debian.org/debian/ buster main"
> > -add-apt-repository "deb https://deb.debian.org/debian/ buster-updates 
> > main"
> > +echo "deb https://deb.debian.org/debian/ buster main" 
> > >/etc/apt/sources.list.d/buster.list
> > +echo "deb https://deb.debian.org/debian/ buster-updates main" 
> > >/etc/apt/sources.list.d/buster-updates.list
> >  apt-get update
> >  apt-get install -y \
> >bzip2 \
> >
> 
>  This should be merged as part of an MR which requires the docker image
>  to be re-generated for another reason, and thus bumps DEBIAN_TAG.
> 
> >>> Since this is a non-functional change, I've explicitly omitted bumping
> >>> the DEBIAN_TAG.
> >>> Seemingly I forgot to mention it in the commit message though, oopsie.
> >>>
> >>> Since the image will contain practically the same artefacts, is it
> >>> worth carving out 30 minutes (or so) from the runners?
> >>
> >> No, I agree that would be wasteful for this change alone.
> >>
> >> However, merging this change without bumping the tag isn't good either,
> >> because then any issues with it would only be discovered the next time
> >> it does get bumped. Hence my request above.
> >
> > I agree with Michel here, it's better to waste a re-gen now and notice
> > any issue right away.
>
> That's not exactly what I'm saying though. :)
>
> If you don't want to merge this together with other changes which bump
> the tag, how about:
>
> * Create an MR with an additional commit which bumps the tag
> * Wait for the CI pipeline to come back green
> * Force-push to the source branch without the additional commit, and
>   merge the MR
> * Remove the ephemeral docker image from
> https://gitlab.freedesktop.org/evelikov/mesa/container_registry
>
> The CI pipeline information including the log of the job which generated
> the ephemeral docker image will remain accessible.
>
if I understand you correctly, the goal is to have this explicitly tested.
Since it's a no-op, one might as well keep the test (and resulting
extra image) downstream aka in my repo.

Sure I'll do that in a moment.

Thanks
Emil
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] gitlab-ci: remove software-properties-common

2019-08-01 Thread Michel Dänzer
On 2019-07-31 11:47 p.m., Eric Engestrom wrote:
> On Wednesday, 2019-07-31 16:07:45 +0200, Michel Dänzer wrote:
>> On 2019-07-31 3:26 p.m., Emil Velikov wrote:
>>> On Wed, 31 Jul 2019 at 14:16, Michel Dänzer  wrote:

 On 2019-07-31 3:04 p.m., Emil Velikov wrote:
> From: Emil Velikov 
>
> Currently we use the python package to manage repositories. At the same
> time we also do that by hand - since it's a trivial echo to a file.
>
> Stay consistent, remove the package and manage things manually.
>
> Cc: Eric Engestrom 
> Signed-off-by: Emil Velikov 
> ---
>  .gitlab-ci/debian-install.sh | 11 +--
>  1 file changed, 5 insertions(+), 6 deletions(-)
>
> diff --git a/.gitlab-ci/debian-install.sh b/.gitlab-ci/debian-install.sh
> index 578074ddb87..719d7830018 100644
> --- a/.gitlab-ci/debian-install.sh
> +++ b/.gitlab-ci/debian-install.sh
> @@ -16,12 +16,11 @@ apt-get install -y \
>curl \
>wget \
>unzip \
> -  gnupg \
> -  software-properties-common
> +  gnupg
>
>  curl -fsSL https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
> -add-apt-repository "deb https://apt.llvm.org/stretch/ 
> llvm-toolchain-stretch-7 main"
> -add-apt-repository "deb https://apt.llvm.org/stretch/ 
> llvm-toolchain-stretch-8 main"
> +echo "deb [trusted=yes] https://apt.llvm.org/stretch/ 
> llvm-toolchain-stretch-7 main" >/etc/apt/sources.list.d/llvm7.list
> +echo "deb [trusted=yes] https://apt.llvm.org/stretch/ 
> llvm-toolchain-stretch-8 main" >/etc/apt/sources.list.d/llvm8.list
>
>  sed -i -e 's/http:\/\/deb/https:\/\/deb/g' /etc/apt/sources.list
>  echo 'deb https://deb.debian.org/debian stretch-backports main' 
> >/etc/apt/sources.list.d/backports.list
> @@ -46,8 +45,8 @@ apt-get install -y -t stretch-backports \
>clang-8
>
>  # Install remaining packages from Debian buster to get newer versions
> -add-apt-repository "deb https://deb.debian.org/debian/ buster main"
> -add-apt-repository "deb https://deb.debian.org/debian/ buster-updates 
> main"
> +echo "deb https://deb.debian.org/debian/ buster main" 
> >/etc/apt/sources.list.d/buster.list
> +echo "deb https://deb.debian.org/debian/ buster-updates main" 
> >/etc/apt/sources.list.d/buster-updates.list
>  apt-get update
>  apt-get install -y \
>bzip2 \
>

 This should be merged as part of an MR which requires the docker image
 to be re-generated for another reason, and thus bumps DEBIAN_TAG.

>>> Since this is a non-functional change, I've explicitly omitted bumping
>>> the DEBIAN_TAG.
>>> Seemingly I forgot to mention it in the commit message though, oopsie.
>>>
>>> Since the image will contain practically the same artefacts, is it
>>> worth carving out 30 minutes (or so) from the runners?
>>
>> No, I agree that would be wasteful for this change alone.
>>
>> However, merging this change without bumping the tag isn't good either,
>> because then any issues with it would only be discovered the next time
>> it does get bumped. Hence my request above.
> 
> I agree with Michel here, it's better to waste a re-gen now and notice
> any issue right away.

That's not exactly what I'm saying though. :)

If you don't want to merge this together with other changes which bump
the tag, how about:

* Create an MR with an additional commit which bumps the tag
* Wait for the CI pipeline to come back green
* Force-push to the source branch without the additional commit, and
  merge the MR
* Remove the ephemeral docker image from
https://gitlab.freedesktop.org/evelikov/mesa/container_registry

The CI pipeline information including the log of the job which generated
the ephemeral docker image will remain accessible.


-- 
Earthling Michel Dänzer   |  https://www.amd.com
Libre software enthusiast | Mesa and X developer
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] gitlab-ci: remove software-properties-common

2019-07-31 Thread Eric Engestrom
On Wednesday, 2019-07-31 16:07:45 +0200, Michel Dänzer wrote:
> On 2019-07-31 3:26 p.m., Emil Velikov wrote:
> > On Wed, 31 Jul 2019 at 14:16, Michel Dänzer  wrote:
> >>
> >> On 2019-07-31 3:04 p.m., Emil Velikov wrote:
> >>> From: Emil Velikov 
> >>>
> >>> Currently we use the python package to manage repositories. At the same
> >>> time we also do that by hand - since it's a trivial echo to a file.
> >>>
> >>> Stay consistent, remove the package and manage things manually.
> >>>
> >>> Cc: Eric Engestrom 
> >>> Signed-off-by: Emil Velikov 
> >>> ---
> >>>  .gitlab-ci/debian-install.sh | 11 +--
> >>>  1 file changed, 5 insertions(+), 6 deletions(-)
> >>>
> >>> diff --git a/.gitlab-ci/debian-install.sh b/.gitlab-ci/debian-install.sh
> >>> index 578074ddb87..719d7830018 100644
> >>> --- a/.gitlab-ci/debian-install.sh
> >>> +++ b/.gitlab-ci/debian-install.sh
> >>> @@ -16,12 +16,11 @@ apt-get install -y \
> >>>curl \
> >>>wget \
> >>>unzip \
> >>> -  gnupg \
> >>> -  software-properties-common
> >>> +  gnupg
> >>>
> >>>  curl -fsSL https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
> >>> -add-apt-repository "deb https://apt.llvm.org/stretch/ 
> >>> llvm-toolchain-stretch-7 main"
> >>> -add-apt-repository "deb https://apt.llvm.org/stretch/ 
> >>> llvm-toolchain-stretch-8 main"
> >>> +echo "deb [trusted=yes] https://apt.llvm.org/stretch/ 
> >>> llvm-toolchain-stretch-7 main" >/etc/apt/sources.list.d/llvm7.list
> >>> +echo "deb [trusted=yes] https://apt.llvm.org/stretch/ 
> >>> llvm-toolchain-stretch-8 main" >/etc/apt/sources.list.d/llvm8.list
> >>>
> >>>  sed -i -e 's/http:\/\/deb/https:\/\/deb/g' /etc/apt/sources.list
> >>>  echo 'deb https://deb.debian.org/debian stretch-backports main' 
> >>> >/etc/apt/sources.list.d/backports.list
> >>> @@ -46,8 +45,8 @@ apt-get install -y -t stretch-backports \
> >>>clang-8
> >>>
> >>>  # Install remaining packages from Debian buster to get newer versions
> >>> -add-apt-repository "deb https://deb.debian.org/debian/ buster main"
> >>> -add-apt-repository "deb https://deb.debian.org/debian/ buster-updates 
> >>> main"
> >>> +echo "deb https://deb.debian.org/debian/ buster main" 
> >>> >/etc/apt/sources.list.d/buster.list
> >>> +echo "deb https://deb.debian.org/debian/ buster-updates main" 
> >>> >/etc/apt/sources.list.d/buster-updates.list
> >>>  apt-get update
> >>>  apt-get install -y \
> >>>bzip2 \
> >>>
> >>
> >> This should be merged as part of an MR which requires the docker image
> >> to be re-generated for another reason, and thus bumps DEBIAN_TAG.
> >>
> > Since this is a non-functional change, I've explicitly omitted bumping
> > the DEBIAN_TAG.
> > Seemingly I forgot to mention it in the commit message though, oopsie.
> > 
> > Since the image will contain practically the same artefacts, is it
> > worth carving out 30 minutes (or so) from the runners?
> 
> No, I agree that would be wasteful for this change alone.
> 
> However, merging this change without bumping the tag isn't good either,
> because then any issues with it would only be discovered the next time
> it does get bumped. Hence my request above.

I agree with Michel here, it's better to waste a re-gen now and notice
any issue right away.

Also, could you send this as an MR so that we can see the resulting CI
right away? Thanks :)

I don't really know apt, but this patch looks correct:
Acked-by: Eric Engestrom 
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] gitlab-ci: remove software-properties-common

2019-07-31 Thread Michel Dänzer
On 2019-07-31 3:26 p.m., Emil Velikov wrote:
> On Wed, 31 Jul 2019 at 14:16, Michel Dänzer  wrote:
>>
>> On 2019-07-31 3:04 p.m., Emil Velikov wrote:
>>> From: Emil Velikov 
>>>
>>> Currently we use the python package to manage repositories. At the same
>>> time we also do that by hand - since it's a trivial echo to a file.
>>>
>>> Stay consistent, remove the package and manage things manually.
>>>
>>> Cc: Eric Engestrom 
>>> Signed-off-by: Emil Velikov 
>>> ---
>>>  .gitlab-ci/debian-install.sh | 11 +--
>>>  1 file changed, 5 insertions(+), 6 deletions(-)
>>>
>>> diff --git a/.gitlab-ci/debian-install.sh b/.gitlab-ci/debian-install.sh
>>> index 578074ddb87..719d7830018 100644
>>> --- a/.gitlab-ci/debian-install.sh
>>> +++ b/.gitlab-ci/debian-install.sh
>>> @@ -16,12 +16,11 @@ apt-get install -y \
>>>curl \
>>>wget \
>>>unzip \
>>> -  gnupg \
>>> -  software-properties-common
>>> +  gnupg
>>>
>>>  curl -fsSL https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
>>> -add-apt-repository "deb https://apt.llvm.org/stretch/ 
>>> llvm-toolchain-stretch-7 main"
>>> -add-apt-repository "deb https://apt.llvm.org/stretch/ 
>>> llvm-toolchain-stretch-8 main"
>>> +echo "deb [trusted=yes] https://apt.llvm.org/stretch/ 
>>> llvm-toolchain-stretch-7 main" >/etc/apt/sources.list.d/llvm7.list
>>> +echo "deb [trusted=yes] https://apt.llvm.org/stretch/ 
>>> llvm-toolchain-stretch-8 main" >/etc/apt/sources.list.d/llvm8.list
>>>
>>>  sed -i -e 's/http:\/\/deb/https:\/\/deb/g' /etc/apt/sources.list
>>>  echo 'deb https://deb.debian.org/debian stretch-backports main' 
>>> >/etc/apt/sources.list.d/backports.list
>>> @@ -46,8 +45,8 @@ apt-get install -y -t stretch-backports \
>>>clang-8
>>>
>>>  # Install remaining packages from Debian buster to get newer versions
>>> -add-apt-repository "deb https://deb.debian.org/debian/ buster main"
>>> -add-apt-repository "deb https://deb.debian.org/debian/ buster-updates main"
>>> +echo "deb https://deb.debian.org/debian/ buster main" 
>>> >/etc/apt/sources.list.d/buster.list
>>> +echo "deb https://deb.debian.org/debian/ buster-updates main" 
>>> >/etc/apt/sources.list.d/buster-updates.list
>>>  apt-get update
>>>  apt-get install -y \
>>>bzip2 \
>>>
>>
>> This should be merged as part of an MR which requires the docker image
>> to be re-generated for another reason, and thus bumps DEBIAN_TAG.
>>
> Since this is a non-functional change, I've explicitly omitted bumping
> the DEBIAN_TAG.
> Seemingly I forgot to mention it in the commit message though, oopsie.
> 
> Since the image will contain practically the same artefacts, is it
> worth carving out 30 minutes (or so) from the runners?

No, I agree that would be wasteful for this change alone.

However, merging this change without bumping the tag isn't good either,
because then any issues with it would only be discovered the next time
it does get bumped. Hence my request above.


-- 
Earthling Michel Dänzer   |  https://www.amd.com
Libre software enthusiast | Mesa and X developer
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] gitlab-ci: remove software-properties-common

2019-07-31 Thread Emil Velikov
On Wed, 31 Jul 2019 at 14:16, Michel Dänzer  wrote:
>
> On 2019-07-31 3:04 p.m., Emil Velikov wrote:
> > From: Emil Velikov 
> >
> > Currently we use the python package to manage repositories. At the same
> > time we also do that by hand - since it's a trivial echo to a file.
> >
> > Stay consistent, remove the package and manage things manually.
> >
> > Cc: Eric Engestrom 
> > Signed-off-by: Emil Velikov 
> > ---
> >  .gitlab-ci/debian-install.sh | 11 +--
> >  1 file changed, 5 insertions(+), 6 deletions(-)
> >
> > diff --git a/.gitlab-ci/debian-install.sh b/.gitlab-ci/debian-install.sh
> > index 578074ddb87..719d7830018 100644
> > --- a/.gitlab-ci/debian-install.sh
> > +++ b/.gitlab-ci/debian-install.sh
> > @@ -16,12 +16,11 @@ apt-get install -y \
> >curl \
> >wget \
> >unzip \
> > -  gnupg \
> > -  software-properties-common
> > +  gnupg
> >
> >  curl -fsSL https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
> > -add-apt-repository "deb https://apt.llvm.org/stretch/ 
> > llvm-toolchain-stretch-7 main"
> > -add-apt-repository "deb https://apt.llvm.org/stretch/ 
> > llvm-toolchain-stretch-8 main"
> > +echo "deb [trusted=yes] https://apt.llvm.org/stretch/ 
> > llvm-toolchain-stretch-7 main" >/etc/apt/sources.list.d/llvm7.list
> > +echo "deb [trusted=yes] https://apt.llvm.org/stretch/ 
> > llvm-toolchain-stretch-8 main" >/etc/apt/sources.list.d/llvm8.list
> >
> >  sed -i -e 's/http:\/\/deb/https:\/\/deb/g' /etc/apt/sources.list
> >  echo 'deb https://deb.debian.org/debian stretch-backports main' 
> > >/etc/apt/sources.list.d/backports.list
> > @@ -46,8 +45,8 @@ apt-get install -y -t stretch-backports \
> >clang-8
> >
> >  # Install remaining packages from Debian buster to get newer versions
> > -add-apt-repository "deb https://deb.debian.org/debian/ buster main"
> > -add-apt-repository "deb https://deb.debian.org/debian/ buster-updates main"
> > +echo "deb https://deb.debian.org/debian/ buster main" 
> > >/etc/apt/sources.list.d/buster.list
> > +echo "deb https://deb.debian.org/debian/ buster-updates main" 
> > >/etc/apt/sources.list.d/buster-updates.list
> >  apt-get update
> >  apt-get install -y \
> >bzip2 \
> >
>
> This should be merged as part of an MR which requires the docker image
> to be re-generated for another reason, and thus bumps DEBIAN_TAG.
>
Since this is a non-functional change, I've explicitly omitted bumping
the DEBIAN_TAG.
Seemingly I forgot to mention it in the commit message though, oopsie.

Since the image will contain practically the same artefacts, is it
worth carving out 30 minutes (or so) from the runners?

> Reviewed-by: Michel Dänzer 
>

Thanks
Emil
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] gitlab-ci: remove software-properties-common

2019-07-31 Thread Michel Dänzer
On 2019-07-31 3:04 p.m., Emil Velikov wrote:
> From: Emil Velikov 
> 
> Currently we use the python package to manage repositories. At the same
> time we also do that by hand - since it's a trivial echo to a file.
> 
> Stay consistent, remove the package and manage things manually.
> 
> Cc: Eric Engestrom 
> Signed-off-by: Emil Velikov 
> ---
>  .gitlab-ci/debian-install.sh | 11 +--
>  1 file changed, 5 insertions(+), 6 deletions(-)
> 
> diff --git a/.gitlab-ci/debian-install.sh b/.gitlab-ci/debian-install.sh
> index 578074ddb87..719d7830018 100644
> --- a/.gitlab-ci/debian-install.sh
> +++ b/.gitlab-ci/debian-install.sh
> @@ -16,12 +16,11 @@ apt-get install -y \
>curl \
>wget \
>unzip \
> -  gnupg \
> -  software-properties-common
> +  gnupg
>  
>  curl -fsSL https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
> -add-apt-repository "deb https://apt.llvm.org/stretch/ 
> llvm-toolchain-stretch-7 main"
> -add-apt-repository "deb https://apt.llvm.org/stretch/ 
> llvm-toolchain-stretch-8 main"
> +echo "deb [trusted=yes] https://apt.llvm.org/stretch/ 
> llvm-toolchain-stretch-7 main" >/etc/apt/sources.list.d/llvm7.list
> +echo "deb [trusted=yes] https://apt.llvm.org/stretch/ 
> llvm-toolchain-stretch-8 main" >/etc/apt/sources.list.d/llvm8.list
>  
>  sed -i -e 's/http:\/\/deb/https:\/\/deb/g' /etc/apt/sources.list
>  echo 'deb https://deb.debian.org/debian stretch-backports main' 
> >/etc/apt/sources.list.d/backports.list
> @@ -46,8 +45,8 @@ apt-get install -y -t stretch-backports \
>clang-8
>  
>  # Install remaining packages from Debian buster to get newer versions
> -add-apt-repository "deb https://deb.debian.org/debian/ buster main"
> -add-apt-repository "deb https://deb.debian.org/debian/ buster-updates main"
> +echo "deb https://deb.debian.org/debian/ buster main" 
> >/etc/apt/sources.list.d/buster.list
> +echo "deb https://deb.debian.org/debian/ buster-updates main" 
> >/etc/apt/sources.list.d/buster-updates.list
>  apt-get update
>  apt-get install -y \
>bzip2 \
> 

This should be merged as part of an MR which requires the docker image
to be re-generated for another reason, and thus bumps DEBIAN_TAG.

Reviewed-by: Michel Dänzer 


-- 
Earthling Michel Dänzer   |  https://www.amd.com
Libre software enthusiast | Mesa and X developer
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH] gitlab-ci: remove software-properties-common

2019-07-31 Thread Emil Velikov
From: Emil Velikov 

Currently we use the python package to manage repositories. At the same
time we also do that by hand - since it's a trivial echo to a file.

Stay consistent, remove the package and manage things manually.

Cc: Eric Engestrom 
Signed-off-by: Emil Velikov 
---
 .gitlab-ci/debian-install.sh | 11 +--
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/.gitlab-ci/debian-install.sh b/.gitlab-ci/debian-install.sh
index 578074ddb87..719d7830018 100644
--- a/.gitlab-ci/debian-install.sh
+++ b/.gitlab-ci/debian-install.sh
@@ -16,12 +16,11 @@ apt-get install -y \
   curl \
   wget \
   unzip \
-  gnupg \
-  software-properties-common
+  gnupg
 
 curl -fsSL https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -
-add-apt-repository "deb https://apt.llvm.org/stretch/ llvm-toolchain-stretch-7 
main"
-add-apt-repository "deb https://apt.llvm.org/stretch/ llvm-toolchain-stretch-8 
main"
+echo "deb [trusted=yes] https://apt.llvm.org/stretch/ llvm-toolchain-stretch-7 
main" >/etc/apt/sources.list.d/llvm7.list
+echo "deb [trusted=yes] https://apt.llvm.org/stretch/ llvm-toolchain-stretch-8 
main" >/etc/apt/sources.list.d/llvm8.list
 
 sed -i -e 's/http:\/\/deb/https:\/\/deb/g' /etc/apt/sources.list
 echo 'deb https://deb.debian.org/debian stretch-backports main' 
>/etc/apt/sources.list.d/backports.list
@@ -46,8 +45,8 @@ apt-get install -y -t stretch-backports \
   clang-8
 
 # Install remaining packages from Debian buster to get newer versions
-add-apt-repository "deb https://deb.debian.org/debian/ buster main"
-add-apt-repository "deb https://deb.debian.org/debian/ buster-updates main"
+echo "deb https://deb.debian.org/debian/ buster main" 
>/etc/apt/sources.list.d/buster.list
+echo "deb https://deb.debian.org/debian/ buster-updates main" 
>/etc/apt/sources.list.d/buster-updates.list
 apt-get update
 apt-get install -y \
   bzip2 \
-- 
2.21.0

___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev