Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
166 commits
Select commit Hold shift + click to select a range
6576a6b
fix: e2e parameter precedence: instance repository parameters now ove…
BackendBits Feb 4, 2026
db7bdc9
chore: Update docker image tags and envgene_version for branch main […
Feb 4, 2026
2a80610
docs: app_reg_def_render job (#976)
dysmon Feb 4, 2026
0f5e891
feat: open source publication of process_sd job (#975)
dysmon Feb 4, 2026
05f11fe
chore: Update docker image tags and envgene_version for branch main […
Feb 4, 2026
725bafd
docs: add metadata to env_definition schema (#994)
popoveugene Feb 4, 2026
6f95195
feat: Added new variable to EnvGene Instance pipeline - ENV_INVENTORY…
andyroode Feb 5, 2026
ab3786b
chore: Update docker image tags and envgene_version for branch main […
Feb 5, 2026
13cc897
fix: delete extra file (#997)
dysmon Feb 5, 2026
2d4e104
docs: update documents to support multi-value delimiters in pipeline …
basudev91 Feb 5, 2026
14a1477
fix: extend delimiters for multi value params (#983)
tesmarishy Feb 5, 2026
b2340f7
chore: Update docker image tags and envgene_version for branch main […
Feb 5, 2026
7f39fa2
docs: Custom Params (#999)
popoveugene Feb 5, 2026
68c83c6
docs: Fixed link checker issue (844) (#998)
basudev91 Feb 6, 2026
3f1d77e
feat: ansible replacement remains (#951)
miyamuraga Feb 9, 2026
cbbbc6d
chore: Update docker image tags and envgene_version for branch main […
Feb 9, 2026
223aeff
docs: mark external job as deprecated (#1001)
popoveugene Feb 9, 2026
82ce9cd
feat: Enhance Test data for Calculator CLI
GeethaGadde99 Feb 4, 2026
9cfb5e3
fix: disable setuptools due to breaking changes (#1002)
miyamuraga Feb 9, 2026
df82788
chore: Update docker image tags and envgene_version for branch main […
Feb 9, 2026
4ef7d36
feat: Updated GIT COMMIT job (#1006)
andyroode Feb 10, 2026
e1e5667
chore: Update docker image tags and envgene_version for branch main […
Feb 10, 2026
b1b9c2a
Merge branch 'main' into feature/enhance-test-data-for-calculator-cli
GeethaGadde99 Feb 10, 2026
283c40a
Merge remote-tracking branch 'origin/main' into feature/enhance-test-…
GeethaGadde99 Feb 10, 2026
4385a4c
feat: remove the escape sequence false logic (#954)
GeethaGadde99 Feb 10, 2026
fc86371
chore: Update docker image tags and envgene_version for branch main […
Feb 10, 2026
f2d6186
feat: Implement new pipeline parameter "ENV_TEMPLATE_VERSION_UPDATE_M…
miyamuraga Feb 11, 2026
aa55ee7
chore: Update docker image tags and envgene_version for branch main […
Feb 11, 2026
46e5204
feat: Add Python to Effective set image (#943)
andyroode Feb 11, 2026
42b7ccf
feat: Added Process SD job to Github Evngene Instance Pipe (#1010)
andyroode Feb 11, 2026
ea2e1e2
feat: open source publication of generate_effective_set (#1003)
dysmon Feb 12, 2026
f9d44d3
chore: Update docker image tags and envgene_version for branch main […
Feb 12, 2026
efc4c1a
fix: handle multiple certs (#1000)
KamalArya Feb 13, 2026
fac4723
chore: Update docker image tags and envgene_version for branch main […
Feb 13, 2026
3bc11af
feat: Added Effective Set job to Instance github pipeline (#1016)
andyroode Feb 16, 2026
c19584b
chore: Update docker image tags and envgene_version for branch main […
Feb 16, 2026
cdb574f
fix: adds conditional check to avoid cert issues in effective set (#1…
dysmon Feb 17, 2026
c39732a
feat: Added alpine for stage2 (#1039)
andyroode Feb 20, 2026
80aba48
chore: Update docker image tags and envgene_version for branch main […
Feb 20, 2026
79b71a6
feat: support namespace filtering (#1032)
miyamuraga Feb 20, 2026
ce5af45
chore: Update docker image tags and envgene_version for branch main […
Feb 20, 2026
2960a0a
docs: add CALCULATOR_CLI_JAVA_OPTIONS description (#1046)
popoveugene Feb 23, 2026
a077ad3
fix: CALCULATOR_CLI_JAVA_OPTIONS in calclator cli (#1033)
tesmarishy Feb 25, 2026
3cf6620
chore: Update docker image tags and envgene_version for branch main […
Feb 25, 2026
8ef680b
feat: GSF package. Added logic to keep the pipeline_vars.yaml
andyroode Feb 25, 2026
556bbb2
feat: refactor builds and generated pipeline (#1026)
dysmon Feb 26, 2026
e7cc8e1
chore: Update docker image tags and envgene_version for branch main […
Feb 26, 2026
b57f79f
feat: Added the instruction for Envgene Instance Github workflow (#1059)
andyroode Mar 2, 2026
772c47e
fix: added disabled condition for cloud services if not found in clou…
tesmarishy Mar 2, 2026
30369a7
chore: Update docker image tags and envgene_version for branch main […
Mar 2, 2026
52bcd06
docs: make awsRegion mandatory (#1060)
popoveugene Mar 2, 2026
187f325
docs: update isntance pipeline parameters (#1061)
popoveugene Mar 2, 2026
8a1e87e
feat: add support of multiple templates for BGD cases (#987)
GlimmerCape Mar 3, 2026
3866bf4
chore: Update docker image tags and envgene_version for branch main […
Mar 3, 2026
21fcb2e
docs: add rp tutorial (#1063)
popoveugene Mar 3, 2026
faca4ab
docs: traceability change (#1062)
popoveugene Mar 4, 2026
f3d2424
docs: sbom retention (#1057)
popoveugene Mar 4, 2026
5963c98
feat: add custom parameters to cli (#1058)
sivareddyit Mar 5, 2026
6ae97fb
chore: Update docker image tags and envgene_version for branch main […
Mar 5, 2026
1d911e8
docs: add ES docs (#1069)
popoveugene Mar 5, 2026
9526054
fix: Updated the release process for GSF packages (#1070)
andyroode Mar 6, 2026
69fba60
chore: Update docker image tags and envgene_version for branch main […
Mar 6, 2026
02340d5
feat: Updated the workflows (#1072)
andyroode Mar 6, 2026
b657e75
chore: Update docker image tags and envgene_version for branch main […
Mar 6, 2026
647c338
docs: Align ENV_INVENTORY_CONTENT.credentials documentation and use c…
ismglvd-hub Mar 6, 2026
ca0e5b7
feat: sboms retention policy and fix shares too many files and direct…
miyamuraga Mar 6, 2026
7ecf567
fix: Updated GSF logic to keep pipeline vars and update its formattin…
andyroode Mar 6, 2026
8f1584b
chore: Update docker image tags and envgene_version for branch main […
Mar 6, 2026
cb8156a
docs: template composition rename (#1074)
popoveugene Mar 6, 2026
9b4d4ae
docs: fix gb mb (#1075)
popoveugene Mar 6, 2026
4a231b5
chore: Update docker image tags and envgene_version for branch main […
Mar 10, 2026
fa5bbcb
fix: added check when no custom parameters are passed to cli (#1078)
sivareddyit Mar 10, 2026
038e237
chore: Update docker image tags and envgene_version for branch main […
Mar 10, 2026
9580181
docs: add cmdb.creds.get decprecated macro (#1076)
popoveugene Mar 10, 2026
9694bab
docs: change SBOM Storage filestructure (#1092)
popoveugene Mar 10, 2026
cf8cc86
docs: add namespace filtering explanation (#1043)
ismglvd-hub Mar 10, 2026
09883a5
fix: Small update to GSF related to pipeline_vars after review.
andyroode Mar 11, 2026
8f92ef0
chore: Update docker image tags and envgene_version for branch main […
Mar 11, 2026
068ed7d
fix: cmdb.creds macro support in cli (#1093)
chethana-shastry-p Mar 11, 2026
be34c17
chore: Update docker image tags and envgene_version for branch main […
Mar 11, 2026
3e3bef8
feat: Hide security parameters from job logs (#1101)
GeethaGadde99 Mar 11, 2026
527888b
chore: Update docker image tags and envgene_version for branch main […
Mar 11, 2026
3bbb3c8
fix: fixed issue while building the repo url if the maven repository …
sivareddyit Mar 12, 2026
a08d825
chore: Update docker image tags and envgene_version for branch main […
Mar 12, 2026
70c68b4
fix: temporary fix for tmp folder overwrite (#1111)
chethana-shastry-p Mar 12, 2026
c94c4e1
chore: Update docker image tags and envgene_version for branch main […
Mar 12, 2026
ae3037e
docs: added new doc for how to define complex parameters (#1065)
basudev91 Mar 12, 2026
9c7a74b
docs: updated doc for how to define complex parameters (#1115)
popoveugene Mar 12, 2026
7d0abd6
fix: for unit duplicated code in paramset sorting (#1099)
BackendBits Mar 13, 2026
c80caee
fix: changed logic to create the repo url from registry (#1122)
sivareddyit Mar 17, 2026
cda345f
chore: Update docker image tags and envgene_version for branch main […
Mar 17, 2026
8b26748
fix: if replacing profile by env specific profile, name under of asso…
miyamuraga Mar 17, 2026
b136ffc
chore: Update docker image tags and envgene_version for branch main […
Mar 17, 2026
0b145cb
docs: update Reg Def v2 (#1045)
popoveugene Mar 17, 2026
4b0b188
fix: adding GIT_STRATEGY (#1137)
chethana-shastry-p Mar 18, 2026
fdfbbf1
chore: Update docker image tags and envgene_version for branch main […
Mar 18, 2026
7f7082c
feat: Updated config.env in Github Instance Pipeline (#1144)
andyroode Mar 19, 2026
8d7d580
fix: moving path calc to script (#1159)
chethana-shastry-p Mar 20, 2026
9a9cfac
fix: traling slash (#1149)
miyamuraga Mar 20, 2026
aace15d
chore: Update docker image tags and envgene_version for branch main […
Mar 20, 2026
eef6f4d
docs: Instance repository samples in GSF (#1052)
basudev91 Mar 23, 2026
55b0849
docs: added envgeneNullValue tutorial doc (#1141)
basudev91 Mar 23, 2026
7f06f1b
docs: add tenant cloud definition and change ES generation
popoveugene Mar 23, 2026
3e05837
fix: added authorization for downloading the zip file from artifactor…
sivareddyit Mar 24, 2026
9422147
chore: Update docker image tags and envgene_version for branch main […
Mar 24, 2026
e3c3df2
docs: add template composition algorithm (#1176)
popoveugene Mar 24, 2026
53c558a
feat: Updated config env in Github Envgene instance pipeline (#1177)
andyroode Mar 25, 2026
0bc6646
fix: ensure availability of repo for get passport job. (#1175)
tesmarishy Mar 26, 2026
7482105
feat: Add Google Artifact Registry to Github Instance Pipe (#1163)
andyroode Mar 26, 2026
7d22767
feat: replace all common modules and dependencies from envgene docker…
dysmon Mar 26, 2026
0a0e26a
chore: Update docker image tags and envgene_version for branch main […
Mar 26, 2026
15ca879
fix: correcting type for consul enabled (#1180)
chethana-shastry-p Mar 26, 2026
e28be0c
chore: Added SonarQube check (#1181)
andyroode Mar 26, 2026
b598835
chore: Update docker image tags and envgene_version for branch main […
Mar 26, 2026
772cdac
docs: add nested app_reg_defs in template composition (#1182)
basudev91 Mar 26, 2026
6fc687e
feat: Add Gitlab CI pipeline for extend Github workflow (#1191)
andyroode Mar 30, 2026
9c8fc93
feat: Added empty folder to github_extend
andyroode Mar 31, 2026
db825cf
feat: Updated Envgene yaml (#1197)
andyroode Mar 31, 2026
f5cb144
chore: Update docker image tags and envgene_version for branch main […
Apr 1, 2026
91cde62
feat: Added python and git to instance image (#1200)
andyroode Apr 1, 2026
a022b5d
chore: Update docker image tags and envgene_version for branch main […
Apr 2, 2026
841f8ef
fix: gsf instance files override issue in configuration (#1202)
basudev91 Apr 2, 2026
e3e2730
chore: Update docker image tags and envgene_version for branch main […
Apr 2, 2026
d0f87cd
fix: optimize git commit job (#1187)
dysmon Apr 3, 2026
ab16a89
feat: Updated the link in AGENTS for Diátaxis Framework (#1205)
andyroode Apr 3, 2026
278f243
chore: Update docker image tags and envgene_version for branch main […
Apr 3, 2026
5086650
fix: issue with namespace filter (#1214)
GlimmerCape Apr 8, 2026
0804def
chore: Update docker image tags and envgene_version for branch main […
Apr 8, 2026
cd27156
fix: remove deprecated regex (#1038)
miyamuraga Apr 8, 2026
737ef45
chore: Update docker image tags and envgene_version for branch main […
Apr 8, 2026
ed3297c
feat: Updated the extend logic for Github Instance Pipe (#1221)
andyroode Apr 10, 2026
c62fbf1
feat: Updated the initial image in Instance pipe (#1230)
andyroode Apr 13, 2026
80d9994
feat: extend github pipeline (#1201)
dysmon Apr 13, 2026
0d1265d
feat: Updated base image version for instance pipe (#1232)
andyroode Apr 13, 2026
1e393f3
chore: Update docker image tags and envgene_version for branch main […
Apr 13, 2026
3c0f99e
fix: ssl verification failing (#1219)
GeethaGadde99 Apr 14, 2026
0c66f26
chore: Update docker image tags and envgene_version for branch main […
Apr 14, 2026
43c2758
fix: modified k8_token logic to keep only namespaces instead of deplo…
sivareddyit Apr 14, 2026
6a439f3
chore: Update docker image tags and envgene_version for branch main […
Apr 14, 2026
1d133fb
fix: shared cred processing (#1213)
dysmon Apr 14, 2026
1cbb156
chore: Update docker image tags and envgene_version for branch main […
Apr 14, 2026
fc46556
fix: preserve parameter data types for variable references in Express…
BackendBits Apr 15, 2026
e987e5c
chore: Update docker image tags and envgene_version for branch main […
Apr 15, 2026
5696283
feat: support cloud public registry (#1025)
BackendBits Apr 15, 2026
781d405
chore: Update docker image tags and envgene_version for branch main […
Apr 15, 2026
fe2ba88
Merge remote-tracking branch 'origin/main' into feature/enhance-test-…
GeethaGadde99 Apr 16, 2026
e8dd1be
feat: Enhance Test data for Calculator CLI (#1234)
GeethaGadde99 Apr 16, 2026
ff6f47c
fix: git commit job optimization (#1238)
dysmon Apr 16, 2026
0dedd58
chore: Update docker image tags and envgene_version for branch main […
Apr 16, 2026
152eb10
fix: shared creds (#1240)
dysmon Apr 21, 2026
2951b0e
chore: Update docker image tags and envgene_version for branch main […
Apr 21, 2026
954be89
docs: add use cases for DevCI (#1241)
ismglvd-hub Apr 23, 2026
b6fc58b
fix: binary parsing (#1242)
dysmon Apr 27, 2026
79e59ad
chore: Update docker image tags and envgene_version for branch main […
Apr 27, 2026
141822c
fix: Updated the values in repo to pass grand report check (#1264)
andyroode Apr 27, 2026
790b5f0
chore: Update docker image tags and envgene_version for branch main […
Apr 27, 2026
927c57c
fix: Disable YAML anchors on excessive aliasing (#1263)
chethana-shastry-p Apr 28, 2026
50bd433
chore: Update docker image tags and envgene_version for branch main […
Apr 28, 2026
376c213
test: add tests in pipegene for custom params (#1223)
GlimmerCape Apr 28, 2026
61c9b0a
docs: Added how-to for git hooks related to CyberFerret (#1270)
andyroode Apr 29, 2026
1c7eddb
fix: unify env params (#1216)
dysmon Apr 29, 2026
a316501
chore: Update docker image tags and envgene_version for branch main […
Apr 29, 2026
6939f29
docs: Pasted the how-to about hooks to dev (#1276)
andyroode Apr 29, 2026
4bd2dc0
Merge branch 'Netcracker:main' into feature/enhance-test-data-for-cal…
GeethaGadde99 Apr 30, 2026
0cd91fe
feat: Enhance Test data for Calculator CLI
GeethaGadde99 Apr 30, 2026
56992fb
Merge branch 'feature/Enhnace-test-data-for-calculator-cli' into feat…
GeethaGadde99 Apr 30, 2026
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
4 changes: 3 additions & 1 deletion .github/actions/build-effective-set/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ inputs:
dockerfile-path:
description: 'Path to Dockerfile'
required: false
default: './build_effective_set_generator/Dockerfile'
default: './build_effective_set_generator/build/Dockerfile'
git-user:
description: 'Git username for build args'
required: false
Expand Down Expand Up @@ -52,6 +52,8 @@ runs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ inputs.version != '' && format('v{0}', inputs.version) || github.ref }}

- name: Download JAR artifact
uses: actions/download-artifact@v4
Expand Down
2 changes: 2 additions & 0 deletions .github/actions/build-envgene/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ runs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ inputs.version != '' && format('v{0}', inputs.version) || github.ref }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
Expand Down
41 changes: 12 additions & 29 deletions .github/actions/build-gsf-discovery/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,18 @@ runs:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ inputs.github-token }}
fetch-depth: 0
ref: ${{ inputs.version != '' && format('v{0}', inputs.version) || github.ref }}

- name: Update history.log
shell: bash
run: |
COOKIECUTTER_DIR="gsf_packages/envgene_discovery_project/git-system-follower-package/scripts/templates/default/{{ cookiecutter.gsf_repository_name }}"
HISTORY_FILE="gsf_packages/envgene_discovery_project/git-system-follower-package/scripts/templates/default/{{ cookiecutter.gsf_repository_name }}/history.log"

# Run Python script to update history.log
python3 ./.github/scripts/update_history.py \
"$COOKIECUTTER_DIR" \
"$HISTORY_FILE"

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
Expand All @@ -73,33 +83,6 @@ runs:
id: tags
uses: ./.github/actions/generate-docker-tags

- name: Update history.log
shell: bash
run: |
COOKIECUTTER_DIR="gsf_packages/envgene_discovery_project/git-system-follower-package/scripts/templates/default/{{ cookiecutter.gsf_repository_name }}"
HISTORY_FILE="gsf_packages/envgene_discovery_project/git-system-follower-package/scripts/templates/default/{{ cookiecutter.gsf_repository_name }}/history.log"

# Run Python script to update history.log
python3 ./.github/scripts/update_history.py \
"$COOKIECUTTER_DIR" \
"$HISTORY_FILE"

- name: Commit and push changes
shell: bash
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git remote set-url origin https://x-access-token:${{ inputs.github-token }}@github.com/${GITHUB_REPOSITORY}.git

BRANCH_NAME=${GITHUB_REF#refs/heads/}
BRANCH_NAME=${BRANCH_NAME#refs/tags/}

git add -A
if ! git diff --quiet --cached; then
git commit -m "chore: Update GSF Discovery instance package files [skip ci]"
git push origin HEAD:"${BRANCH_NAME}" || echo "Failed to push changes"
fi

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
Expand Down
47 changes: 15 additions & 32 deletions .github/actions/build-gsf-instance/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,25 +53,7 @@ runs:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ inputs.github-token }}
fetch-depth: 0

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ inputs.github-token }}

- name: Generate Docker tags
id: tags
uses: ./.github/actions/generate-docker-tags
ref: ${{ inputs.version != '' && format('v{0}', inputs.version) || github.ref }}

- name: Copy config.schema.json to git_hooks
shell: bash
Expand All @@ -91,21 +73,22 @@ runs:
"$COOKIECUTTER_DIR" \
"$HISTORY_FILE"

- name: Commit and push changes
shell: bash
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git remote set-url origin https://x-access-token:${{ inputs.github-token }}@github.com/${GITHUB_REPOSITORY}.git
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

BRANCH_NAME=${GITHUB_REF#refs/heads/}
BRANCH_NAME=${BRANCH_NAME#refs/tags/}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ inputs.github-token }}

git add -A
if ! git diff --quiet --cached; then
git commit -m "chore: Update GSF EnvGene instance package files [skip ci]"
git push origin HEAD:"${BRANCH_NAME}" || echo "Failed to push changes"
fi
- name: Generate Docker tags
id: tags
uses: ./.github/actions/generate-docker-tags

- name: Extract metadata (tags, labels) for Docker
id: meta
Expand Down
2 changes: 2 additions & 0 deletions .github/actions/build-pipegene/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ runs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ inputs.version != '' && format('v{0}', inputs.version) || github.ref }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
Expand Down
2 changes: 2 additions & 0 deletions .github/actions/build-pipeline/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ runs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ inputs.version != '' && format('v{0}', inputs.version) || github.ref }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
Expand Down
25 changes: 23 additions & 2 deletions .github/actions/run-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ runs:
cp dependencies/sources.list /etc/apt/sources.list
fi

pip install --upgrade pip setuptools wheel
pip install --upgrade pip "setuptools<82" wheel
pip install --no-cache-dir -r dependencies/tests_requirements.txt

if [ -f python/build_modules.sh ]; then
Expand All @@ -44,6 +44,11 @@ runs:
mv sops-v3.9.0.linux.amd64 /usr/local/bin/sops
chmod +x /usr/local/bin/sops

- name: Configure test environment
shell: bash
run: |
echo "PYTHONPATH=${GITHUB_WORKSPACE}" >> "${GITHUB_ENV}"

- name: ENVGENE HELPER test
shell: bash
run: |
Expand All @@ -52,6 +57,14 @@ runs:
cd ../../..
mv junit.xml junit_envgenehelper.xml

- name: PIPEGENE test
shell: bash
run: |
cd build_pipegene/scripts
pytest --capture=no -W ignore::DeprecationWarning --junitxml=../../junit.xml
cd ../..
mv junit.xml junit_pipegene.xml

- name: ARTIFACT SEARCHER test
shell: bash
run: |
Expand Down Expand Up @@ -88,10 +101,18 @@ runs:
cd ../..
mv junit.xml junit_cred_rotation.xml

- name: SBOMS RETENTION POLICY test
shell: bash
run: |
cd build_effective_set_generator/scripts
pytest --capture=no -W ignore::DeprecationWarning --junitxml=../../junit.xml
cd ../..
mv junit.xml junit_sbom_retention.xml

- name: Merge test results
shell: bash
run: |
junitparser merge junit_build_env.xml junit_envgenehelper.xml junit.xml
junitparser merge junit_*.xml junit.xml

- name: Upload test results
if: always()
Expand Down
46 changes: 9 additions & 37 deletions .github/workflows/docker_publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
fetch-depth: 0
token: ${{ steps.app-token.outputs.token || secrets.GITHUB_TOKEN }}

- name: Update Docker Image Tags in Pipeline
- name: Add the Envgene version to pipeline and GSF
run: |
# Paths to files
TARGET_FILE="github_workflows/instance-repo-pipeline/.github/workflows/Envgene.yml"
Expand All @@ -110,46 +110,18 @@ jobs:
# Update version in GSF Discovery package.yaml
sed -i "/version:/c\\version: ${NEW_TAG}" "$GSF_DISCOVERY_PACKAGE_FILE"

CHANGES_MADE=false
if ! git diff --quiet "$TARGET_FILE"; then
echo "Updated Envgene.yml with docker tags from job outputs"
CHANGES_MADE=true
fi

if ! git diff --quiet "$ENVGENE_COOKIECUTTER_JSON_FILE"; then
echo "Updated cookiecutter.json with envgene_version"
CHANGES_MADE=true
fi

if ! git diff --quiet "$GSF_INSTANCE_PACKAGE_FILE"; then
echo "Updated package.yaml with version"
CHANGES_MADE=true
fi

if ! git diff --quiet "$GSF_DISCOVERY_PACKAGE_FILE"; then
echo "Updated package.yaml with version"
CHANGES_MADE=true
fi

if [ "$CHANGES_MADE" = false ]; then
echo "No changes to commit - no images were built or tags were already up to date"
fi
git diff

git diff "$TARGET_FILE" || true
git diff "$ENVGENE_COOKIECUTTER_JSON_FILE" || true
git diff "$GSF_INSTANCE_PACKAGE_FILE" || true
git diff "$GSF_DISCOVERY_PACKAGE_FILE" || true

if [ "$CHANGES_MADE" = true ]; then
git config --global user.name "qubership-actions[bot]"
git config --global user.email "qubership-actions[bot]@users.noreply.github.com"
git add "$TARGET_FILE" "$ENVGENE_COOKIECUTTER_JSON_FILE" "$GSF_INSTANCE_PACKAGE_FILE" "$GSF_DISCOVERY_PACKAGE_FILE"
git config --global user.name "qubership-actions[bot]"
git config --global user.email "qubership-actions[bot]@users.noreply.github.com"
git add .
if ! git diff --quiet --cached; then
git commit -m "chore: Update docker image tags and envgene_version for branch ${{ github.ref_name }} [skip ci]"

git push origin HEAD:${{ github.ref_name }} || echo "Failed to push changes"
else
echo "No changes to commit - skipping git operations"
echo "No changes to commit - working tree clean"
fi

tag:
needs: [update_image_tags]
uses: netcracker/qubership-workflow-hub/.github/workflows/tag-creator.yml@v1.0.3
Expand Down Expand Up @@ -214,7 +186,7 @@ jobs:
java-version: 17
upload-artifact: true
artifact-id: effective_set_jar
ref: ${{ github.ref }}
ref: v${{ github.event.inputs.version }}
secrets:
maven-token: ${{ secrets.GITHUB_TOKEN }}

Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/link-checker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,13 @@
--max-retries 8
--accept 100..=103,200..=299,429
--cookie-jar cookies.json
--exclude-all-private
--include 'https?://.*'
--max-concurrency 4
--cache
--cache-exclude-status '429, 500..502'
--max-cache-age 1d
--include file
--include-fragments
--root-dir $GITHUB_WORKSPACE
format: markdown
fail: true
28 changes: 28 additions & 0 deletions .github/workflows/sonar-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Sonar Check

on:
workflow_dispatch: {}
push:
branches: [main]

jobs:
mvn-build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build java
uses: netcracker/qubership-workflow-hub/actions/maven-snapshot-deploy@main
with:
java-version: 17
pom-file: build_effective_set_generator/pom.xml
# Default target-store is "central"; the action then adds -Pcentral and GPG runs. Sonar only needs -Pgithub.
target-store: github
maven-command: >
--batch-mode clean verify
org.sonarsource.scanner.maven:sonar-maven-plugin:${{ vars.SONAR_PLUGIN_VERSION }}:sonar
-Dsonar.projectKey=${{ vars.SONAR_PROJECT_KEY }}
-Dsonar.organization=${{ vars.SONAR_ORGANIZATION }}
-Dsonar.host.url=${{ vars.SONAR_HOST_URL }}
maven-token: ${{ secrets.GITHUB_TOKEN }}
sonar-token: ${{ secrets.SONAR_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ __pycache__
.vscode
.DS_Store
pyrightconfig.json
junit*
27 changes: 27 additions & 0 deletions .qubership/grand-report.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"exclusions" : [ {
"t-hash" : "00000000",
"f-hash" : "519368c1daa626a147f2a8f67e9ceec568378a9b094fd3f6ecd625faa2a1d564"
}, {
"t-hash" : "823c4eb3e895adc925a755d89cea1c6c46954c999d23604e0091788b75496159",
"f-hash" : "680348e409a5a7a1ccae4a38eea6315f78eab8d683e599d12bf03bc1405b1a75"
}, {
Expand All @@ -8,5 +11,29 @@
}, {
"t-hash" : "244f28ce3685167745ad3a7f1760fd4483bbbb3fd150b9087b95442d4d6fd905",
"f-hash" : "f81b4f0ec55a8c76b2006d0d8fb8cf55ba73f8f24db12cd9e737c06e50f8010c"
}, {
"t-hash" : "f454bc9163706b52dc68c37847db48967e15b2f18a80c1d85f4387e9970cd299",
"f-hash" : "4a097b2592a091a5e9c9898fb01b957287f62d282e37abdc3f64f5397ddf7790"
}, {
"t-hash" : "f454bc9163706b52dc68c37847db48967e15b2f18a80c1d85f4387e9970cd299",
"f-hash" : "1b81a1c8c26e93bbbc06c67a3aeebffaa9fb32e4adc12ea43c546bd8ba6b0db2"
}, {
"t-hash" : "f454bc9163706b52dc68c37847db48967e15b2f18a80c1d85f4387e9970cd299",
"f-hash" : "266ceec1c40da5d4664b1fd8b680fb11ecab4bc58c28ca4b83c95c2cfc87da42"
}, {
"t-hash" : "f454bc9163706b52dc68c37847db48967e15b2f18a80c1d85f4387e9970cd299",
"f-hash" : "12358bb89894a3b900c43b8fbaf976baaecfd1151976ade3a7528cdc47728c52"
}, {
"t-hash" : "f454bc9163706b52dc68c37847db48967e15b2f18a80c1d85f4387e9970cd299",
"f-hash" : "81364271645a7f08f26b6d896bc26221e14ae46b670d66a2990bd3b805c18da3"
}, {
"t-hash" : "f454bc9163706b52dc68c37847db48967e15b2f18a80c1d85f4387e9970cd299",
"f-hash" : "633b0a67c34213aeba550c218df84e75f1839993ec7fef1c8f6c4f9d924f507f"
}, {
"t-hash" : "f454bc9163706b52dc68c37847db48967e15b2f18a80c1d85f4387e9970cd299",
"f-hash" : "490876a57b0af0ebbb422281ec7b178483e8ea4462281533b2a34abbf3725222"
}, {
"t-hash" : "f454bc9163706b52dc68c37847db48967e15b2f18a80c1d85f4387e9970cd299",
"f-hash" : "fe68378b7ff1c467cce4d2579b704fcac1b1cd7bae254f7b5225586ca59233d0"
} ]
}
Loading
Loading