⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.94
Server IP:
178.33.27.10
Server:
Linux cpanel.dev-unit.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
Server Software:
Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips
PHP Version:
8.2.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
local
/
src
/
netdata
/
.github
/
workflows
/
View File Name :
checks.yml
--- name: Checks on: push: branches: - master pull_request: null env: DISABLE_TELEMETRY: 1 concurrency: group: checks-${{ github.ref }} cancel-in-progress: true jobs: file-check: # Check what files changed if we’re being run in a PR or on a push. name: Check Modified Files runs-on: ubuntu-latest outputs: run: ${{ steps.check-run.outputs.run }} steps: - name: Checkout id: checkout uses: actions/checkout@v4 with: fetch-depth: 0 submodules: recursive - name: Check files id: check-files uses: tj-actions/changed-files@v42 with: since_last_remote_commit: ${{ github.event_name != 'pull_request' }} files: | **.c **.cc **.h **.hh **.in **.patch **.cmake CMakeLists.txt .gitignore .github/data/distros.yml .github/workflows/build.yml .github/scripts/build-static.sh .github/scripts/get-static-cache-key.sh .github/scripts/gen-matrix-build.py .github/scripts/run-updater-check.sh packaging/*.version packaging/*.checksums src/aclk/aclk-schemas/ src/ml/dlib/ src/fluent-bit/ web/server/h2o/libh2o/ files_ignore: | netdata.spec.in **.md - name: Check Run id: check-run run: | if [ "${{ steps.check-files.outputs.any_modified }}" == "true" ] || [ "${{ github.event_name }}" == "workflow_dispatch" ]; then echo 'run=true' >> "${GITHUB_OUTPUT}" else echo 'run=false' >> "${GITHUB_OUTPUT}" fi libressl-checks: name: LibreSSL needs: - file-check runs-on: ubuntu-latest steps: - name: Skip Check id: skip if: needs.file-check.outputs.run != 'true' run: echo "SKIPPED" - name: Checkout if: needs.file-check.outputs.run == 'true' uses: actions/checkout@v4 with: submodules: recursive - name: Build if: needs.file-check.outputs.run == 'true' run: > docker run -v "$PWD":/netdata -w /netdata alpine:latest /bin/sh -c 'apk add bash; ./packaging/installer/install-required-packages.sh --dont-wait --non-interactive netdata; apk del openssl openssl-dev; apk add libressl libressl-dev protobuf-dev; ./netdata-installer.sh --disable-telemetry --dont-start-it --dont-wait --one-time-build;' clang-checks: name: Clang needs: - file-check runs-on: ubuntu-latest steps: - name: Skip Check id: skip if: needs.file-check.outputs.run != 'true' run: echo "SKIPPED" - name: Checkout if: needs.file-check.outputs.run == 'true' uses: actions/checkout@v4 with: submodules: recursive - name: Build if: needs.file-check.outputs.run == 'true' run: docker build -f .github/dockerfiles/Dockerfile.clang . gitignore-check: name: .gitignore needs: - file-check runs-on: ubuntu-latest steps: - name: Skip Check id: skip if: needs.file-check.outputs.run != 'true' run: echo "SKIPPED" - name: Checkout if: needs.file-check.outputs.run == 'true' uses: actions/checkout@v4 with: submodules: recursive - name: Prepare environment if: needs.file-check.outputs.run == 'true' run: ./packaging/installer/install-required-packages.sh --dont-wait --non-interactive netdata - name: Build netdata if: needs.file-check.outputs.run == 'true' run: ./netdata-installer.sh --dont-start-it --disable-telemetry --dont-wait --install-prefix /tmp/install --one-time-build - name: Check that repo is clean if: needs.file-check.outputs.run == 'true' run: | git status --porcelain=v1 > /tmp/porcelain if [ -s /tmp/porcelain ]; then cat /tmp/porcelain exit 1 fi