Skip to content

Commit b4f6b06

Browse files
Merge branch 'main' into ob-v0-10-5
2 parents 314b53a + 138b141 commit b4f6b06

File tree

4 files changed

+22
-11
lines changed

4 files changed

+22
-11
lines changed

.devcontainer/installMoreTools.sh

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,17 @@ sudo mv ./kind /usr/local/bin/kind
2323
sudo wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq
2424
sudo chmod +x /usr/bin/yq
2525

26+
# docker model-plugin
27+
sudo install -m 0755 -d /etc/apt/keyrings
28+
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
29+
sudo chmod a+r /etc/apt/keyrings/docker.asc
30+
echo \
31+
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
32+
$(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}") stable" | \
33+
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
34+
sudo apt-get update
35+
sudo apt-get install -y docker-model-plugin
36+
docker model list
37+
2638
cd ..
27-
rm -rf install-more-tools
39+
rm -rf install-more-tools

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout
14-
uses: actions/checkout@v4
15-
- uses: score-spec/setup-score@v2
14+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
15+
- uses: score-spec/setup-score@9ce358a6641972930fbf1c91d93185fec520f7e4 # v3.1.8
1616
with:
1717
file: score-compose
1818
version: latest
1919
token: ${{ secrets.GITHUB_TOKEN }}
20-
- uses: score-spec/setup-score@v2
20+
- uses: score-spec/setup-score@9ce358a6641972930fbf1c91d93185fec520f7e4 # v3.1.8
2121
with:
2222
file: score-k8s
2323
version: latest

samples/aks-store-demo/Makefile

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,12 @@ help:
1414
.score-compose/state.yaml:
1515
score-compose init \
1616
--no-sample \
17-
--provisioners https://raw.githubusercontent.com/score-spec/community-provisioners/refs/heads/main/service/score-compose/10-service.provisioners.yaml \
18-
--provisioners https://raw.githubusercontent.com/score-spec/community-provisioners/refs/heads/main/llm-model/score-compose/10-dmr-llm-model.provisioners.yaml
17+
--provisioners https://raw.githubusercontent.com/score-spec/community-provisioners/refs/heads/main/service/score-compose/10-service.provisioners.yaml
1918

20-
compose.yaml: order/score.yaml product/score-ai.yaml store-front/score.yaml store-admin/score.yaml makeline/score.yaml .score-compose/state.yaml Makefile
19+
compose.yaml: order/score.yaml product/score.yaml store-front/score.yaml store-admin/score.yaml makeline/score.yaml .score-compose/state.yaml Makefile
2120
score-compose generate \
2221
order/score.yaml \
23-
ai/score.yaml \
24-
product/score-ai.yaml \
22+
product/score.yaml \
2523
store-front/score.yaml \
2624
store-admin/score.yaml \
2725
makeline/score.yaml
@@ -101,4 +99,4 @@ k8s-down:
10199
kubectl delete \
102100
-f manifests.yaml \
103101
-n ${NAMESPACE}
104-
sleep 5
102+
sleep 5

samples/aks-store-demo/ai/score.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,5 @@ resources:
3333
llm-model:
3434
type: llm-model
3535
params:
36-
model: ai/smollm2:135M-Q2_K #ai/gpt-oss:latest
36+
model: ai/smollm2:135M-Q4_0
37+
#model: ai/gpt-oss:latest

0 commit comments

Comments
 (0)