Skip to content

Commit

Permalink
OpenSearch URL
Browse files Browse the repository at this point in the history
  • Loading branch information
metaskills committed May 16, 2024
1 parent f6fed3c commit 543cfcc
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,20 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 18
- uses: ankane/setup-opensearch@v1
with:
opensearch-version: 2
- name: Test
uses: devcontainers/[email protected]
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
OPENSEARCH_URL: http://localhost:9200
POST_IMAGES_API_KEY: ${{ secrets.POST_IMAGES_API_KEY }}
run: |
./bin/setup
./bin/test
with:
push: always
imageName: ghcr.io/metaskills/experts-cicd
cacheFrom: ghcr.io/metaskills/experts-cicd
env: |
CI
OPENAI_API_KEY
POST_IMAGES_API_KEY
runCmd: |
sleep 30
./bin/setup
./bin/test

0 comments on commit 543cfcc

Please sign in to comment.