Skip to content

Commit

Permalink
[CI] bugfix:using hf spaces image (#5478)
Browse files Browse the repository at this point in the history
# 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/)
  • Loading branch information
frascuchon authored Sep 11, 2024
1 parent 67aee5a commit 385bf5d
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/argilla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,15 @@ jobs:
build:
services:
argilla-server:
image: argilladev/argilla-server:develop
image: argilladev/argilla-hf-spaces:develop
ports:
- 6900:6900
env:
ARGILLA_ENABLE_TELEMETRY: 0
ARGILLA_ELASTICSEARCH: http://elasticsearch:9200
# Set credentials
USERNAME: argilla
PASSWORD: 12345678
API_KEY: argilla.apikey
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:8.8.2
ports:
- 9200:9200
env:
discovery.type: single-node
xpack.security.enabled: false
runs-on: ubuntu-latest
defaults:
run:
Expand Down

0 comments on commit 385bf5d

Please sign in to comment.