Skip to content

Commit 847965a

Browse files
Merge pull request #644 from StuartWheater/v6.3.5-dev
Reworking of performance profiles, plus general fixes
2 parents 5ccae10 + cb2956b commit 847965a

15 files changed

Lines changed: 67 additions & 25 deletions

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: dsBaseClient
22
Title: 'DataSHIELD' Client Side Base Functions
3-
Version: 6.3.5
3+
Version: 6.3.6.9000
44
Description: Base 'DataSHIELD' functions for the client side. 'DataSHIELD' is a software package which allows
55
you to do non-disclosive federated analysis on sensitive data. 'DataSHIELD' analytic functions have
66
been designed to only share non disclosive summary statistics, with built in automated output

armadillo_azure-pipelines.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ variables:
3434
branchName: $(Build.SourceBranchName)
3535
test_filter: '*'
3636
_r_check_system_clock_: 0
37+
PERF_PROFILE: 'azure-pipeline'
3738

3839

3940
#########################################################################################
@@ -274,6 +275,7 @@ jobs:
274275
#
275276
# "_-|arg-|smk-|datachk-|disc-|math-|expt-|expt_smk-"
276277
# testthat::test_package("$(projectName)", filter = "_-|datachk-|smk-|arg-|disc-|perf-|smk_expt-|expt-|math-", reporter = multi_rep, stop_on_failure = FALSE)
278+
277279
sudo R -q -e '
278280
library(covr);
279281
dsbase.res <- covr::package_coverage(

azure-pipelines.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ variables:
3232
branchName: $(Build.SourceBranchName)
3333
test_filter: '*'
3434
_r_check_system_clock_: 0
35+
PERF_PROFILE: 'azure-pipeline'
3536

3637

3738
#########################################################################################
@@ -214,7 +215,7 @@ jobs:
214215
# Install dsBase.
215216
# If previous steps have failed then don't run.
216217
- bash: |
217-
R -q -e "library(opalr); opal <- opal.login(username = 'administrator', password = 'datashield_test&', url = 'https://localhost:8443', opts = list(ssl_verifyhost=0, ssl_verifypeer=0)); opal.put(opal, 'system', 'conf', 'general', '_rPackage'); opal.logout(o)"
218+
R -q -e "library(opalr); opal <- opal.login(username = 'administrator', password = 'datashield_test&', url = 'https://localhost:8443', opts = list(ssl_verifyhost=0, ssl_verifypeer=0)); opal.put(opal, 'system', 'conf', 'general', '_rPackage'); opal.logout(opal)"
218219
219220
R -q -e "library(opalr); opal <- opal.login('administrator','datashield_test&', url='https://localhost:8443/', opts = list(ssl_verifyhost=0, ssl_verifypeer=0)); dsadmin.install_github_package(opal, 'dsBase', username = 'datashield', ref = 'v6.3.5-dev'); opal.logout(opal)"
220221
@@ -253,6 +254,7 @@ jobs:
253254
#
254255
# "_-|arg-|smk-|datachk-|disc-|math-|expt-|expt_smk-"
255256
# testthat::test_package("$(projectName)", filter = "_-|datachk-|smk-|arg-|disc-|perf-|smk_expt-|expt-|math-", reporter = multi_rep, stop_on_failure = FALSE)
257+
256258
sudo R -q -e '
257259
library(covr);
258260
dsbase.res <- covr::package_coverage(
@@ -342,7 +344,7 @@ jobs:
342344
# If previous steps have failed then don't run
343345
- bash: |
344346
345-
R -q -e "library(opalr); opal <- opal.login(username = 'administrator', password = 'datashield_test&', url = 'https://localhost:8443', opts = list(ssl_verifyhost=0, ssl_verifypeer=0)); opal.put(opal, 'system', 'conf', 'general', '_rPackage'); opal.logout(o)"
347+
R -q -e "library(opalr); opal <- opal.login(username = 'administrator', password = 'datashield_test&', url = 'https://localhost:8443', opts = list(ssl_verifyhost=0, ssl_verifypeer=0)); opal.put(opal, 'system', 'conf', 'general', '_rPackage'); opal.logout(opal)"
346348
347349
R -q -e "library(opalr); opal <- opal.login('administrator','datashield_test&', url='https://localhost:8443/', opts = list(ssl_verifyhost=0, ssl_verifypeer=0)); dsadmin.install_github_package(opal, 'dsDanger', username = 'datashield', ref = '6.3.4'); opal.logout(opal)"
348350

docker-compose_armadillo.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ services:
33
hostname: armadillo
44
ports:
55
- 8080:8080
6-
image: datashield/armadillo_citest:5.11.0
6+
image: datashield/armadillo_citest:5.12.2
77
environment:
88
LOGGING_CONFIG: 'classpath:logback-file.xml'
99
AUDIT_LOG_PATH: '/app/logs/audit.log'
@@ -16,7 +16,6 @@ services:
1616

1717
default:
1818
hostname: default
19-
image: datashield/rock-quebrada-lamda:latest
20-
# image: datashield/rserver-panda-lamda:devel
19+
image: datashield/rock-quebrada-lamda-permissive:latest
2120
environment:
2221
DEBUG: "FALSE"

opal_azure-pipelines.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ variables:
3434
branchName: $(Build.SourceBranchName)
3535
test_filter: '*'
3636
_r_check_system_clock_: 0
37+
PERF_PROFILE: 'azure-pipeline'
3738

3839

3940
#########################################################################################
@@ -272,6 +273,7 @@ jobs:
272273
#
273274
# "_-|arg-|smk-|datachk-|disc-|math-|expt-|expt_smk-"
274275
# testthat::test_package("$(projectName)", filter = "_-|datachk-|smk-|arg-|disc-|perf-|smk_expt-|expt-|math-", reporter = multi_rep, stop_on_failure = FALSE)
276+
275277
sudo R -q -e '
276278
library(covr);
277279
dsbase.res <- covr::package_coverage(
@@ -361,7 +363,7 @@ jobs:
361363
# If previous steps have failed then don't run
362364
- bash: |
363365
364-
R -q -e "library(opalr); opal <- opal.login(username = 'administrator', password = 'datashield_test&', url = 'https://localhost:8443', opts = list(ssl_verifyhost=0, ssl_verifypeer=0)); opal.put(opal, 'system', 'conf', 'general', '_rPackage'); opal.logout(o)"
366+
R -q -e "library(opalr); opal <- opal.login(username = 'administrator', password = 'datashield_test&', url = 'https://localhost:8443', opts = list(ssl_verifyhost=0, ssl_verifypeer=0)); opal.put(opal, 'system', 'conf', 'general', '_rPackage'); opal.logout(opal)"
365367
366368
R -q -e "library(opalr); opal <- opal.login('administrator','datashield_test&', url='https://localhost:8443/', opts = list(ssl_verifyhost=0, ssl_verifypeer=0)); dsadmin.install_github_package(opal, 'dsDanger', username = 'datashield', ref = '6.3.4'); opal.logout(opal)"
367369

tests/testthat/perf_files/armadillo_azure-pipeline.csv renamed to tests/testthat/perf_files/armadillo_azure-pipeline_perf-profile.csv

File renamed without changes.

tests/testthat/perf_files/armadillo_hp-laptop_quay.csv renamed to tests/testthat/perf_files/armadillo_hp-laptop-quay_perf-profile.csv

File renamed without changes.

tests/testthat/perf_files/default_perf_profile.csv

Lines changed: 0 additions & 14 deletions
This file was deleted.

tests/testthat/perf_files/dslite_hp-laptop_quay.csv renamed to tests/testthat/perf_files/dslite_hp-laptop-quay_perf-profile.csv

File renamed without changes.

tests/testthat/perf_files/opal_azure-pipeline.csv renamed to tests/testthat/perf_files/opal_azure-pipeline_perf-profile.csv

File renamed without changes.

0 commit comments

Comments
 (0)