Skip to content

Commit 8ae5076

Browse files
committed
Merge branch 'release/3.1.0'
2 parents e6f8d80 + 50fa99e commit 8ae5076

File tree

78 files changed

+6848
-3343
lines changed

Some content is hidden

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

78 files changed

+6848
-3343
lines changed

.editorconfig

Lines changed: 1325 additions & 0 deletions
Large diffs are not rendered by default.

.github/workflows/workflows.yaml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
name: Tests
22

3-
on: [push]
3+
on:
4+
push:
5+
workflow_dispatch:
46

57
jobs:
68
tests:
79
runs-on: ubuntu-latest
810
strategy:
911
matrix:
10-
java: [ 8, 11 ]
12+
java:
13+
- 17
1114

1215
steps:
1316
- uses: actions/checkout@v2
@@ -21,6 +24,10 @@ jobs:
2124
path: ~/.m2
2225
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
2326
restore-keys: ${{ runner.os }}-m2
27+
- name: Setup Docker
28+
run: sudo apt-get -qq -y install conntrack socat ; nohup socat TCP-LISTEN:2375,reuseaddr,fork UNIX-CONNECT:/var/run/docker.sock &
29+
- name: Pull Image
30+
run: docker pull openanalytics/shinyproxy-integration-test-app
2431
- name: Build with Maven
2532
run: mvn -U clean install -DskipTests
2633
- name: Run Tests
@@ -31,11 +38,14 @@ jobs:
3138

3239
steps:
3340
- uses: actions/checkout@v2
41+
- name: Set up JDK
42+
uses: actions/setup-java@v1
43+
with:
44+
java-version: 17
3445
- name: Run Dependency Check
3546
run: mvn -Powasp-dependency-check verify -DskipTests
3647
- name: Archive code coverage results
3748
uses: actions/upload-artifact@v2
3849
with:
3950
name: dependency-check-report
4051
path: target/dependency-check-report.html
41-

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
/application.yml
44
/.project
55
*.gz
6+
*.zip
7+
.vscode/
8+
.idea/
69
.project
710
.classpath
811
.settings

Jenkinsfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ pipeline {
33
agent {
44
kubernetes {
55
yamlFile 'kubernetesPod.yaml'
6-
workspaceVolume dynamicPVC(accessModes: 'ReadWriteOnce', requestsSize: '40Gi')
76
}
87
}
98

@@ -21,7 +20,7 @@ pipeline {
2120

2221
configFileProvider([configFile(fileId: 'maven-settings-rsb', variable: 'MAVEN_SETTINGS_RSB')]) {
2322

24-
sh 'mvn -B -s $MAVEN_SETTINGS_RSB -Dmaven.repo.local=/home/jenkins/agent/m2 -U clean deploy'
23+
sh 'mvn -B -s $MAVEN_SETTINGS_RSB -U clean deploy -DskipTests=true'
2524

2625
}
2726
}

LICENSE_HEADER

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ShinyProxy
22

3-
Copyright (C) 2016-2023 Open Analytics
3+
Copyright (C) 2016-2024 Open Analytics
44

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

kubernetesPod.yaml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,12 @@ metadata:
55
labels:
66
ci: shinyproxy-build
77
spec:
8-
securityContext:
9-
fsGroup: 65534
108
containers:
119
- name: containerproxy-build
12-
image: 196229073436.dkr.ecr.eu-west-1.amazonaws.com/openanalytics/containerproxy-build
13-
securityContext:
14-
privileged: true
15-
command: [ "sh" ]
16-
args: [ "/usr/src/app/docker-entrypoint.sh" ]
10+
image: public.ecr.aws/docker/library/maven:3-eclipse-temurin-17-focal
11+
command:
12+
- cat
1713
tty: true
18-
volumeMounts:
19-
- name: workspace-volume
20-
subPath: docker
21-
mountPath: /var/lib/docker
2214
resources:
2315
requests:
2416
ephemeral-storage: "20Gi"

0 commit comments

Comments
 (0)