Skip to content

Commit f8727bb

Browse files
Merge pull request #622 from datashield/v6.3.5-dev
Updates, including context(...) fix
2 parents bdb5476 + d206026 commit f8727bb

File tree

317 files changed

+1723
-1385
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

317 files changed

+1723
-1385
lines changed

.Rbuildignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
^R/secure.global.ranking.md$
1818
^_pkgdown\.yml$
1919
^docs$
20-
^dsBase_6.3.4.tar.gz$
21-
^dsBase_6.3.4-permissive.tar.gz$
20+
^dsBase_6.3.5.tar.gz$
21+
^dsBase_6.3.5-permissive.tar.gz$
2222
^dsDanger_6.3.4.tar.gz$
2323
^\.circleci$
2424
^\.circleci/config\.yml$

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.4
3+
Version: 6.3.5-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

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ And the development version from
2323
install.packages("remotes")
2424
remotes::install_github("datashield/dsBaseClient", "<BRANCH>")
2525

26-
# Install v6.3.4 with the following
27-
remotes::install_github("datashield/dsBaseClient", "6.3.4")
26+
# Install v6.3.5 with the following
27+
remotes::install_github("datashield/dsBaseClient", "6.3.5")
2828
```
2929

3030
For a full list of development branches, checkout https://github.com/datashield/dsBaseClient/branches
@@ -50,7 +50,7 @@ The code here is organised as:
5050

5151
[1] Burton P, Wilson R, Butters O, Ryser-Welch P, Westerberg A, Abarrategui L, Villegas-Diaz R,
5252
Avraam D, Marcon Y, Bishop T, Gaye A, Escribà Montagut X, Wheater S (2025).
53-
_dsBaseClient: 'DataSHIELD' Client Side Base Functions_. R package version 6.3.4.
53+
_dsBaseClient: 'DataSHIELD' Client Side Base Functions_. R package version 6.3.5.
5454

5555
[2] Gaye A, Marcon Y, Isaeva J, LaFlamme P, Turner A, Jones E, Minion J, Boyd A, Newby C, Nuotio
5656
M, Wilson R, Butters O, Murtagh B, Demir I, Doiron D, Giepmans L, Wallace S, Budin-Ljøsne I,

armadillo_azure-pipelines.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ schedules:
5858
- master
5959
always: true
6060
- cron: "0 2 * * *"
61-
displayName: Nightly build - v6.3.4-dev
61+
displayName: Nightly build - v6.3.5-dev
6262
branches:
6363
include:
64-
- v6.3.4-dev
64+
- v6.3.5-dev
6565
always: true
6666

6767
#########################################################################################
@@ -235,7 +235,7 @@ jobs:
235235
236236
curl -u admin:admin -X GET http://localhost:8080/packages
237237
238-
curl -u admin:admin --max-time 300 -v -H 'Content-Type: multipart/form-data' -F "file=@dsBase_6.3.4-permissive.tar.gz" -X POST http://localhost:8080/install-package
238+
curl -u admin:admin --max-time 300 -v -H 'Content-Type: multipart/form-data' -F "file=@dsBase_6.3.5-permissive.tar.gz" -X POST http://localhost:8080/install-package
239239
sleep 60
240240
241241
docker container restart dsbaseclient_armadillo_1

azure-pipelines.yml

Lines changed: 3 additions & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@
33
# Starts with a vanilla Opal docker composition, installs dsBase
44
# and dsBaseClient (as well as dependencies - including a fully functional
55
# Opal server).
6-
# Does checks and tests then saves results to testStatus repo.
76
#
87
# Inside the root directory $(Pipeline.Workspace) will be a file tree like:
98
# /dsBaseClient <- Checked out version of datashield/dsBaseClient
10-
# /testStatus <- Checked out version of datashield/testStatus
119
# /logs <- Where results of tests and lots are collated
1210
#
1311
# As of May 2020 this takes ~ 70 mins to run.
@@ -36,18 +34,6 @@ variables:
3634
_r_check_system_clock_: 0
3735

3836

39-
#########################################################################################
40-
# Need to define all the GH repos and their access tokens, see:
41-
# https://docs.microsoft.com/en-us/azure/devops/pipelines/library/service-endpoints?view=azure-devops&tabs=yaml
42-
resources:
43-
repositories:
44-
- repository: testStatusRepo
45-
type: github
46-
endpoint: datashield-testing
47-
name: datashield/testStatus
48-
ref: master
49-
50-
5137
#########################################################################################
5238
# When and under what condition to run the pipeline.
5339
schedules:
@@ -58,10 +44,10 @@ schedules:
5844
- master
5945
always: true
6046
- cron: "0 2 * * *"
61-
displayName: Nightly build - v6.3.4-dev
47+
displayName: Nightly build - v6.3.5-dev
6248
branches:
6349
include:
64-
- v6.3.4-dev
50+
- v6.3.5-dev
6551
always: true
6652

6753
#########################################################################################
@@ -82,11 +68,6 @@ jobs:
8268
- checkout: self
8369
path: 'dsBaseClient'
8470

85-
- checkout: testStatusRepo
86-
path: 'testStatus'
87-
persistCredentials: true
88-
condition: and(eq(variables['Build.Repository.Name'], 'datashield/dsBaseClient'), ne(variables['Build.Reason'], 'PullRequest'))
89-
9071

9172
#####################################################################################
9273
# The MySQL install that comes with the VM doesn't seem compatable with our set up
@@ -235,7 +216,7 @@ jobs:
235216
- bash: |
236217
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)"
237218
238-
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.4-dev'); opal.logout(opal)"
219+
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)"
239220
240221
sleep 60
241222
@@ -524,75 +505,6 @@ jobs:
524505
displayName: 'Down Opal Docker Composition'
525506
condition: succeeded()
526507
527-
#####################################################################################
528-
# Windup phase
529-
#####################################################################################
530-
531-
#####################################################################################
532-
# Output some important version numbers to file. This gets added to the testStatus
533-
# commit so it can be parsed and used on the status table.
534-
- bash: |
535-
536-
echo 'branch:'$(branchName) >> $(datetime).txt
537-
echo 'os:'$(lsb_release -ds) >> $(datetime).txt
538-
echo 'R:'$(R --version | head -n 1) >> $(datetime).txt
539-
echo 'opal:'$(opal system --opal localhost:8443 --user administrator --password "datashield_test&" --version) >> $(datetime).txt
540-
541-
workingDirectory: $(Pipeline.Workspace)/logs
542-
displayName: 'Write versions to file'
543-
condition: succeededOrFailed()
544-
545-
546-
#####################################################################################
547-
# Checkout the testStatus repo, add the results from here, push back to GH.
548-
# TODO: Automatically pull in better email/name info from somewhere.
549-
# TODO: More debug info in commit message
550-
- bash: |
551-
552-
# Git needs some config set to be able to push to a repo.
553-
git config --global user.email "you@example.com"
554-
git config --global user.name "Azure pipeline"
555-
556-
# This repo is checked out in detatched head state, so reconnect it here.
557-
git checkout master
558-
559-
# It is possible that other commits have been made to the testStatus repo since it
560-
# was checked out. i.e. other pipeline runs might have finished.
561-
git pull
562-
563-
# Make the directories if they dont already exist
564-
mkdir --parents logs/$(projectName)/$(branchName)
565-
mkdir --parents docs/$(projectName)/$(branchName)/latest
566-
567-
cp $(Pipeline.Workspace)/logs/coveragelist.csv logs/$(projectName)/$(branchName)/
568-
cp $(Pipeline.Workspace)/logs/coveragelist.csv logs/$(projectName)/$(branchName)/$(datetime).csv
569-
570-
cp $(Pipeline.Workspace)/logs/test_results.xml logs/$(projectName)/$(branchName)/
571-
cp $(Pipeline.Workspace)/logs/test_results.xml logs/$(projectName)/$(branchName)/$(datetime).xml
572-
573-
cp $(Pipeline.Workspace)/logs/$(datetime).txt logs/$(projectName)/$(branchName)/
574-
575-
# Run the script to parse the results and build the html pages.
576-
# status.py JUnit_file.xml coverage_file.csv output_file.html local_repo_path remote_repo_name branch
577-
source/status.py logs/$(projectName)/$(branchName)/$(datetime).xml logs/$(projectName)/$(branchName)/$(datetime).csv logs/$(projectName)/$(branchName)/$(datetime).txt status.html $(Pipeline.Workspace)/$(projectName) $(projectName) $(branchName)
578-
579-
cp status.html docs/$(projectName)/$(branchName)/latest/index.html
580-
git add logs/$(projectName)/$(branchName)/coveragelist.csv
581-
git add logs/$(projectName)/$(branchName)/test_results.xml
582-
git add logs/$(projectName)/$(branchName)/$(datetime).xml
583-
git add logs/$(projectName)/$(branchName)/$(datetime).csv
584-
git add logs/$(projectName)/$(branchName)/$(datetime).txt
585-
git add docs/$(projectName)/$(branchName)/latest/index.html
586-
587-
git commit -m "Azure auto test for $(projectName)/$(branchName) @ $(datetime)" -m "Debug info:\nProjectName:$(projectName)\nBranchName:$(branchName)\nDataTime:$(datetime)"
588-
git push
589-
exit 0
590-
591-
workingDirectory: $(Pipeline.Workspace)/testStatus
592-
displayName: 'Parse test results'
593-
condition: and(eq(variables['Build.Repository.Name'], 'datashield/dsBaseClient'), ne(variables['Build.Reason'], 'PullRequest'))
594-
595-
596508
#####################################################################################
597509
# Output the environment information to the console. This is useful for debugging.
598510
# Always do this, even if some of the above has failed or the job has been cacelled.

docker-compose_armadillo.yml

Lines changed: 1 addition & 1 deletion
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:latest
6+
image: datashield/armadillo_citest:5.9.4
77
environment:
88
LOGGING_CONFIG: 'classpath:logback-file.xml'
99
AUDIT_LOG_PATH: '/app/logs/audit.log'

docker-compose_opal.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ services:
2020
- MONGO_INITDB_ROOT_USERNAME=root
2121
- MONGO_INITDB_ROOT_PASSWORD=foobar
2222
rock:
23-
image: datashield/rock-omicron-karma-permissive:devel
23+
image: datashield/rock-lemon-donkey-permissive:draft
2424
environment:
2525
DEBUG: "FALSE"

opal_azure-pipelines.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ schedules:
5858
- master
5959
always: true
6060
- cron: "0 2 * * *"
61-
displayName: Nightly build - v6.3.4-dev
61+
displayName: Nightly build - v6.3.5-dev
6262
branches:
6363
include:
64-
- v6.3.4-dev
64+
- v6.3.5-dev
6565
always: true
6666

6767
#########################################################################################
@@ -235,7 +235,7 @@ jobs:
235235
- bash: |
236236
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)"
237237
238-
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.4-dev'); opal.logout(opal)"
238+
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)"
239239
240240
sleep 60
241241

0 commit comments

Comments
 (0)