Skip to content

Commit

Permalink
Fix: [AEA-0000] - tweak auto validator upgrade (#2901)
Browse files Browse the repository at this point in the history
## Summary

- Routine Change

### Details

- only run validator upgrade once a week
- add tags to validator upgrade pull request
- remove publish code coverage in azure as its done in github actions
now to sonar cloud
  • Loading branch information
anthony-nhs authored Oct 29, 2024
1 parent 5baf05c commit 0346928
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/update_validator_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
# runs daily at 08:00
schedule:
- cron: "0 8 * * *"
- cron: "0 8 * * 3"

jobs:
update-validator:
Expand Down Expand Up @@ -39,3 +39,4 @@ jobs:
commit-message: "Update validator versions on ${{ env.BRANCH_NAME }}"
sign-commits: true
token: ${{ secrets.VALIDATOR_UPGRADE_PAT }}
labels: dependencies
6 changes: 0 additions & 6 deletions azure/azure-build-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,3 @@ extends:
mergeTestResults: true
testRunTitle: "EPS Tests"
failTaskOnFailedTests: true
- task: PublishCodeCoverageResults@1
inputs:
codeCoverageTool: "Cobertura"
summaryFileLocation: "$(Pipeline.Workspace)/s/electronic-prescription-service-api/packages/coordinator/coverage/cobertura-coverage.xml"
pathToSources: "$(Pipeline.Workspace)/s/electronic-prescription-service-api/packages/coordinator/"
condition: always()
6 changes: 0 additions & 6 deletions packages/tool/azure/azure-build-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,3 @@ extends:
testRunTitle: "EPS Tests"
failTaskOnFailedTests: true
condition: always()
- task: PublishCodeCoverageResults@1
inputs:
codeCoverageTool: "Cobertura"
summaryFileLocation: "$(Pipeline.Workspace)/s/eps-api-tool/packages/tool/site/client/coverage/cobertura-coverage.xml"
pathToSources: "$(Pipeline.Workspace)/s/eps-api-tool/packages/tool/site/client"
condition: always()

0 comments on commit 0346928

Please sign in to comment.