Skip to content

Commit 0136473

Browse files
committed
Merge branch 'release/3.2.0'
2 parents 14a3224 + 34fbf37 commit 0136473

76 files changed

Lines changed: 1468 additions & 484 deletions

File tree

Some content is hidden

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

.editorconfig

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1109,6 +1109,7 @@ ij_hcl_spaces_within_brackets = false
11091109
ij_hcl_wrap_long_lines = false
11101110

11111111
[{*.htm,*.html,*.sht,*.shtm,*.shtml}]
1112+
max_line_length = 240
11121113
ij_html_add_new_line_before_tags = body,div,p,form,h1,h2,h3
11131114
ij_html_align_attributes = true
11141115
ij_html_align_text = false
@@ -1119,7 +1120,7 @@ ij_html_do_not_align_children_of_min_lines = 0
11191120
ij_html_do_not_break_if_inline_tags = title,h1,h2,h3,h4,h5,h6,p
11201121
ij_html_do_not_indent_children_of_tags = none
11211122
ij_html_enforce_quotes = false
1122-
ij_html_inline_tags = a,abbr,acronym,b,basefont,bdo,big,br,cite,cite,code,dfn,em,font,i,img,input,kbd,label,q,s,samp,select,small,span,strike,strong,sub,sup,textarea,tt,u,var
1123+
ij_html_inline_tags = a,abbr,acronym,b,basefont,bdo,big,br,cite,cite,code,dfn,em,font,i,img,input,kbd,label,q,s,samp,select,small,span,strike,strong,sub,sup,textarea,tt,u,var,th:block
11231124
ij_html_keep_blank_lines = 2
11241125
ij_html_keep_indents_on_empty_lines = false
11251126
ij_html_keep_line_breaks = true
@@ -1139,7 +1140,7 @@ ij_html_text_wrap = normal
11391140
[{*.http,*.rest}]
11401141
indent_size = 0
11411142
ij_continuation_indent_size = 4
1142-
ij_http request_call_parameters_wrap = normal
1143+
ij_http_request_call_parameters_wrap = normal
11431144

11441145
[{*.jsf,*.jsp,*.jspf,*.tag,*.tagf,*.xjsp}]
11451146
ij_jsp_jsp_prefer_comma_separated_import_list = false

Jenkinsfile

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

JenkinsfileSCM

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
pipeline {
2+
3+
agent {
4+
kubernetes {
5+
inheritFrom "default"
6+
yamlFile 'kubernetesPod.yaml'
7+
yamlMergeStrategy merge()
8+
}
9+
}
10+
11+
parameters {
12+
booleanParam(name: 'SkipTests', defaultValue: false)
13+
}
14+
15+
options {
16+
buildDiscarder(logRotator(numToKeepStr: '3'))
17+
}
18+
19+
stages {
20+
stage('prepare') {
21+
steps {
22+
container('docker') {
23+
sh 'docker pull openanalytics/shinyproxy-integration-test-app'
24+
}
25+
}
26+
}
27+
28+
stage('build'){
29+
steps {
30+
container('shinyproxy-build') {
31+
configFileProvider([configFile(fileId: 'maven-settings-rsb', variable: 'MAVEN_SETTINGS_RSB')]) {
32+
sh 'mvn -Dmaven.repo.local=/tmp/m2 -B -s $MAVEN_SETTINGS_RSB -U clean package -DskipTests'
33+
}
34+
}
35+
}
36+
}
37+
38+
stage('test'){
39+
when {
40+
equals expected: false, actual: params.SkipTests
41+
}
42+
43+
steps {
44+
container('shinyproxy-build') {
45+
configFileProvider([configFile(fileId: 'maven-settings-rsb', variable: 'MAVEN_SETTINGS_RSB')]) {
46+
sh 'mvn -Dmaven.repo.local=/tmp/m2 -B -s $MAVEN_SETTINGS_RSB test'
47+
}
48+
}
49+
}
50+
}
51+
52+
stage('deploy to Nexus'){
53+
steps {
54+
container('shinyproxy-build') {
55+
configFileProvider([configFile(fileId: 'maven-settings-rsb', variable: 'MAVEN_SETTINGS_RSB')]) {
56+
sh 'mvn -Dmaven.repo.local=/tmp/m2 -B -s $MAVEN_SETTINGS_RSB deploy -DskipTests'
57+
}
58+
}
59+
}
60+
}
61+
}
62+
}

