Skip to content

Commit 385bf5d

Browse files
authored
[CI] bugfix:using hf spaces image (#5478)
# Description <!-- Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change. --> After merging changes included in #5432, the SDK tests are failing since the argilla test server requires Redis and workers to work. This PR uses the hf-spaces standalone image which includes and manages all the server deps. **Type of change** <!-- Please delete options that are not relevant. Remember to title the PR according to the type of change --> - Bug fix (non-breaking change which fixes an issue) **How Has This Been Tested** <!-- Please add some reference about how your feature has been tested. --> **Checklist** <!-- Please go over the list and make sure you've taken everything into account --> - I added relevant documentation - I followed the style guidelines of this project - I did a self-review of my code - I made corresponding changes to the documentation - I confirm My changes generate no new warnings - I have added tests that prove my fix is effective or that my feature works - I have added relevant notes to the CHANGELOG.md file (See https://keepachangelog.com/)
1 parent 67aee5a commit 385bf5d

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/argilla.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,15 @@ jobs:
2121
build:
2222
services:
2323
argilla-server:
24-
image: argilladev/argilla-server:develop
24+
image: argilladev/argilla-hf-spaces:develop
2525
ports:
2626
- 6900:6900
2727
env:
2828
ARGILLA_ENABLE_TELEMETRY: 0
29-
ARGILLA_ELASTICSEARCH: http://elasticsearch:9200
3029
# Set credentials
3130
USERNAME: argilla
3231
PASSWORD: 12345678
3332
API_KEY: argilla.apikey
34-
elasticsearch:
35-
image: docker.elastic.co/elasticsearch/elasticsearch:8.8.2
36-
ports:
37-
- 9200:9200
38-
env:
39-
discovery.type: single-node
40-
xpack.security.enabled: false
4133
runs-on: ubuntu-latest
4234
defaults:
4335
run:

0 commit comments

Comments
 (0)