Skip to content

Building with docker build -t gluster-centos CentOS command does not work due to missing dependencies #15

Building with docker build -t gluster-centos CentOS command does not work due to missing dependencies

Building with docker build -t gluster-centos CentOS command does not work due to missing dependencies #15

name: Linter and Container tests
on:
issue_comment:
branches:
- "master"
types:
- "created"
- "edited"
- "deleted"
jobs:
lint_and_test:
if: |
contains(github.event.comment.html_url, '/pull/') &&
contains(github.event.comment.body, '/test')
runs-on: ubuntu-latest
steps:
# Checkout the current repo
- name: Checkout repository
uses: actions/checkout@v3
# Prepare the runner
- name: Prepare the runner
run: |
sudo apt install shellcheck
sudo npm install -g dockerfile_lint
# Run the linter tests
- name: Run linter tests
run: make
# Run the container tests for CentOS
- name: Run CentOS container tests
run: tests/container-tests.sh centos
# Run the container tests for Fedora
- name: Run Fedora container tests
run: tests/container-tests.sh fedora