Re: [PATCH 2/3] ci: Drop circleci config

Stephen Smalley <[email protected]> Thu, 23 Jul 2026 09:46:15 -0400
Newsgroups org.kernel.vger.selinux
Message-ID <CAEjxPJ5cdX3vZZmE3tLfY7Bk_YapnVU3erzeXUtGsy3wbK2BLw@mail.gmail.com>
On Thu, Jul 23, 2026 at 2:25 AM Jason Zaman <[email protected]> wrote:
>
> We have not used circleci in many years, the configs are very out of
> date compared to the github actions so need to get cleaned up.
>
> Signed-off-by: Jason Zaman <[email protected]>

Acked-by: Stephen Smalley <[email protected]>

> ---
>  .circleci/config.yml | 41 -----------------------------------------
>  1 file changed, 41 deletions(-)
>  delete mode 100644 .circleci/config.yml
>
> diff --git a/.circleci/config.yml b/.circleci/config.yml
> deleted file mode 100644
> index a75d34c2..00000000
> --- a/.circleci/config.yml
> +++ /dev/null
> @@ -1,41 +0,0 @@
> -# Configuration file for https://circleci.com/
> -
> -version: 2
> -
> -jobs:
> -  build:
> -    docker:
> -      # Use a Python image from https://hub.docker.com/r/circleci/python/tags/
> -      - image: circleci/python:3.6
> -
> -    steps:
> -    - checkout
> -
> -    # Install dependencies
> -    - run: sudo apt-get update -qq
> -    - run: sudo apt-get install -qq bison clang clang-tools flex gawk gettext libaudit-dev libcap-dev libcap-ng-dev libcunit1-dev libdbus-glib-1-dev libpcre2-dev python3-dev python-dev ruby-dev swig xmlto
> -
> -    - run:
> -        name: Setup environment variables
> -        command: |
> -          echo 'export DESTDIR=$HOME/destdir' >> "$BASH_ENV"
> -          echo 'export IS_CIRCLE_CI=1' >> "$BASH_ENV"
> -
> -    # Download and install refpolicy headers for sepolgen tests
> -    - run:
> -        name: Download refpolicy Makefile
> -        command: |
> -          curl --location --retry 10 -o refpolicy.tar.bz2 https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE_2_20180701/refpolicy-2.20180701.tar.bz2
> -          tar -xvjf refpolicy.tar.bz2
> -          sed -e "s,^PREFIX :=.*,PREFIX := $DESTDIR/usr," -i refpolicy/support/Makefile.devel
> -          sudo make -C refpolicy install-headers
> -          sudo mkdir -p /etc/selinux
> -          echo 'SELINUXTYPE=refpolicy' | sudo tee /etc/selinux/config
> -          echo 'SELINUX_DEVEL_PATH = /usr/share/selinux/refpolicy' | sudo tee /etc/selinux/sepolgen.conf
> -          sed -e "s,\"\(/usr/bin/[cs]\),\"$DESTDIR\1," -i python/sepolgen/src/sepolgen/module.py
> -
> -    # Run clang's scan-build and store the result as artifacts
> -    - run: ./scripts/run-scan-build
> -    - store_artifacts:
> -        path: scripts/output-scan-build
> -        destination: output-scan-build
> --
> 2.54.0
>
>