Skip to content

Commit

Permalink
Remove use of METRICS_MONGO_CONNECTION, disable cimetrics (microsof…
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyashton committed May 1, 2024
1 parent 0f86d5d commit a682911
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 19 deletions.
5 changes: 3 additions & 2 deletions .azure-pipelines-templates/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ jobs:
- ${{ if eq(parameters.suffix, 'ScanBuild') }}:
- template: scan_build.yml

- ${{ if eq(parameters.suffix, 'Perf') }}:
- template: push_perf_data.yml
# Temporarily disabled, until cimetrics supports auth other than connection-string
# - ${{ if eq(parameters.suffix, 'Perf') }}:
# - template: push_perf_data.yml

- ${{ if eq(parameters.suffix, 'Release') }}:
- template: install_deb.yml
Expand Down
23 changes: 12 additions & 11 deletions .azure-pipelines-templates/matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,17 +95,18 @@ jobs:
depends_on: configure
installExtendedTestingTools: false

- ${{ if eq(parameters.perf_tests, 'run') }}:
- template: cimetrics.yml
parameters:
target: Virtual
env: ${{ parameters.env.Virtual }}
suffix: "Perf"
installExtendedTestingTools: false
depends_on:
- configure
- SGX_Perf
- Virtual_Perf
# Temporarily disabled, until cimetrics supports auth other than connection-string
# - ${{ if eq(parameters.perf_tests, 'run') }}:
# - template: cimetrics.yml
# parameters:
# target: Virtual
# env: ${{ parameters.env.Virtual }}
# suffix: "Perf"
# installExtendedTestingTools: false
# depends_on:
# - configure
# - SGX_Perf
# - Virtual_Perf

# Release
- ${{ if eq(parameters.perf_or_release, 'release') }}:
Expand Down
4 changes: 0 additions & 4 deletions .azure-pipelines-templates/metrics.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
steps:
- script: ./cimetrics_env.sh python -m cimetrics.upload_complete
env:
METRICS_MONGO_CONNECTION: $(METRICS_MONGO_CONNECTION)
workingDirectory: tests
displayName: "Mark metrics upload as complete"

- script: ./cimetrics_env.sh python -m cimetrics.plot
env:
METRICS_MONGO_CONNECTION: $(METRICS_MONGO_CONNECTION)
workingDirectory: tests
displayName: "Plot cimetrics"

Expand Down
2 changes: 0 additions & 2 deletions .azure-pipelines-templates/push_perf_data.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
steps:
- script: ./cimetrics_env.sh python upload_pico_metrics.py
env:
METRICS_MONGO_CONNECTION: $(METRICS_MONGO_CONNECTION)
workingDirectory: build
displayName: "Upload picobench metrics"

0 comments on commit a682911

Please sign in to comment.