Skip to content

Commit 67477c5

Browse files
committed
Merge branch 'release/1.1.0'
2 parents 2c71c88 + d31dbd7 commit 67477c5

File tree

337 files changed

+21791
-13674
lines changed

Some content is hidden

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

337 files changed

+21791
-13674
lines changed

.editorconfig

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

.github/workflows/workflows.yaml

Lines changed: 23 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,30 @@
11
name: Tests
22

3-
on: [push]
3+
on:
4+
push:
5+
workflow_dispatch:
6+
7+
env:
8+
ITEST_ECS_REGION: dummy-region
9+
ITEST_ECS_NAME: dummy-name
10+
ITEST_ECS_SECURITY_GROUPS: dummy-sg
11+
ITEST_ECS_SUBNETS: dummy-subnets
412

513
jobs:
614
tests:
715
runs-on: ubuntu-latest
816
strategy:
917
matrix:
1018
java:
11-
- 8
12-
- 11
19+
- 17
1320
kubernetes:
14-
- 'v1.21.6'
15-
- 'v1.22.17'
16-
- 'v1.23.17'
17-
- 'v1.24.15'
18-
- 'v1.25.11'
19-
- 'v1.26.6'
20-
- 'v1.27.3'
21+
- 'v1.24.17'
22+
- 'v1.25.16'
23+
- 'v1.26.15'
24+
- 'v1.27.13'
25+
- 'v1.28.9'
26+
- 'v1.29.4'
27+
- 'v1.30.0'
2128

2229
steps:
2330
- uses: actions/checkout@v2
@@ -34,7 +41,7 @@ jobs:
3441
- name: Setup Minikube
3542
uses: manusa/actions-setup-minikube@v2.7.2
3643
with:
37-
minikube version: 'v1.30.1'
44+
minikube version: 'v1.33.0'
3845
kubernetes version: ${{ matrix.kubernetes }}
3946
github token: ${{ secrets.GITHUB_TOKEN }}
4047
container runtime: containerd
@@ -44,17 +51,11 @@ jobs:
4451
- name: Setup Docker Swarm
4552
run: docker swarm init
4653
- name: Pull Image
47-
run: docker pull openanalytics/shinyproxy-demo:latest
54+
run: docker pull openanalytics/shinyproxy-integration-test-app
4855
- name: Run redis
4956
run: docker run -d -p 6379:6379 redis
5057
- name: Build with Maven
5158
run: mvn -B -U clean install -DskipTests
52-
- name: Copy Artifact
53-
run: cp target/containerproxy-*-exec.jar target/containerproxy-app-recovery.jar
54-
- name: debug
55-
run: |
56-
docker ps -a
57-
kubectl get pod -A
5859
- name: Run Tests
5960
run: mvn -B test
6061

@@ -63,6 +64,10 @@ jobs:
6364

6465
steps:
6566
- uses: actions/checkout@v2
67+
- name: Set up JDK
68+
uses: actions/setup-java@v1
69+
with:
70+
java-version: 17
6671
- name: Run Dependency Check
6772
run: mvn -B -Powasp-dependency-check verify -DskipTests
6873
- name: Archive code coverage results

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 install deploy -DskipTests=true'
23+
sh 'mvn -B -s $MAVEN_SETTINGS_RSB clean install 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
ContainerProxy
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: containerproxy-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)