Skip to content

Commit

Permalink
Merge branch 'main' into konflux/mintmaker/main/pytest-cov-6.x
Browse files Browse the repository at this point in the history
  • Loading branch information
mkosiarc authored Jan 15, 2025
2 parents 4689ae3 + ecce4ca commit b6ead90
Show file tree
Hide file tree
Showing 66 changed files with 87,387 additions and 3,148 deletions.
3 changes: 3 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners

* @konflux-ci/build-maintainers
80 changes: 0 additions & 80 deletions .github/workflows/build-sbom-utility-scripts-image.yml

This file was deleted.

40 changes: 0 additions & 40 deletions .github/workflows/build-task-toolset.yml

This file was deleted.

60 changes: 0 additions & 60 deletions .github/workflows/check-author-in-owner-file.yml

This file was deleted.

25 changes: 25 additions & 0 deletions .github/workflows/inject-icm-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Test icm-injection-scripts

on:
pull_request:
branches:
- main
paths:
- .github/workflows/inject-icm-test.yaml
- icm-injection-scripts/**

jobs:
check:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Run test for cyclonedx
run: |
TEST_SBOM_FORMAT=cyclonedx ./icm-injection-scripts/scripts/test-inject-icm.sh
- name: Run test for spdx
run: |
TEST_SBOM_FORMAT=spdx ./icm-injection-scripts/scripts/test-inject-icm.sh
53 changes: 53 additions & 0 deletions .github/workflows/test-sbom-utility-scripts-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Test sbom utility scripts image

on:
push:
branches:
- main
paths:
- .github/workflows/test-sbom-utility-scripts-image.yml
- sbom-utility-scripts/**

pull_request:
branches:
- main
paths:
- .github/workflows/test-sbom-utility-scripts-image.yml
- sbom-utility-scripts/**

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

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

- name: Run tox checks for base-images-sbom-script
run: |
python3 -m pip install tox
cd ./sbom-utility-scripts/scripts/base-images-sbom-script/app/
tox
- name: Run tox checks for merge-sboms-script
run: |
python3 -m pip install tox
cd ./sbom-utility-scripts/scripts/merge-sboms-script/
tox
- name: Run tox checks for index-image-sbom-script
run: |
python3 -m pip install tox
cd ./sbom-utility-scripts/scripts/index-image-sbom-script/
tox
- name: Run tox checks for index-image-sbom-script
run: |
python3 -m pip install tox
cd ./sbom-utility-scripts/scripts/add-image-reference-script/
tox
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
.venv/
.coverage
__pycache__/
.idea/
Loading

0 comments on commit b6ead90

Please sign in to comment.