Skip to content

Commit

Permalink
Remove Centos 6 images and CI setup
Browse files Browse the repository at this point in the history
CentOS6 is not supported and it makes the CI unstable
  • Loading branch information
zhukovgreen committed Apr 29, 2021
1 parent 00086db commit 412c9b8
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 36 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
centos_ver: [6, 7, 8]
centos_ver: [7, 8]

runs-on: ubuntu-20.04
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
centos_ver: [6, 7, 8]
centos_ver: [7, 8]

runs-on: ubuntu-20.04
steps:
Expand Down
31 changes: 0 additions & 31 deletions Dockerfiles/centos6.Dockerfile

This file was deleted.

3 changes: 0 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,13 @@ clean:
images: .images

.images:
@docker build -f Dockerfiles/centos6.Dockerfile -t $(IMAGE)/centos6 .
@docker build -f Dockerfiles/centos7.Dockerfile -t $(IMAGE)/centos7 .
@docker build -f Dockerfiles/centos8.Dockerfile -t $(IMAGE)/centos8 .
@docker build -f Dockerfiles/rpmbuild.centos8.Dockerfile -t $(IMAGE)/centos8rpmbuild .
@docker build -f Dockerfiles/rpmbuild.centos7.Dockerfile -t $(IMAGE)/centos7rpmbuild .
touch $@

tests: images
@echo 'CentOS Linux 6 tests'
@docker run --user=$(id -ur):$(id -gr) --rm -v $(shell pwd):/data:Z $(IMAGE)/centos6 pytest
@echo 'CentOS Linux 7 tests'
@docker run --user=$(id -ur):$(id -gr) --rm -v $(shell pwd):/data:Z $(IMAGE)/centos7 pytest
@echo 'CentOS Linux 8 tests'
Expand Down

0 comments on commit 412c9b8

Please sign in to comment.