LICENSE_HEADER

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
ShinyProxy
1+
${project.name}
22

3-
Copyright (C) 2016-2024 Open Analytics
3+
Copyright (C) ${project.inceptionYear}-${year} Open Analytics
44

55
===========================================================================
66

README.md

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,25 @@
1010

1111
</pre>
1212

13-
[![Build Status](https://travis-ci.org/openanalytics/shinyproxy.svg?branch=master)](https://travis-ci.org/openanalytics/shinyproxy)
14-
1513
# ShinyProxy
1614

17-
Open Source Enterprise Deployment for Shiny Apps
15+
Open Source Enterprise Deployment for Data Science Apps
16+
17+
Learn more at <https://shinyproxy.io>
18+
19+
**(c) Copyright Open Analytics NV, 2016-2025 - Apache License 2.0**
20+
21+
## Docs
1822

19-
Learn more at https://shinyproxy.io
23+
See the [website](https://shinyproxy.io) for all documentation.
2024

21-
#### (c) Copyright Open Analytics NV, 2016-2023 - Apache License 2.0
25+
## Support
26+
27+
See the [website](https://shinyproxy.io/support/) on how to get support.
28+
29+
## Announcements
30+
31+
Subscribe on the [community forum](https://support.openanalytics.eu/c/shinyproxy/shinyproxy-announcements/10) for announcements of new releases and features.
2232

2333
## Building from source
2434

@@ -33,12 +43,12 @@ The build will result in a single `.jar` file that is made available in the `tar
3343
## Running the application
3444

3545
```
36-
java -jar shinyproxy-3.0.0.jar
46+
java -jar shinyproxy-3.2.0.jar
3747
```
3848

39-
Navigate to http://localhost:8080 to access the application. If the default configuration is used, authentication will be done against the LDAP server at *ldap.forumsys.com*; to log in one can use the user name "tesla" and password "password".
40-
49+
Navigate to <http://localhost:8080> to access the application. To log in, use
50+
the username "jack" and password "password".
4151

4252
## Further information
4353

44-
https://shinyproxy.io
54+
<https://shinyproxy.io>

kubernetesPod.yaml

Lines changed: 40 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,54 @@
11
apiVersion: v1
22
kind: Pod
33
metadata:
4-
name: shinyproxy
54
labels:
65
ci: shinyproxy-build
76
spec:
7+
volumes:
8+
- name: docker-socket
9+
emptyDir: { }
10+
- name: tmp
11+
emptyDir: { }
812
containers:
9-
- name: containerproxy-build
10-
image: public.ecr.aws/docker/library/maven:3-eclipse-temurin-17-focal
13+
- name: shinyproxy-build
14+
image: public.ecr.aws/docker/library/maven:3-eclipse-temurin-21-jammy
15+
securityContext:
16+
runAsUser: 1000
17+
runAsGroup: 2375
1118
command:
1219
- cat
1320
tty: true
21+
env:
22+
- name: DOCKER_HOST
23+
value: unix:///var/run/docker/docker.sock
24+
volumeMounts:
25+
- mountPath: /var/run/docker
26+
name: docker-socket
27+
- mountPath: /tmp/
28+
name: tmp
29+
resources:
30+
requests:
31+
memory: "4Gi"
32+
cpu: "2"
33+
limits:
34+
memory: "4Gi"
35+
cpu: "2"
36+
- name: docker
37+
image: public.ecr.aws/docker/library/docker:dind
38+
securityContext:
39+
privileged: true
40+
env:
41+
- name: DOCKER_HOST
42+
value: unix:///var/run/docker/docker.sock
43+
volumeMounts:
44+
- mountPath: /var/run/docker
45+
name: docker-socket
46+
- mountPath: /tmp/
47+
name: tmp
1448
resources:
1549
requests:
16-
ephemeral-storage: "20Gi"
17-
memory: "2Gi"
18-
cpu: "1.0"
50+
memory: "4Gi"
51+
cpu: "2"
1952
limits:
2053
memory: "4Gi"
21-
cpu: "1.5"
22-
ephemeral-storage: "20Gi"
54+
cpu: "2"

0 commit comments

Comments
 (0)