Skip to content

Commit 0d5b67a

Browse files
committed
konflux: ARM build
Signed-off-by: Haoyu Sun <[email protected]>
1 parent 92fe242 commit 0d5b67a

File tree

6 files changed

+641
-415
lines changed

6 files changed

+641
-415
lines changed

.tekton/dataverse-exporter-pull-request.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,11 @@ spec:
3030
- name: build-platforms
3131
value:
3232
- linux/x86_64
33+
- linux-mxlarge/arm64
3334
- name: build-source-image
3435
value: 'true'
3536
- name: prefetch-input
36-
value: '[{"type": "pip", "path": ".", "allow_binary": "true", "requirements_files": ["requirements.txt"]}]'
37+
value: '[{"type": "pip", "path": ".", "allow_binary": "true", "requirements_files": ["requirements.x86_64.txt", "requirements.aarch64.txt"]}]'
3738
- name: hermetic
3839
value: 'true'
3940
- name: dockerfile

.tekton/dataverse-exporter-push.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@ spec:
2727
- name: build-platforms
2828
value:
2929
- linux/x86_64
30+
- linux-mxlarge/arm64
3031
- name: build-source-image
3132
value: 'true'
3233
- name: prefetch-input
33-
value: '[{"type": "pip", "path": ".", "allow_binary": "true", "requirements_files": ["requirements.txt"]}]'
34+
value: '[{"type": "pip", "path": ".", "allow_binary": "true", "requirements_files": ["requirements.x86_64.txt", "requirements.aarch64.txt"]}]'
3435
- name: hermetic
3536
value: 'true'
3637
- name: dockerfile

Containerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ COPY pyproject.toml LICENSE README.md requirements.txt ./
2424
COPY LICENSE /licenses/
2525

2626
# Install dependencies
27-
RUN pip3.12 install --no-cache-dir -r requirements.txt
27+
RUN pip3.12 install --no-cache-dir -r requirements.$(uname -m).txt
2828

2929
LABEL vendor="Red Hat, Inc."
3030

0 commit comments

Comments
 (0)