[libvirt PATCH v2] ci: Use openSUSE image for code style checking

Jonathon Jongsma posted 1 patch 3 years, 10 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20200622144305.17562-1-jjongsma@redhat.com
.gitlab-ci.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[libvirt PATCH v2] ci: Use openSUSE image for code style checking
Posted by Jonathon Jongsma 3 years, 10 months ago
CentOS does not have the cppi package, so some code style checks are
skipped. Switch to a openSUSE image to do the code style checks.

Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
---
 .gitlab-ci.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index bfb66a652d..5fbc82b3dc 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -496,7 +496,7 @@ website:
 
 codestyle:
   stage: builds
-  image: $CI_REGISTRY_IMAGE/ci-centos-8:latest
+  image: $CI_REGISTRY_IMAGE/ci-opensuse-151:latest
   before_script:
     - *script_variables
   script:
-- 
2.21.3

Re: [libvirt PATCH v2] ci: Use openSUSE image for code style checking
Posted by Andrea Bolognani 3 years, 10 months ago
On Mon, 2020-06-22 at 09:43 -0500, Jonathon Jongsma wrote:
> CentOS does not have the cppi package, so some code style checks are
> skipped. Switch to a openSUSE image to do the code style checks.
> 
> Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
> ---
>  .gitlab-ci.yml | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Andrea Bolognani <abologna@redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization

Re: [libvirt PATCH v2] ci: Use openSUSE image for code style checking
Posted by Jonathon Jongsma 3 years, 10 months ago
On Mon, 2020-06-22 at 18:18 +0200, Andrea Bolognani wrote:
> On Mon, 2020-06-22 at 09:43 -0500, Jonathon Jongsma wrote:
> > CentOS does not have the cppi package, so some code style checks
> > are
> > skipped. Switch to a openSUSE image to do the code style checks.
> > 
> > Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
> > ---
> >  .gitlab-ci.yml | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Reviewed-by: Andrea Bolognani <abologna@redhat.com>
> 

Not that it's a particularly important patch, but I just thought I'd
mention that if we do want it upstream, I'll need somebody to push it
for me ;)


Jonathon

Re: [libvirt PATCH v2] ci: Use openSUSE image for code style checking
Posted by Erik Skultety 3 years, 10 months ago
On Thu, Jun 25, 2020 at 03:43:37PM -0500, Jonathon Jongsma wrote:
> On Mon, 2020-06-22 at 18:18 +0200, Andrea Bolognani wrote:
> > On Mon, 2020-06-22 at 09:43 -0500, Jonathon Jongsma wrote:
> > > CentOS does not have the cppi package, so some code style checks
> > > are
> > > skipped. Switch to a openSUSE image to do the code style checks.
> > >
> > > Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
> > > ---
> > >  .gitlab-ci.yml | 2 +-
> > >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > Reviewed-by: Andrea Bolognani <abologna@redhat.com>
> >
>
> Not that it's a particularly important patch, but I just thought I'd
> mention that if we do want it upstream, I'll need somebody to push it
> for me ;)

Reviewed-by: Erik Skultety <eskultet@redhat.com> and pushed.

Regards,
Erik