Skip to content

Commit

Permalink
Added SD_ZIP_ARTIFACTS environment variable to cloudintegration workf…
Browse files Browse the repository at this point in the history
…lows, commented out corresponding screwdriver workflows
  • Loading branch information
glebashnik committed Aug 6, 2024
1 parent bd0113b commit f39d07f
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 57 deletions.
1 change: 1 addition & 0 deletions .github/workflows/integration-cloud-token.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@ jobs:
env:
VESPA_TEAM_API_KEY: ${{ secrets.VESPA_TEAM_API_KEY }}
CO_API_KEY: ${{ secrets.VESPA_CLOUD_SECRET_TOKEN }}
SD_ZIP_ARTIFACTS: true
run: |
pytest tests/integration/test_integration_vespa_cloud_token.py -s -v
1 change: 1 addition & 0 deletions .github/workflows/integration-cloud-vector-search.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,6 @@ jobs:
env:
VESPA_TEAM_API_KEY: ${{ secrets.VESPA_TEAM_API_KEY }}
CO_API_KEY: ${{ secrets.VESPA_CLOUD_SECRET_TOKEN }}
SD_ZIP_ARTIFACTS: true
run: |
pytest tests/integration/test_integration_vespa_cloud_vector_search.py -s -v
1 change: 1 addition & 0 deletions .github/workflows/integration-cloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ jobs:
- name: Run integration tests
env:
VESPA_TEAM_API_KEY: ${{ secrets.VESPA_TEAM_API_KEY }}
SD_ZIP_ARTIFACTS: true
run: |
pytest tests/integration/test_integration_vespa_cloud.py -s -v
114 changes: 57 additions & 57 deletions screwdriver.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,64 +109,64 @@ jobs:
fi
done
integration-cloud:
requires: [~commit]
annotations:
screwdriver.cd/timeout: 120
screwdriver.cd/cpu: HIGH
screwdriver.cd/ram: HIGH
screwdriver.cd/buildPeriodically: H 11 * * *
secrets:
- VESPA_TEAM_API_KEY
environment:
SD_ZIP_ARTIFACTS: true
steps:
- install-python: |
dnf install -y python39-pip
python3 -m pip install --upgrade pip
python3 -m pip install -e .[dev]
- run-integration-cloud: |
pytest tests/integration/test_integration_vespa_cloud.py -s -v
# integration-cloud:
# requires: [~commit]
# annotations:
# screwdriver.cd/timeout: 120
# screwdriver.cd/cpu: HIGH
# screwdriver.cd/ram: HIGH
# screwdriver.cd/buildPeriodically: H 11 * * *
# secrets:
# - VESPA_TEAM_API_KEY
# environment:
# SD_ZIP_ARTIFACTS: true
# steps:
# - install-python: |
# dnf install -y python39-pip
# python3 -m pip install --upgrade pip
# python3 -m pip install -e .[dev]
# - run-integration-cloud: |
# pytest tests/integration/test_integration_vespa_cloud.py -s -v

integration-cloud-token:
requires: [~commit]
annotations:
screwdriver.cd/timeout: 120
screwdriver.cd/cpu: HIGH
screwdriver.cd/ram: HIGH
screwdriver.cd/buildPeriodically: H 11 * * *
secrets:
- VESPA_TEAM_API_KEY
- VESPA_CLOUD_SECRET_TOKEN
environment:
SD_ZIP_ARTIFACTS: true
steps:
- install-python: |
dnf install -y python39-pip
python3 -m pip install --upgrade pip
python3 -m pip install -e .[dev]
- run-integration-cloud: |
pytest tests/integration/test_integration_vespa_cloud_token.py -s -v
# integration-cloud-token:
# requires: [~commit]
# annotations:
# screwdriver.cd/timeout: 120
# screwdriver.cd/cpu: HIGH
# screwdriver.cd/ram: HIGH
# screwdriver.cd/buildPeriodically: H 11 * * *
# secrets:
# - VESPA_TEAM_API_KEY
# - VESPA_CLOUD_SECRET_TOKEN
# environment:
# SD_ZIP_ARTIFACTS: true
# steps:
# - install-python: |
# dnf install -y python39-pip
# python3 -m pip install --upgrade pip
# python3 -m pip install -e .[dev]
# - run-integration-cloud: |
# pytest tests/integration/test_integration_vespa_cloud_token.py -s -v

integration-cloud-vector-search:
requires: [~commit]
annotations:
screwdriver.cd/timeout: 120
screwdriver.cd/cpu: HIGH
screwdriver.cd/ram: HIGH
screwdriver.cd/buildPeriodically: H 11 * * *
secrets:
- VESPA_TEAM_API_KEY
- VESPA_CLOUD_SECRET_TOKEN
environment:
SD_ZIP_ARTIFACTS: true
steps:
- install-python: |
dnf install -y python39-pip
python3 -m pip install --upgrade pip
python3 -m pip install -e .[dev]
- run-integration-cloud: |
pytest tests/integration/test_integration_vespa_cloud_vector_search.py -s -v
# integration-cloud-vector-search:
# requires: [~commit]
# annotations:
# screwdriver.cd/timeout: 120
# screwdriver.cd/cpu: HIGH
# screwdriver.cd/ram: HIGH
# screwdriver.cd/buildPeriodically: H 11 * * *
# secrets:
# - VESPA_TEAM_API_KEY
# - VESPA_CLOUD_SECRET_TOKEN
# environment:
# SD_ZIP_ARTIFACTS: true
# steps:
# - install-python: |
# dnf install -y python39-pip
# python3 -m pip install --upgrade pip
# python3 -m pip install -e .[dev]
# - run-integration-cloud: |
# pytest tests/integration/test_integration_vespa_cloud_vector_search.py -s -v

# notebooks-cloud:
# requires: [integration-cloud]
Expand All @@ -188,7 +188,7 @@ jobs:
# python3 -m pip install -e .[dev]
# python3 -m pip install -r docs/sphinx/source/requirements.txt
# python3 -m pip install -r docs/sphinx/source/notebook_requirements.txt

# - run-notebooks-cloud-related: |
# echo "PATH:"
# echo $PATH
Expand Down

0 comments on commit f39d07f

Please sign in to comment.