File tree Expand file tree Collapse file tree 4 files changed +52
-3
lines changed Expand file tree Collapse file tree 4 files changed +52
-3
lines changed Original file line number Diff line number Diff line change @@ -52,13 +52,23 @@ jobs:
52
52
run : |
53
53
make copy-json-schema-to-resources
54
54
55
- # JVM artifact
55
+ # JVM artifacts
56
56
- uses : actions/setup-java@v4
57
57
with :
58
58
distribution : temurin
59
- java-version : 17
59
+ java-version : 21
60
60
- uses : gradle/actions/setup-gradle@v3
61
- - run : ./gradlew prepareForDocker -PciBuild -PgeneratedBufDependencyVersion=${{ env.BUF_DEPENDENCY_VERSION }}
61
+ - run : ./gradlew build prepareForDocker -PciBuild -PgeneratedBufDependencyVersion=${{ env.BUF_DEPENDENCY_VERSION }}
62
+ - name : Upload
63
+ env :
64
+ GITHUB_TOKEN : ${{secrets.GH_TOKEN}}
65
+ run : |
66
+ tag_name="${GITHUB_REF##*/}"
67
+ mkdir artifacts
68
+ find . -type d -name "libs" -not -path "./core/*" -not -path "./build/*" | xargs -I{} find "{}" -type f -name "*.jar" | xargs -I{} sh -c 'cp "{}" "./artifacts/$(echo {} | cut -d / -f 2).jar"'
69
+ gh release upload "$tag_name" $(find artifacts -type f -name "*.jar" -printf "%p ")
70
+
71
+ # Build container image
62
72
- name : " Generate Proto Filedescriptor"
63
73
# Normally generated in the Gradle prepareForDocker step, but the ciBuild flag disables that
64
74
run : |
Original file line number Diff line number Diff line change 45
45
* [ PostgreSQL] ( global-actions/global-transforms/processing-platform-tags/postgresql.md )
46
46
* [ Data Catalog Tags] ( global-actions/global-transforms/data-catalog-tags.md )
47
47
48
+ ## Runtimes
49
+
50
+ * [ Overview] ( runtimes/overview.md )
51
+
48
52
## Plugins
49
53
50
54
* [ Definition] ( plugins/definition.md )
Original file line number Diff line number Diff line change
1
+ # Running PACE dbt module in a container
2
+
3
+ The requirements for running PACE dbt module inside a container are:
4
+ * JVM Runtime (Java 17 or later)
5
+ * The PACE dbt module jar file (can be retrieved from the PACE releases on GitHub)
6
+
7
+ An example of what a Dockerfile could look like is shown below:
8
+
9
+ ``` Dockerfile
10
+ FROM eclipse-temurin:21-jre-jammy as jvm
11
+
12
+ FROM python:slim
13
+
14
+ RUN mkdir /app
15
+ WORKDIR /app
16
+
17
+ # Copy the JVM runtime
18
+ COPY --from=jvm /opt/java/openjdk /opt/java/openjdk
19
+
20
+ # Set the environment variables and add the JVM to the PATH
21
+ ENV JAVA_HOME=/opt/java/openjdk
22
+ ENV PATH="${JAVA_HOME}/bin:${PATH}"
23
+ ```
Original file line number Diff line number Diff line change
1
+ # Runtimes
2
+
3
+ PACE supports the following runtimes:
4
+
5
+ * Spring Boot application
6
+ A continuous running application that is connected to your Data Catalog and Processing Platform.
7
+ This is meant to be instructed through the API to perform specific actions, such as create a view
8
+ based on a Data Policy.
9
+ * Standalone dbt module
10
+ A module that includes the same core functionality that the Spring Boot application offers, but is
11
+ meant to be short-lived, within the scope of its task. It is used to extend a dbt project, in
12
+ order read the ` manifest.json ` and create Data Policies based on the models in the dbt project.
You can’t perform that action at this time.
0 commit comments