@sw-tsdk/connector 3.12.0-next.4bbd03c → 3.12.0-next.4cc9c16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  # syntax=docker/dockerfile:1.2
2
- ARG BASE_COMPILE_IMAGE_NAME=quay.io/swimlane-connectors/connector-python-compile-definition-base:3.10-latest
3
- ARG RUNNER_IMAGE_NAME=quay.io/swimlane-connectors/connector-python-runner-definition-base:3.10-latest
2
+ ARG BASE_COMPILE_IMAGE_NAME=quay.io/swimlane/connector-python-compile-definition-base:3.10-latest
3
+ ARG RUNNER_IMAGE_NAME=quay.io/swimlane/connector-python-runner-definition-base:3.10-latest
4
4
  ARG RUNTIME_IMAGE=runtime-image
5
5
  ARG DEBUG=false
6
6
  FROM ${BASE_COMPILE_IMAGE_NAME} AS compile-image
@@ -12,7 +12,7 @@ RUN rm -rf /scripts
12
12
 
13
13
  # Install OS packages
14
14
  COPY requirements.txt .
15
- RUN pip install -r requirements.txt
15
+ RUN pip install --user -r requirements.txt
16
16
 
17
17
  FROM ${RUNNER_IMAGE_NAME} AS runtime-image
18
18
  ARG ASSET_KEYS
@@ -24,7 +24,9 @@ RUN if [ $(stat -c %s "/scripts/runner.txt") -ne 0 ]; then apt-get update && xa
24
24
  RUN if [ $(stat -c %s "/scripts/runner.sh") -ne 0 ]; then chmod +x /scripts/runner.sh && /scripts/runner.sh; fi
25
25
  RUN rm -rf /scripts
26
26
 
27
- COPY --from=compile-image /usr/local/lib/python3.10/site-packages /usr/local/lib/python3.10/site-packages
27
+ COPY --from=compile-image /root/.local /root/.local
28
+
29
+ ENV PATH=/root/.local/bin:$PATH
28
30
 
29
31
  COPY connector /app
30
32
  WORKDIR app/
@@ -1,6 +1,6 @@
1
1
  # syntax=docker/dockerfile:1.2
2
- ARG BASE_COMPILE_IMAGE_NAME=quay.io/swimlane-connectors/connector-python-compile-definition-base:3.11-latest
3
- ARG RUNNER_IMAGE_NAME=quay.io/swimlane-connectors/connector-python-runner-definition-base:3.11-latest
2
+ ARG BASE_COMPILE_IMAGE_NAME=quay.io/swimlane/connector-python-compile-definition-base:3.11-latest
3
+ ARG RUNNER_IMAGE_NAME=quay.io/swimlane/connector-python-runner-definition-base:3.11-latest
4
4
  ARG RUNTIME_IMAGE=runtime-image
5
5
  ARG DEBUG=false
6
6
  FROM ${BASE_COMPILE_IMAGE_NAME} AS compile-image
@@ -12,22 +12,24 @@ RUN rm -rf /scripts
12
12
 
13
13
  # Install OS packages
14
14
  COPY requirements.txt .
15
- RUN pip install -r requirements.txt
15
+ RUN pip install --user -r requirements.txt
16
16
 
17
17
  FROM ${RUNNER_IMAGE_NAME} AS runtime-image
18
18
  ARG ASSET_KEYS
19
19
  ENV ASSET_KEYS=$ASSET_KEYS
20
- RUN if [ -z "$DEBUG" ] ; then echo 'DEBUG not enabled' ; else echo 'DEBUG is enabled'; pip install debugpy ; fi
20
+ RUN if [[ -z "DEBUG" ]] ; then echo 'DEBUG not enabled' ; else echo 'DEBUG is enabled'; pip install debugpy ; fi
21
21
  COPY runner.* /scripts/
22
22
 
23
23
  RUN if [ $(stat -c %s "/scripts/runner.txt") -ne 0 ]; then apt-get update && xargs -a /scripts/runner.txt apt-get install -y --no-install-recommends; fi
24
24
  RUN if [ $(stat -c %s "/scripts/runner.sh") -ne 0 ]; then chmod +x /scripts/runner.sh && /scripts/runner.sh; fi
25
25
  RUN rm -rf /scripts
26
26
 
27
- COPY --from=compile-image /usr/local/lib/python3.11/site-packages /usr/local/lib/python3.11/site-packages
27
+ COPY --from=compile-image /root/.local /root/.local
28
+
29
+ ENV PATH=/root/.local/bin:$PATH
28
30
 
29
31
  COPY connector /app
30
- WORKDIR app/
32
+ WORKDIR /app
31
33
  ENTRYPOINT ["python", "run.py"]
32
34
 
33
35
  FROM ${RUNTIME_IMAGE} AS connector-image
@@ -1,6 +1,6 @@
1
1
  # syntax=docker/dockerfile:1.2
