Skip to content

Commit e168387

Browse files
Merge pull request #175 from red-hat-data-services/sync-midstream-to-downstream
2 parents 4501e6c + 8d970b9 commit e168387

31 files changed

+12987
-3655
lines changed

.cargo/config.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[source.crates-io]
2+
replace-with = "local"
3+
4+
[source.local]
5+
# This tells cargo to look for a directory named 'deps/cargo'
6+
# relative to where the build is running. This is the standard
7+
# location for hermeto/cachi2 vendored Rust crates.
8+
directory = "deps/cargo"

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Install dependencies
2424
run: |
2525
python -m pip install --upgrade pip
26-
python -m pip install -e ".[dev,remote]"
26+
python -m pip install -e ".[dev,inline,server]"
2727
2828
- name: Run tests
2929
env:

.konflux/aarch64/requirements-build.txt

Lines changed: 588 additions & 0 deletions
Large diffs are not rendered by default.

.konflux/aarch64/requirements.txt

Lines changed: 3667 additions & 0 deletions
Large diffs are not rendered by default.

.konflux/ppc64le/requirements-build.txt

Lines changed: 287 additions & 254 deletions
Large diffs are not rendered by default.

.konflux/ppc64le/requirements.txt

Lines changed: 1427 additions & 590 deletions
Large diffs are not rendered by default.

.konflux/s390x/requirements-build.txt

Lines changed: 287 additions & 254 deletions
Large diffs are not rendered by default.

.konflux/s390x/requirements.txt

Lines changed: 1427 additions & 590 deletions
Large diffs are not rendered by default.

.tekton/odh-trustyai-garak-lls-provider-dsp-pull-request.yaml

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,18 @@ metadata:
1010
pipelinesascode.tekton.dev/on-comment: "^/build-konflux"
1111
pipelinesascode.tekton.dev/on-event: "[pull_request]"
1212
pipelinesascode.tekton.dev/cancel-in-progress: "true"
13+
pipelinesascode.tekton.dev/on-label: "[build]"
14+
pipelinesascode.tekton.dev/on-target-branch: "[{{target_branch}}]"
1315
labels:
1416
appstudio.openshift.io/application: automation
1517
appstudio.openshift.io/component: pull-request-pipelines-odh-trustyai-garak-lls-provider-dsp
1618
pipelines.appstudio.openshift.io/type: build
1719
name: odh-trustyai-garak-lls-provider-dsp-on-pull-request
1820
namespace: rhoai-tenant
1921
spec:
22+
timeouts:
23+
tasks: 2h
24+
pipeline: 4h
2025
params:
2126
- name: git-url
2227
value: '{{source_url}}'
@@ -37,6 +42,8 @@ spec:
3742
value: .
3843
- name: hermetic
3944
value: true
45+
- name: prefetch-mode
46+
value: permissive
4047
- name: prefetch-input
4148
value: |
4249
[
@@ -46,25 +53,16 @@ spec:
4653
"requirements_files": ["requirements-x86_64.txt"],
4754
"requirements_build_files": ["requirements-build.txt"],
4855
"binary": {
49-
"arch": "x86_64,aarch64"
56+
"arch": "x86_64"
5057
}
5158
},
5259
{
5360
"type": "pip",
54-
"path": ".konflux/s390x",
61+
"path": ".konflux/aarch64",
5562
"requirements_files": ["requirements.txt"],
5663
"requirements_build_files": ["requirements-build.txt"],
5764
"binary": {
58-
"arch": "s390x"
59-
}
60-
},
61-
{
62-
"type": "pip",
63-
"path": ".konflux/ppc64le",
64-
"requirements_files": ["requirements.txt"],
65-
"requirements_build_files": ["requirements-build.txt"],
66-
"binary": {
67-
"arch": "ppc64le"
65+
"arch": "aarch64"
6866
}
6967
},
7068
{ "type":"cargo" },
@@ -77,9 +75,7 @@ spec:
7775
- name: build-platforms
7876
value:
7977
- linux/x86_64
80-
- linux-m2xlarge/arm64
81-
- linux/ppc64le
82-
- linux/s390x
78+
- linux-d160-m2xlarge/arm64
8379
- name: image-expires-after
8480
value: 5d
8581
- name: enable-slack-failure-notification

0 commit comments

Comments
 (0)