Skip to content

Commit 1e3a4fe

Browse files
committed
fixes for some regenerate invocations
1 parent 4e66357 commit 1e3a4fe

File tree

4 files changed

+26
-3
lines changed

4 files changed

+26
-3
lines changed

getting-started/spark/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ If a Polaris image is not already present locally, build one with the following
3535

3636
## Run the `docker-compose` file
3737

38-
To start the `docker-compose` file, run this command from the repo's root directory:
38+
To start the `docker-compose` file with the necessary dependencies, run this command from the repo's root directory:
3939
```shell
40-
docker-compose -f getting-started/spark/docker-compose.yml up
40+
sh getting-started/spark/launch-docker.sh
4141
```
4242

4343
This will spin up 2 container services
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Licensed to the Apache Software Foundation (ASF) under one
4+
# or more contributor license agreements. See the NOTICE file
5+
# distributed with this work for additional information
6+
# regarding copyright ownership. The ASF licenses this file
7+
# to you under the Apache License, Version 2.0 (the
8+
# "License"); you may not use this file except in compliance
9+
# with the License. You may obtain a copy of the License at
10+
#
11+
# http://www.apache.org/licenses/LICENSE-2.0
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
#
20+
21+
./gradlew regeneratePythonClient
22+
docker-compose -f getting-started/spark/docker-compose.yml up

getting-started/spark/notebooks/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ ENV LANGUAGE='en_US:en'
2323

2424
COPY --chown=jovyan client /home/jovyan/client
2525
COPY --chown=jovyan regtests/requirements.txt /tmp
26-
RUN sh /tmp/templates/regenerate.sh
2726
RUN pip install -r /tmp/requirements.txt && \
2827
cd client/python && poetry lock && \
2928
python3 -m poetry install && \

regtests/run.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ function logred() {
4444
}
4545

4646
REGTEST_HOME=$(dirname $(realpath $0))
47+
48+
cd "${SCRIPT_DIR}/.." && ./gradlew regeneratePythonClient
4749
cd ${REGTEST_HOME}
4850

4951
./setup.sh

0 commit comments

Comments
 (0)