Skip to content

Commit

Permalink
setup for troubleshooting
Browse files Browse the repository at this point in the history
  • Loading branch information
joshburt committed Feb 5, 2024
1 parent 168fb28 commit 3be6811
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ on:
- master
jobs:
build:
runs-on: ubuntu-latest
# runs-on: ubuntu-latest
# This is still pending IT response
# runs-on: self-hosted-amd64-small-privileged
runs-on: self-hosted-amd64-small-privileged
# runs-on: self-hosted-amd64-large-privileged-on-demand-storage
defaults:
run:
Expand All @@ -19,7 +19,7 @@ jobs:
fetch-depth: 0
- name: Install dependencies
# https://github.com/conda-incubator/setup-miniconda
uses: conda-incubator/setup-miniconda@3b0f2504dd76ef23b6d31f291f4913fb60ab5ff3 # v2
uses: conda-incubator/setup-miniconda@11b562958363ec5770fef326fe8ef0366f8cbf8a # v3
with:
channels: defaults
auto-activate-base: true
Expand All @@ -45,12 +45,12 @@ jobs:
run: |
anaconda-project run test:integration:slipstream
# This is still pending IT response
# - name: Run System Tests
# env:
# AE5_HOSTNAME: dev2.ae.anacondaconnect.com
# CI: True
# run: |
# anaconda-project run test:system
- name: Run System Tests
env:
AE5_HOSTNAME: dev2.ae.anacondaconnect.com
CI: True
run: |
anaconda-project run test:system
- name: Upload to anaconda.org (Dev Build)
env:
ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ on:
- '*'
jobs:
package:
runs-on: ubuntu-latest
# runs-on: ubuntu-latest
# This is still pending IT response
# runs-on: self-hosted-amd64-small-privileged
runs-on: self-hosted-amd64-small-privileged
# runs-on: self-hosted-amd64-large-privileged-on-demand-storage
defaults:
run:
Expand All @@ -21,7 +21,7 @@ jobs:
fetch-depth: 0
- name: Install dependencies
# https://github.com/conda-incubator/setup-miniconda
uses: conda-incubator/setup-miniconda@3b0f2504dd76ef23b6d31f291f4913fb60ab5ff3 # v2
uses: conda-incubator/setup-miniconda@11b562958363ec5770fef326fe8ef0366f8cbf8a # v3
with:
channels: defaults
auto-activate-base: true
Expand Down
2 changes: 1 addition & 1 deletion tests/system/ae5_tools/cli/commands/test_deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def user_session():
local_account: dict = load_account(id="1")
username: str = local_account["username"]
password: str = local_account["password"]
s = AEUserSession(hostname, username, password, persist=False)
s = AEUserSession(hostname, username, password)
yield s
s.disconnect()

Expand Down
2 changes: 1 addition & 1 deletion tests/system/ae5_tools/cli/commands/test_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def user_session():
local_account: dict = load_account(id="1")
username: str = local_account["username"]
password: str = local_account["password"]
s = AEUserSession(hostname, username, password, persist=False)
s = AEUserSession(hostname, username, password)
yield s
s.disconnect()

Expand Down
2 changes: 1 addition & 1 deletion tests/system/ae5_tools/cli/commands/test_secret_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def user_session():
local_account: dict = load_account(id="1")
username: str = local_account["username"]
password: str = local_account["password"]
s = AEUserSession(hostname, username, password, persist=False)
s = AEUserSession(hostname, username, password)
yield s
s.disconnect()

Expand Down
4 changes: 2 additions & 2 deletions tests/system/ae5_tools/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def user_session():
username: str = local_account["username"]
password: str = local_account["password"]

s = AEUserSession(hostname, username, password, persist=False)
s = AEUserSession(hostname, username, password)
for run in s.run_list():
if run["owner"] == username:
s.run_delete(run)
Expand Down Expand Up @@ -68,6 +68,6 @@ def user_session():
@pytest.fixture(scope="session")
def admin_session():
hostname, username, password = _get_vars("AE5_HOSTNAME", "AE5_ADMIN_USERNAME", "AE5_ADMIN_PASSWORD")
s = AEAdminSession(hostname, username, password, persist=False)
s = AEAdminSession(hostname, username, password)
yield s
del s
2 changes: 1 addition & 1 deletion tests/system/ae5_tools/test_api_secret_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def user_session():
local_account: dict = load_account(id="1")
username: str = local_account["username"]
password: str = local_account["password"]
s = AEUserSession(hostname, username, password, persist=False)
s = AEUserSession(hostname, username, password)
yield s
s.disconnect()

Expand Down

0 comments on commit 3be6811

Please sign in to comment.