Skip to content

Commit 0a5af04

Browse files
authored
Merge pull request #669 from MetaCell/release/2.1.0
Release/2.1.0 back to develop
2 parents 685f83b + 96019e1 commit 0a5af04

77 files changed

Lines changed: 10143 additions & 1226 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.

.dockerignore

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,18 @@ docs
55
/infrastructure
66
/blueprint
77
test
8+
/tools/deployment-cli-tools
89
.github
910
.git
1011
.vscode
1112
/deployment
12-
skaffold.yaml
13+
skaffold.yaml
14+
*.egg-info
15+
__pycache__
16+
.hypothesis
17+
.coverage
18+
.pytest_cache
19+
/application-templates
20+
/deployment-configuration
21+
/cloud-harness
22+
.openapi-generator

.github/workflows/trivy-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ jobs:
2323
contents: read # for actions/checkout to fetch code
2424
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
2525
name: Build
26-
runs-on: "ubuntu-18.04"
26+
runs-on: "ubuntu-20.04"
2727
steps:
2828
- name: Checkout code
29-
uses: actions/checkout@v2
29+
uses: actions/checkout@v3
3030

3131
- name: Build an image from Dockerfile
3232
run: |
33-
docker build -t cloudharness-base:${{ github.sha }} . -f ./infrastructure/base-images/cloudharness-base/Dockerfile
33+
DOCKER_BUILDKIT=1 docker build -t cloudharness-base:${{ github.sha }} . -f ./infrastructure/base-images/cloudharness-base/Dockerfile
3434
3535
- name: Run Trivy vulnerability scanner
3636
uses: aquasecurity/trivy-action@2a2157eb22c08c9a1fac99263430307b8d1bc7a2

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ skaffold.yaml
1616
.overrides
1717
/deployment.yaml
1818
.hypothesis
19-
__pycache__
19+
__pycache__
20+
.env

application-templates/django-app/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ WORKDIR ${APP_DIR}
2121
RUN mkdir -p ${APP_DIR}/static/www
2222

2323
COPY backend/requirements.txt ${APP_DIR}
24-
RUN pip3 install --no-cache-dir -r requirements.txt
24+
RUN --mount=type=cache,target=/root/.cache python -m pip install --upgrade pip &&\
25+
pip3 install --no-cache-dir -r requirements.txt --prefer-binary
2526

2627
COPY backend/requirements.txt backend/setup.py ${APP_DIR}
2728
RUN python3 -m pip install -e .

application-templates/flask-server/backend/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ ENV PORT=8080
88

99
COPY requirements.txt /usr/src/app/
1010

11-
RUN pip3 install --no-cache-dir -r requirements.txt
11+
RUN --mount=type=cache,target=/root/.cache python -m pip install --upgrade pip &&\
12+
pip3 install --no-cache-dir -r requirements.txt
1213

1314
COPY . /usr/src/app
1415

applications/argo/deploy/charts/templates/controller/workflow-controller-cluster-roles.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ rules:
3535
resources:
3636
- persistentvolumeclaims
3737
verbs:
38+
- get
39+
- list
3840
- create
3941
- delete
4042
- apiGroups:

applications/common/server/requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@ swagger-ui-bundle >= 0.0.2
99
python_dateutil >= 2.6.0
1010
setuptools >= 21.0.0
1111
Flask == 1.1.2
12+
flask_sqlalchemy==2.4.4
13+
sqlalchemy<2.0.0

applications/common/server/setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"connexion>=2.0.2",
1818
"swagger-ui-bundle>=0.0.2",
1919
"python_dateutil>=2.6.0",
20-
"psycopg2"
20+
"psycopg2",
21+
"flask_sqlalchemy",
2122
]
2223

2324
setup(

applications/events/deploy/resources/broker/server.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ log.retention.hours=-1
121121
zookeeper.connect=zookeeper:2181
122122

123123
# Timeout in ms for connecting to zookeeper
124-
#zookeeper.connection.timeout.ms=6000
125-
124+
zookeeper.connection.timeout.ms=600000
125+
atlas.kafka.zookeeper.session.timeout.ms=600000
126126

127127
############################# Group Coordinator Settings #############################
128128

applications/jupyterhub/deploy/resources/hub/jupyterhub_config.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def camelCaseify(s):
271271
pvc_name_template = get_config("singleuser.storage.dynamic.pvcNameTemplate")
272272
c.KubeSpawner.pvc_name_template = pvc_name_template
273273
volume_name_template = get_config("singleuser.storage.dynamic.volumeNameTemplate")
274-
c.KubeSpawner.storage_pvc_ensure = True
274+
c.KubeSpawner.storage_pvc_ensure = False
275275
set_config_if_not_none(
276276
c.KubeSpawner, "storage_class", "singleuser.storage.dynamic.storageClass"
277277
)
@@ -524,4 +524,5 @@ def camelCaseify(s):
524524

525525
c.apps = get_config('apps')
526526
c.registry = get_config('registry')
527-
c.domain = get_config('root.domain')
527+
c.domain = get_config('root.domain')
528+
c.namespace = get_config('root.namespace')

0 commit comments

Comments
 (0)