Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions .github/workflows/Openstack-Rally-Tester.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
permissions:
contents: read

name: Openstack-Rally-Tester

on:
Expand All @@ -19,9 +22,9 @@ jobs:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
Expand All @@ -37,8 +40,8 @@ jobs:
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38
with:
scandir: "./OpenStack-Rally-Tester"
7 changes: 5 additions & 2 deletions .github/workflows/aq_zombie_finder.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
permissions:
contents: read

name: AQ Zombie Finder Unittest

on:
Expand All @@ -19,9 +22,9 @@ jobs:
matrix:
python-version: ["3.9"]
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
Expand Down
17 changes: 10 additions & 7 deletions .github/workflows/black.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
permissions:
contents: read

name: Black formatter

on: [push, pull_request]
Expand All @@ -6,34 +9,34 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd

- name: Prometheus IP Script
uses: psf/black@stable
uses: psf/black@c6755bb741b6481d6b3d3bb563c83fa060db96c9
with:
src: "prometheus_ip_script"

- name: Aquilon Zombie Finder
uses: psf/black@stable
uses: psf/black@c6755bb741b6481d6b3d3bb563c83fa060db96c9
with:
src: "aq_zombie_finder"

- name: DNS Entry Checker
uses: psf/black@stable
uses: psf/black@c6755bb741b6481d6b3d3bb563c83fa060db96c9
with:
src: "dns_entry_checker"

- name: Word Cloud Generator
uses: psf/black@stable
uses: psf/black@c6755bb741b6481d6b3d3bb563c83fa060db96c9
with:
src: "word_cloud_generator"

- name: JSM Metric Collection
uses: psf/black@stable
uses: psf/black@c6755bb741b6481d6b3d3bb563c83fa060db96c9
with:
src: "jsm_metric_collection"

- name: Openstack-Rally-Tester
uses: psf/black@stable
uses: psf/black@c6755bb741b6481d6b3d3bb563c83fa060db96c9
with:
src: "OpenStack-Rally-Tester"
5 changes: 4 additions & 1 deletion .github/workflows/chatops.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
permissions:
contents: read

name: Linting

on:
Expand All @@ -16,7 +19,7 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd

- name: Check Terraform
run: |
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
permissions:
contents: read

name: "CodeQL"

on:
Expand Down Expand Up @@ -56,11 +59,11 @@ jobs:
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
uses: github/codeql-action/init@c10b8064de6f491fea524254123dbe5e09572f13
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
Expand Down Expand Up @@ -88,6 +91,6 @@ jobs:
exit 1

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
uses: github/codeql-action/analyze@c10b8064de6f491fea524254123dbe5e09572f13
with:
category: "/language:${{matrix.language}}"
7 changes: 5 additions & 2 deletions .github/workflows/dns_entry_checker.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
permissions:
contents: read

name: DNS Entry Checker Unittest

on:
Expand All @@ -19,9 +22,9 @@ jobs:
matrix:
python-version: ["3.9"]
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/gpu_benchmark.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
permissions:
contents: read

name: GPU Benchmark PR
on:
push:
Expand All @@ -16,8 +19,8 @@ jobs:
name: Shellcheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38
with:
scandir: "./gpu_benchmark"
13 changes: 8 additions & 5 deletions .github/workflows/iriscast_build.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
permissions:
contents: read

name: IRISCAST Bump, Build and Release

on:
Expand All @@ -22,17 +25,17 @@ jobs:

steps:
- name: "Setup Github Token"
uses: actions/create-github-app-token@v3
uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3
id: app-token
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.PRIVATE_KEY }}

- name: Checkout
uses: actions/checkout@v4
uses:actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd

- name: Set up Python
uses: actions/setup-python@v5
uses:actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
with:
python-version: "3.11"

Expand Down Expand Up @@ -61,7 +64,7 @@ jobs:
echo "current-version=$(bump-my-version show current_version)" >> $GITHUB_OUTPUT

- name: Push changes to GitHub
uses: ad-m/github-push-action@master
uses: ad-m/github-push-action@m4cc74773234f74829a8c21bc4d69dd4be9cfa599
with:
github_token: "${{ steps.app-token.outputs.token }}"
branch: master
Expand All @@ -81,7 +84,7 @@ jobs:

- name: Create GitHub Release
if: steps.bump.outputs.bumped == 'true'
uses: softprops/action-gh-release@v2
uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda
with:
tag_name: iriscasttools-v${{ steps.bump.outputs.current-version }}
name: iriscasttools-v${{ steps.bump.outputs.current-version }}
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/iriscast_unittest.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
permissions:
contents: read

name: IRISCAST Unittest

on:
Expand Down Expand Up @@ -26,13 +29,13 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd

- name: Navigate to iriscasttools project
run: cd iriscasttools

- name: Install uv and set the Python version
uses: astral-sh/setup-uv@v7
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b
with:
python-version: ${{ matrix.python-version }}

Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/jsm_metric_collection.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
permissions:
contents: read

name: DNS Entry Checker Unittest

on:
Expand All @@ -19,9 +22,9 @@ jobs:
matrix:
python-version: ["3.9"]
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/prometheus_query_to_csv.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
permissions:
contents: read

name: Pylint-Tests-Codecov

on:
Expand All @@ -19,9 +22,9 @@ jobs:
matrix:
python-version: ["3.x"]
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
Expand All @@ -39,7 +42,7 @@ jobs:
run: cd prometheus_query_to_csv && python3 -m pytest . --cov-report xml:coverage.xml --cov

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de
with:
token: ${{secrets.CODECOV_TOKEN}}
files: ./prometheus_query_to_csv/coverage.xml
7 changes: 5 additions & 2 deletions .github/workflows/word_cloud_generator.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
permissions:
contents: read

name: Word Cloud Generator Unittest

on:
Expand All @@ -19,9 +22,9 @@ jobs:
matrix:
python-version: ["3.9"]
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
Expand Down
Loading