diff --git a/.github/actions/setup-lta/action.yml b/.github/actions/setup-lta/action.yml index ff7e4f0..5fd35dd 100644 --- a/.github/actions/setup-lta/action.yml +++ b/.github/actions/setup-lta/action.yml @@ -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 }} diff --git a/.github/actions/setup-ltc/action.yml b/.github/actions/setup-ltc/action.yml index 602c649..eb07d55 100644 --- a/.github/actions/setup-ltc/action.yml +++ b/.github/actions/setup-ltc/action.yml @@ -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 }} diff --git a/.github/actions/setup-modelcheck/action.yml b/.github/actions/setup-modelcheck/action.yml index 2deb6b6..ceee148 100644 --- a/.github/actions/setup-modelcheck/action.yml +++ b/.github/actions/setup-modelcheck/action.yml @@ -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 }} @@ -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" diff --git a/.github/actions/setup-sqlite/action.yml b/.github/actions/setup-sqlite/action.yml index 0acb0d3..8905c53 100644 --- a/.github/actions/setup-sqlite/action.yml +++ b/.github/actions/setup-sqlite/action.yml @@ -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 }} diff --git a/.github/workflows/AddRebaseInstructionsOnPROpen.yml b/.github/workflows/AddRebaseInstructionsOnPROpen.yml index 145726b..0260887 100644 --- a/.github/workflows/AddRebaseInstructionsOnPROpen.yml +++ b/.github/workflows/AddRebaseInstructionsOnPROpen.yml @@ -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'); diff --git a/.github/workflows/PublishReviewSession.yml b/.github/workflows/PublishReviewSession.yml index 95cc7f5..1eae09e 100644 --- a/.github/workflows/PublishReviewSession.yml +++ b/.github/workflows/PublishReviewSession.yml @@ -6,7 +6,7 @@ name: Publish review session to PR on: - pull_request_target: + pull_request: types: - opened - edited @@ -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' @@ -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 @@ -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: | @@ -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 = ''; @@ -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 @@ -292,14 +292,14 @@ 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 }} @@ -307,7 +307,7 @@ jobs: - 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 = ''; diff --git a/.github/workflows/RebasePRByComments.yml b/.github/workflows/RebasePRByComments.yml index 37d9204..30f4de1 100644 --- a/.github/workflows/RebasePRByComments.yml +++ b/.github/workflows/RebasePRByComments.yml @@ -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: | @@ -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); @@ -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 = ''; @@ -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 @@ -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 = ''; diff --git a/.github/workflows/ReviewConsistencyCheck.yml b/.github/workflows/ReviewConsistencyCheck.yml index c1f86f3..411330e 100644 --- a/.github/workflows/ReviewConsistencyCheck.yml +++ b/.github/workflows/ReviewConsistencyCheck.yml @@ -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 diff --git a/.github/workflows/ReviewModelCheck.yml b/.github/workflows/ReviewModelCheck.yml index b380b99..63e3473 100644 --- a/.github/workflows/ReviewModelCheck.yml +++ b/.github/workflows/ReviewModelCheck.yml @@ -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 @@ -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'); diff --git a/.github/workflows/ReviewPolarionRequirements.yml b/.github/workflows/ReviewPolarionRequirements.yml index df1da3a..d881865 100644 --- a/.github/workflows/ReviewPolarionRequirements.yml +++ b/.github/workflows/ReviewPolarionRequirements.yml @@ -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' @@ -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 @@ -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 @@ -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: | @@ -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}}; @@ -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 diff --git a/.github/workflows/UpdatePolarionByComments.yml b/.github/workflows/UpdatePolarionByComments.yml index 36d3374..0222deb 100644 --- a/.github/workflows/UpdatePolarionByComments.yml +++ b/.github/workflows/UpdatePolarionByComments.yml @@ -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' @@ -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: | @@ -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); @@ -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 = ''; @@ -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 @@ -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 @@ -354,7 +354,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 @@ -362,7 +362,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 = ''; diff --git a/.github/workflows/UploadArchitecture.yml b/.github/workflows/UploadArchitecture.yml index ab1334d..28ee30a 100644 --- a/.github/workflows/UploadArchitecture.yml +++ b/.github/workflows/UploadArchitecture.yml @@ -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 diff --git a/scripts/PCSDeploymentScripts/CopyModelToPCS.ps1 b/scripts/PCSDeploymentScripts/CopyModelToPCS.ps1 index e542332..356af25 100644 --- a/scripts/PCSDeploymentScripts/CopyModelToPCS.ps1 +++ b/scripts/PCSDeploymentScripts/CopyModelToPCS.ps1 @@ -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 } } diff --git a/scripts/runChecksLocal.ps1 b/scripts/runChecksLocal.ps1 index bbbf2ce..009fddb 100644 --- a/scripts/runChecksLocal.ps1 +++ b/scripts/runChecksLocal.ps1 @@ -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 \ No newline at end of file