Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GFU test failure #205

Merged
merged 5 commits into from
Jan 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/kb_sdk_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
if: "!contains(github.event.head_commit.message, 'skip ci')"
shell: bash
env:
KBASE_TEST_TOKEN: ${{ secrets.KBASE_TEST_TOKEN }}
KBASE_TEST_TOKEN: ${{ secrets.KBASE_CI_TOKEN }}
run: |
# Verify kb_sdk_actions clone worked
test -f "$HOME/kb_sdk_actions/bin/kb-sdk" && echo "CI files cloned"
Expand All @@ -42,10 +42,15 @@ jobs:
if: "!contains(github.event.head_commit.message, 'skip ci')"
shell: bash
env:
KBASE_TEST_TOKEN: ${{ secrets.KBASE_TEST_TOKEN }}
KBASE_TEST_TOKEN: ${{ secrets.KBASE_CI_TOKEN }}
KBASE_TEST_TOKEN2: ${{ secrets.KBASE_CI_TOKEN2 }}
run: |
# Add token to config
sed -ie "s/^test_token=.*$/&$KBASE_TEST_TOKEN/g" ./test_local/test.cfg
# Change deployment env from appdev to ci
sed -ie "s+https://appdev.kbase.us+https://ci.kbase.us+g" ./test_local/test.cfg
# Add second user credentials
echo "test_token2=$KBASE_TEST_TOKEN2" >> ./test_local/test.cfg

- name: Run tests
if: "!contains(github.event.head_commit.message, 'skip ci')"
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ The tests use data from KBase's CI environment. In `test_local/test.cfg`, set th

```
test_token={ci_dev_token}
# a second test token from a different account is required
test_token2={ci_dev_token2}
kbase_endpoint=https://ci.kbase.us/services
auth_service_url=https://ci.kbase.us/services/auth/api/legacy/KBase/Sessions/Login
```
Loading