2
- ARG BASE_COMPILE_IMAGE_NAME=quay.io/swimlane-connectors/connector-python-compile-definition-base:3.12-latest
3
- ARG RUNNER_IMAGE_NAME=quay.io/swimlane-connectors/connector-python-runner-definition-base:3.12-latest
2
+ ARG BASE_COMPILE_IMAGE_NAME=quay.io/swimlane/connector-python-compile-definition-base:3.12-latest
3
+ ARG RUNNER_IMAGE_NAME=quay.io/swimlane/connector-python-runner-definition-base:3.12-latest
4
4
  ARG RUNTIME_IMAGE=runtime-image
5
5
  ARG DEBUG=false
6
6
  FROM ${BASE_COMPILE_IMAGE_NAME} AS compile-image
@@ -12,7 +12,7 @@ RUN rm -rf /scripts
12
12
 
13
13
  # Install OS packages
14
14
  COPY requirements.txt .
15
- RUN pip install -r requirements.txt
15
+ RUN pip install --user -r requirements.txt
16
16
 
17
17
  FROM ${RUNNER_IMAGE_NAME} AS runtime-image
18
18
  ARG ASSET_KEYS
@@ -24,7 +24,9 @@ RUN if [ $(stat -c %s "/scripts/runner.txt") -ne 0 ]; then apt-get update && xa
24
24
  RUN if [ $(stat -c %s "/scripts/runner.sh") -ne 0 ]; then chmod +x /scripts/runner.sh && /scripts/runner.sh; fi
25
25
  RUN rm -rf /scripts
26
26
 
27
- COPY --from=compile-image /usr/local/lib/python3.12/site-packages /usr/local/lib/python3.12/site-packages
27
+ COPY --from=compile-image /root/.local /root/.local
28
+
29
+ ENV PATH=/root/.local/bin:$PATH
28
30
 
29
31
  COPY connector /app
30
32
  WORKDIR app/
@@ -1,6 +1,6 @@
1
1
  # syntax=docker/dockerfile:1.2
2
- ARG BASE_COMPILE_IMAGE_NAME=quay.io/swimlane-connectors/connector-python-compile-definition-base:3.9-latest
3
- ARG RUNNER_IMAGE_NAME=quay.io/swimlane-connectors/connector-python-runner-definition-base:3.9-latest
2
+ ARG BASE_COMPILE_IMAGE_NAME=quay.io/swimlane/connector-python-compile-definition-base:3.9-latest
3
+ ARG RUNNER_IMAGE_NAME=quay.io/swimlane/connector-python-runner-definition-base:3.9-latest
4
4
  ARG RUNTIME_IMAGE=runtime-image
5
5
  ARG DEBUG=false
6
6
  FROM ${BASE_COMPILE_IMAGE_NAME} AS compile-image
@@ -12,7 +12,7 @@ RUN rm -rf /scripts
12
12
 
13
13
  # Install OS packages
14
14
  COPY requirements.txt .
15
- RUN pip install -r requirements.txt
15
+ RUN pip install --user -r requirements.txt
16
16
 
17
17
  FROM ${RUNNER_IMAGE_NAME} AS runtime-image
18
18
  ARG ASSET_KEYS
@@ -24,7 +24,9 @@ RUN if [ $(stat -c %s "/scripts/runner.txt") -ne 0 ]; then apt-get update && xa
24
24
  RUN if [ $(stat -c %s "/scripts/runner.sh") -ne 0 ]; then chmod +x /scripts/runner.sh && /scripts/runner.sh; fi
25
25
  RUN rm -rf /scripts
26
26
 
27
- COPY --from=compile-image /usr/local/lib/python3.9/site-packages /usr/local/lib/python3.9/site-packages
27
+ COPY --from=compile-image /root/.local /root/.local
28
+
29
+ ENV PATH=/root/.local/bin:$PATH
28
30
 
29
31
  COPY connector /app
30
32
  WORKDIR app/
package/package.json CHANGED
@@ -9,9 +9,9 @@
9
9
  "@oclif/core": "2.8.5",
10
10
  "@oclif/plugin-help": "5.2.9",
11
11
  "@oclif/plugin-plugins": "3.1.2",
12
- "@sw-tsdk/common": "3.12.0-next.4bbd03c",
13
- "@sw-tsdk/core": "3.12.0-next.4bbd03c",
14
- "@sw-tsdk/docker": "3.12.0-next.4bbd03c",
12
+ "@sw-tsdk/common": "3.12.0-next.4cc9c16",
13
+ "@sw-tsdk/core": "3.12.0-next.4cc9c16",
14
+ "@sw-tsdk/docker": "3.12.0-next.4cc9c16",
15
15
  "@swimlane/connector-interfaces": "1.11.0",
16
16
  "@swimlane/cosign": "1.4.1",
17
17
  "archiver": "5.3.1",
@@ -66,6 +66,6 @@
66
66
  "test": "jest --passWithNoTests"
67
67
  },
68
68
  "types": "lib/index.d.ts",
69
- "version": "3.12.0-next.4bbd03c",
70
- "gitHead": "4bbd03c11c3d4570f6af535ae4d3407bf60a031a"
69
+ "version": "3.12.0-next.4cc9c16",
70
+ "gitHead": "4cc9c1664908f0602ac73da665705c851d7c0b6f"
71
71
  }