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
2 changes: 1 addition & 1 deletion .github/actions/setup-lta/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ runs:

- name: Restore LTA from cache
id: cache_lta
uses: actions/cache@v5.0.4
uses: actions/cache@v6.1.0
with:
path: ${{ inputs.lta-dir }}
key: ${{ steps.lta_key.outputs.key }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup-ltc/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ runs:

- name: Restore LTC from cache
id: cache_ltc
uses: actions/cache@v5.0.4
uses: actions/cache@v6.1.0
with:
path: ${{ inputs.ltc-dir }}
key: ${{ steps.ltc_key.outputs.key }}
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/setup-modelcheck/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ runs:

- name: Restore ModelCheck from cache
id: cache_modelcheck
uses: actions/cache@v5.0.4
uses: actions/cache@v6.1.0
with:
path: ./lemontree-modelcheck-cache
key: ${{ steps.modelcheck_key.outputs.key }}
Expand All @@ -30,13 +30,13 @@ runs:
New-Item -ItemType Directory -Path "./lemontree-modelcheck-cache" -Force | Out-Null

if ('${{ runner.os }}' -eq 'Linux') {
$url = "https://nexus.lieberlieber.com/repository/lemontree-pipeline-tools/LemonTree.Pipeline.Tools.ModelCheck"
$url = "https://lieberlieber.nexus/repository/lemontree-pipeline-tools/LemonTree.Pipeline.Tools.ModelCheck"
$output = "./lemontree-modelcheck-cache/LemonTree.Pipeline.Tools.ModelCheck"
Invoke-WebRequest -Uri $url -OutFile $output
Write-Output "ModelCheck tool downloaded for Linux"
}
elseif ('${{ runner.os }}' -eq 'Windows') {
$url = "https://nexus.lieberlieber.com/repository/lemontree-pipeline-tools/LemonTree.Pipeline.Tools.ModelCheck.exe"
$url = "https://lieberlieber.nexus/repository/lemontree-pipeline-tools/LemonTree.Pipeline.Tools.ModelCheck.exe"
$output = "./lemontree-modelcheck-cache/LemonTree.Pipeline.Tools.ModelCheck.exe"
Invoke-WebRequest -Uri $url -OutFile $output
Write-Output "ModelCheck tool downloaded for Windows"
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup-sqlite/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ runs:

- name: Restore SQLite from cache
id: cache_sqlite
uses: actions/cache@v5.0.4
uses: actions/cache@v6.1.0
with:
path: ${{ inputs.sqlite-tools-dir }}
key: ${{ steps.sqlite_key.outputs.key }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/AddRebaseInstructionsOnPROpen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
add_instructions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7.0.1

- name: Add rebase instructions to PR body
uses: actions/github-script@v8
uses: actions/github-script@v9.0.0
with:
script: |
const fs = require('fs');
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/PublishReviewSession.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
name: Publish review session to PR

on:
pull_request_target:
pull_request:
types:
- opened
- edited
Expand All @@ -22,7 +22,7 @@ permissions:

env:
ModelName: LemonTree.DevOps.Demo.qeax
ReviewSessionURL: https://nexus.lieberlieber.com/repository/lemontree-session
ReviewSessionURL: https://lieberlieber.nexus/repository/lemontree-session
DiffReportFilename: DiffReport.xml
GitUserName: 'LemonTree.Automation'
GitUserEmail: 'support@lieberlieber.com'
Expand All @@ -38,7 +38,7 @@ jobs:
timeout-minutes: 15

steps:
- uses: actions/checkout@v6.0.2
- uses: actions/checkout@v7.0.1
with:
lfs: true
fetch-depth: 0
Expand All @@ -63,7 +63,7 @@ jobs:

- name: Create sessionfile name
id: session_file
uses: actions/github-script@v8
uses: actions/github-script@v9.0.0
with:
result-encoding: string
script: |
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:

- name: Post new model comment to PR
if: steps.baseDownload.outputs.result == 'notFound'
uses: actions/github-script@v8
uses: actions/github-script@v9.0.0
with:
script: |
const COMMENT_MARKER = '<!-- lemontree-review -->';
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
lta-dir: ${{ env.LTA_DIR }}

- name: Publish Model Artifact
uses: actions/upload-artifact@v7.0.0
uses: actions/upload-artifact@v7.0.2
with:
name: ModelFiles
path: .\*.qeax
Expand Down Expand Up @@ -292,22 +292,22 @@ jobs:

- name: Archive Session Files
if: steps.baseDownload.outputs.result == 'downloaded'
uses: actions/upload-artifact@v7.0.0
uses: actions/upload-artifact@v7.0.2
with:
name: Review Session File
path: ${{ steps.session_file.outputs.result }}
retention-days: 2

- name: Archive DiffReport.xml
uses: actions/upload-artifact@v7.0.0
uses: actions/upload-artifact@v7.0.2
with:
name: DiffReport
path: ${{ env.DiffReportFilename }}
retention-days: 2

- name: Create PR comment
if: steps.baseDownload.outputs.result == 'downloaded'
uses: actions/github-script@v8
uses: actions/github-script@v9.0.0
with:
script: |
const COMMENT_MARKER = '<!-- lemontree-review -->';
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/RebasePRByComments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
steps:
- name: Retrieve Rull Request details
id: pr_details
uses: actions/github-script@v8
uses: actions/github-script@v9.0.0
with:
result-encoding: string
script: |
Expand All @@ -54,7 +54,7 @@ jobs:
core.setOutput('base', triggeredPR.base.ref)

- name: Delete trigger comment
uses: actions/github-script@v8
uses: actions/github-script@v9.0.0
with:
script: |
console.log('Comment ID: ' + context.payload.comment.id);
Expand All @@ -68,7 +68,7 @@ jobs:

- name: Post rebase in progress comment
id: progress_comment
uses: actions/github-script@v8
uses: actions/github-script@v9.0.0
with:
script: |
const MARKER = '<!-- rebase-run-${{ github.run_id }} -->';
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:
core.setOutput('comment_id', comment.data.id);
console.log('Created progress comment #' + comment.data.id);

- uses: actions/checkout@v6.0.2
- uses: actions/checkout@v7.0.1
with:
lfs: true
fetch-depth: 0
Expand Down Expand Up @@ -208,7 +208,7 @@ jobs:

- name: Create Finish Message in PR
if: always()
uses: actions/github-script@v8
uses: actions/github-script@v9.0.0
with:
script: |
const MARKER = '<!-- rebase-run-${{ github.run_id }} -->';
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ReviewConsistencyCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: windows-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v6.0.2
- uses: actions/checkout@v7.0.1
with:
lfs: true
fetch-depth: 0
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ReviewModelCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v6.0.2
- uses: actions/checkout@v7.0.1
with:
lfs: true
fetch-depth: 0
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:

- name: Post Model Check Results to PR
if: github.event_name == 'pull_request' && always()
uses: actions/github-script@v8
uses: actions/github-script@v9.0.0
with:
script: |
const fs = require('fs');
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/ReviewPolarionRequirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ permissions:
env:
ModelName: LemonTree.DevOps.Demo.qeax
ToolPolarionAutomationURL : https://www.lieberlieber.com/polarion/automation/latest/
ReviewSessionURL: https://nexus.lieberlieber.com/repository/lemontree-session/
ReviewSessionURL: https://lieberlieber.nexus/repository/lemontree-session/
DiffReportFilename: DiffReport.xml
PackageGuid: '{DA8C761F-6B8C-4e01-ACD0-54EF6D8272D3}' #this is the package guid of the EA Package maped via LemonTree.Connect to Polarion
GitUserName: 'LemonTree.Automation'
Expand All @@ -38,7 +38,7 @@ jobs:
runs-on: [windows-latest]
timeout-minutes: 15
steps:
- uses: actions/checkout@v6.0.2
- uses: actions/checkout@v7.0.1
with:
lfs: true
fetch-depth: 0
Expand Down Expand Up @@ -152,14 +152,14 @@ jobs:
$prNumber = if ('${{ github.event.pull_request.number }}' -eq '') { '' } else { '${{ github.event.pull_request.number }}' }
& .\scripts\ProcessSvgDiagrams.ps1 -DiffReportFilename "${{env.DiffReportFilename}}" -GitUserName "${{env.GitUserName}}" -GitUserEmail "${{env.GitUserEmail}}" -PullRequestNumber "$prNumber" -RepositoryName "${{github.repository}}"
- name: Publish DiffReport.xml
uses: actions/upload-artifact@v7.0.0
uses: actions/upload-artifact@v7.0.2
with:
name: DiffReport
path: .\*.xml
retention-days: 2

- name: Publish SessionFile
uses: actions/upload-artifact@v7.0.0
uses: actions/upload-artifact@v7.0.2
with:
name: SessionFile
path: .\*.ltsfs
Expand Down Expand Up @@ -206,7 +206,7 @@ jobs:

- name: Find and validate Pull Request
id: find-pr
uses: actions/github-script@v8
uses: actions/github-script@v9.0.0
with:
result-encoding: string
script: |
Expand Down Expand Up @@ -256,7 +256,7 @@ jobs:

- name: Post Finish message in PR
if: ${{ steps.find-pr.outputs.pr_exists == 'true' }}
uses: actions/github-script@v8
uses: actions/github-script@v9.0.0
with:
script: |
const prNumber = ${{steps.find-pr.outputs.pr_number}};
Expand Down Expand Up @@ -317,7 +317,7 @@ jobs:
Write-Output "${{steps.uploadSession.outputs.SfsFileNameLinks}}" >> $env:GITHUB_STEP_SUMMARY

- name: Publish Model Artifact
uses: actions/upload-artifact@v7.0.0
uses: actions/upload-artifact@v7.0.2
with:
name: ModelFiles
path: .\*.qeax
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/UpdatePolarionByComments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ env:
ModelName: LemonTree.DevOps.Demo.qeax
GitHubProjectRoot: https://github.com/LieberLieber/LemonTree.DevOps.Demo
ToolPolarionAutomationURL : https://www.lieberlieber.com/polarion/automation/latest/
ReviewSessionURL: https://nexus.lieberlieber.com/repository/lemontree-session/
ReviewSessionURL: https://lieberlieber.nexus/repository/lemontree-session/
DiffReportFilename: DiffReport.xml
PackageGuid: '{DA8C761F-6B8C-4e01-ACD0-54EF6D8272D3}' #this is the package guid of the EA Package maped via LemonTree.Connect to Polarion
GitUserName: 'LemonTree.Automation'
Expand All @@ -42,7 +42,7 @@ jobs:
steps:
- name: Retrieve Pull Request details
id: pr_details
uses: actions/github-script@v8
uses: actions/github-script@v9.0.0
with:
result-encoding: string
script: |
Expand All @@ -65,7 +65,7 @@ jobs:
core.setOutput('base', triggeredPR.base.ref)

- name: Delete trigger comment
uses: actions/github-script@v8
uses: actions/github-script@v9.0.0
with:
script: |
console.log('Comment ID: ' + context.payload.comment.id);
Expand All @@ -79,7 +79,7 @@ jobs:

- name: Post update in progress comment
id: progress_comment
uses: actions/github-script@v8
uses: actions/github-script@v9.0.0
with:
script: |
const MARKER = '<!-- polarion-update-run-${{ github.run_id }} -->';
Expand Down Expand Up @@ -108,7 +108,7 @@ jobs:
core.setOutput('comment_id', comment.data.id);
console.log('Created progress comment #' + comment.data.id);

- uses: actions/checkout@v6.0.2
- uses: actions/checkout@v7.0.1
with:
lfs: true
fetch-depth: 0
Expand Down Expand Up @@ -306,14 +306,14 @@ jobs:
Write-Output "checks_passed=true" >> $env:GITHUB_OUTPUT

- name: Publish DiffReport.xml
uses: actions/upload-artifact@v7.0.0
uses: actions/upload-artifact@v7.0.2
with:
name: DiffReport
path: .\*.xml
retention-days: 2

- name: Publish SessionFile
uses: actions/upload-artifact@v7.0.0
uses: actions/upload-artifact@v7.0.2
with:
name: SessionFile
path: .\*.ltsfs
Expand Down Expand Up @@ -354,15 +354,15 @@ jobs:
Write-Output "${{steps.uploadSession.outputs.SfsFileNameLinks}}" >> $env:GITHUB_STEP_SUMMARY

- name: Publish Model Artifact
uses: actions/upload-artifact@v7.0.0
uses: actions/upload-artifact@v7.0.2
with:
name: ModelFiles
path: .\*.qeax
retention-days: 1

- name: Create Finish Message in PR
if: always()
uses: actions/github-script@v8
uses: actions/github-script@v9.0.0
with:
script: |
const MARKER = '<!-- polarion-update-run-${{ github.run_id }} -->';
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/UploadArchitecture.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
runs-on: [windows-latest]
timeout-minutes: 15
steps:
- uses: actions/checkout@v6.0.2
- uses: actions/checkout@v7.0.1
with:
lfs: true
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion scripts/PCSDeploymentScripts/CopyModelToPCS.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function Get-PCSToggleTool {
if (-not (Test-Path $ToolPath)) {
Write-Host "Downloading PCS Toggle Tool..." -ForegroundColor Cyan
while (Test-Path Alias:curl) { Remove-Item Alias:curl } # Remove the alias binding from curl to Invoke-WebRequest
curl "https://nexus.lieberlieber.com/repository/lemontree-pipeline-tools/LieberLieber.Pipeline.Tools.PCS.Toggle.exe" --output "$ToolPath" -k
curl "https://lieberlieber.nexus/repository/lemontree-pipeline-tools/LieberLieber.Pipeline.Tools.PCS.Toggle.exe" --output "$ToolPath" -k
Write-Host "Download complete." -ForegroundColor Green
}
}
Expand Down
2 changes: 1 addition & 1 deletion scripts/runChecksLocal.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#rough script for testing - no checks no nothing
if (-not (Test-Path .\LemonTree.Pipeline.Tools.ModelCheck.exe)) {
Invoke-WebRequest -URI "https://nexus.lieberlieber.com/repository/lemontree-pipeline-tools/LemonTree.Pipeline.Tools.ModelCheck.exe" -OutFile ./LemonTree.Pipeline.Tools.ModelCheck.exe
Invoke-WebRequest -URI "https://lieberlieber.nexus/repository/lemontree-pipeline-tools/LemonTree.Pipeline.Tools.ModelCheck.exe" -OutFile ./LemonTree.Pipeline.Tools.ModelCheck.exe
}
& .\LemonTree.Pipeline.Tools.ModelCheck.exe --model "./LemonTree.DevOps.Demo.qeax" --out ".\output.md" --ChecksConfig ".\checks-config.json" --NoCompact
Loading