@@ -115,25 +115,25 @@ runs:
115
115
116
116
- name : Run container
117
117
shell : bash
118
- if : ${{ contains(fromJSON('["amd64", "i386", "arm64" ]'), steps.platform.outputs.display_name) }}
118
+ if : ${{ contains(fromJSON('["amd64", "i386"]'), steps.platform.outputs.display_name) }}
119
119
run : |
120
120
docker run -d --name sanity-test-${{ steps.platform.outputs.display_name }} ${{ github.sha }}:${{ steps.platform.outputs.display_name }}
121
121
122
122
- name : Container Logs
123
- if : ${{ contains(fromJSON('["amd64", "i386", "arm64" ]'), steps.platform.outputs.display_name) }}
123
+ if : ${{ contains(fromJSON('["amd64", "i386"]'), steps.platform.outputs.display_name) }}
124
124
shell : bash
125
125
run : |
126
126
docker logs sanity-test-${{ steps.platform.outputs.display_name }}
127
127
128
128
- name : Sanity Tests
129
- if : ${{ contains(fromJSON('["amd64", "i386", "arm64" ]'), steps.platform.outputs.display_name) }}
129
+ if : ${{ contains(fromJSON('["amd64", "i386"]'), steps.platform.outputs.display_name) }}
130
130
shell : bash
131
131
run : |
132
132
docker exec sanity-test-${{ steps.platform.outputs.display_name }} redis-cli ping
133
133
docker exec sanity-test-${{ steps.platform.outputs.display_name }} redis-cli info server
134
134
135
135
- name : Verify installed modules
136
- if : ${{ contains(fromJSON('["amd64", "arm64" ]'), steps.platform.outputs.display_name) }}
136
+ if : ${{ contains(fromJSON('["amd64"]'), steps.platform.outputs.display_name) }}
137
137
shell : bash
138
138
run : |
139
139
modules=$(docker exec sanity-test-${{ steps.platform.outputs.display_name }} redis-cli module list)
@@ -153,7 +153,7 @@ runs:
153
153
fi
154
154
155
155
- name : Test RedisBloom
156
- if : ${{ contains(fromJSON('["amd64", "arm64" ]'), steps.platform.outputs.display_name) }}
156
+ if : ${{ contains(fromJSON('["amd64"]'), steps.platform.outputs.display_name) }}
157
157
shell : bash
158
158
run : |
159
159
docker exec sanity-test-${{ steps.platform.outputs.display_name }} redis-cli BF.ADD popular_keys "redis:hash"
@@ -163,7 +163,7 @@ runs:
163
163
echo "RedisBloom test passed successfully"
164
164
165
165
- name : Test RediSearch
166
- if : ${{ contains(fromJSON('["amd64", "arm64" ]'), steps.platform.outputs.display_name) }}
166
+ if : ${{ contains(fromJSON('["amd64"]'), steps.platform.outputs.display_name) }}
167
167
shell : bash
168
168
run : |
169
169
docker exec sanity-test-${{ steps.platform.outputs.display_name }} redis-cli FT.CREATE redis_commands ON HASH PREFIX 1 cmd: SCHEMA name TEXT SORTABLE description TEXT
@@ -178,7 +178,7 @@ runs:
178
178
fi
179
179
180
180
- name : Test RedisTimeSeries
181
- if : ${{ contains(fromJSON('["amd64", "arm64" ]'), steps.platform.outputs.display_name) }}
181
+ if : ${{ contains(fromJSON('["amd64"]'), steps.platform.outputs.display_name) }}
182
182
shell : bash
183
183
run : |
184
184
docker exec sanity-test-${{ steps.platform.outputs.display_name }} redis-cli TS.CREATE redis:cpu:usage RETENTION 86400
@@ -194,7 +194,7 @@ runs:
194
194
fi
195
195
196
196
- name : Test ReJSON
197
- if : ${{ contains(fromJSON('["amd64", "arm64" ]'), steps.platform.outputs.display_name) }}
197
+ if : ${{ contains(fromJSON('["amd64"]'), steps.platform.outputs.display_name) }}
198
198
shell : bash
199
199
run : |
200
200
docker exec sanity-test-${{ steps.platform.outputs.display_name }} redis-cli JSON.SET redis:config $ '{"maxmemory":"2gb","maxmemory-policy":"allkeys-lru"}'
@@ -209,7 +209,7 @@ runs:
209
209
210
210
- name : Test the entrypoint
211
211
id : test_entrypoint
212
- if : ${{ contains(fromJSON('["amd64", "i386", "arm64" ]'), steps.platform.outputs.display_name) }}
212
+ if : ${{ contains(fromJSON('["amd64", "i386"]'), steps.platform.outputs.display_name) }}
213
213
shell : bash
214
214
run : >
215
215
cd test && env
@@ -241,7 +241,7 @@ runs:
241
241
242
242
- name : Push image
243
243
uses : docker/build-push-action@v6
244
- if : ${{ inputs.publish_image == 'true' && contains(fromJSON('["amd64", "arm64" ]'), steps.platform.outputs.display_name) }}
244
+ if : ${{ inputs.publish_image == 'true' && contains(fromJSON('["amd64"]'), steps.platform.outputs.display_name) }}
245
245
with :
246
246
context : ${{ inputs.distribution }}
247
247
push : true
@@ -252,7 +252,7 @@ runs:
252
252
- name : Save image URL to artifact
253
253
shell : bash
254
254
run : |
255
- if [[ "${{ inputs.publish_image }}" == "true" && "${{ contains(fromJSON('["amd64", "arm64" ]'), steps.platform.outputs.display_name) }}" == "true" ]]; then
255
+ if [[ "${{ inputs.publish_image }}" == "true" && "${{ contains(fromJSON('["amd64"]'), steps.platform.outputs.display_name) }}" == "true" ]]; then
256
256
# Create a file with the image URL for this specific build
257
257
mkdir -p /tmp/image-urls
258
258
echo "${{ steps.format-registry-tag.outputs.tag }}" > "/tmp/image-urls/${{ inputs.distribution }}-${{ steps.platform.outputs.display_name }}.txt"
@@ -263,7 +263,7 @@ runs:
263
263
264
264
- name : Upload image URL artifact
265
265
uses : actions/upload-artifact@v4
266
- if : ${{ inputs.publish_image == 'true' && contains(fromJSON('["amd64", "arm64" ]'), steps.platform.outputs.display_name) }}
266
+ if : ${{ inputs.publish_image == 'true' && contains(fromJSON('["amd64"]'), steps.platform.outputs.display_name) }}
267
267
with :
268
268
name : image-url-${{ inputs.distribution }}-${{ steps.platform.outputs.display_name }}
269
269
path : /tmp/image-urls/${{ inputs.distribution }}-${{ steps.platform.outputs.display_name }}.txt
0 commit comments