Skip to content

Bump org.eclipse.jgit:org.eclipse.jgit in /opengrok-indexer #2204

Bump org.eclipse.jgit:org.eclipse.jgit in /opengrok-indexer

Bump org.eclipse.jgit:org.eclipse.jgit in /opengrok-indexer #2204

Workflow file for this run

name: Build Docker image
on: [push, pull_request]
jobs:
ubuntu:
runs-on: ubuntu-latest
steps:
- name: Checkout master branch
uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: python3 -m pip install -r docker/requirements.txt
- name: Install opengrok-tools
run: python3 setup.py install
working-directory: tools
- name: Install checkers
run: python3 -m pip install pylint flake8 black isort
- name: Run flake8
run: flake8 --max-line-length 119 docker/*.py
- name: Run pylint
run: pylint -E --max-line-length 119 docker/*.py
- name: Run black in check mode
run: black --check docker/*.py
- name: Run isort in check mode
run: isort --settings-file docker/.isort.cfg docker/*.py --check --diff
- name: Build and optionally push Docker image
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
OPENGROK_REPO_SLUG: ${{ github.repository }}
OPENGROK_PULL_REQUEST: ${{ github.head_ref }}
OPENGROK_REF: ${{ github.ref }}
run: ./dev/docker.sh
- name: Install Python pre-requisites
run: python3 -m pip install requests
- name: Optionally update README on Docker hub
env:
OPENGROK_REPO_SLUG: ${{ github.repository }}
OPENGROK_PULL_REQUEST: ${{ github.head_ref }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
run: ./dev/dockerhub_readme.py