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

QA service file update #436

Merged
merged 2 commits into from
Jan 26, 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
12 changes: 7 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ on:
push:
branches:
- dev
- main
tags:
- "v*"
pull_request:
branches:
- dev
- main

env:
HEDWIG_ENV: dev
Expand All @@ -22,10 +24,10 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Python 3.8
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install -r docs/requirements.txt
Expand All @@ -39,7 +41,7 @@ jobs:
name: sphinx-docs
path: docs/_build/html
- name: Update gh-pages
if: github.ref == 'refs/heads/dev'
if: (github.ref == 'refs/heads/dev') || (github.ref == 'refs/heads/main')
run: |
rm docs/_build/html/.buildinfo
touch docs/_build/html/.nojekyll
Expand All @@ -64,7 +66,7 @@ jobs:
contents: write
strategy:
matrix:
python-version: ["3.8"]
pyversion: ["3.8", "3.10"]
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -75,7 +77,7 @@ jobs:
java-version: '17'
- uses: actions/setup-python@v4
with:
python-version: 3.8
python-version: ${{ matrix.pyversion }}
- name: Create LFS file list
run: |
git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id
Expand Down
8 changes: 6 additions & 2 deletions helper_scripts/hedwig_listener_qa.service
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@ After=network.target
Type=simple
User=hedwig_qa
Group=hedwig_qa
ExecStart=/gs1/home/hedwig_qa/image_portal_workflows/helper_scripts/hedwig_reg_listen.sh listen
WorkingDirectory=/gs1/home/hedwig_qa
Environment="HEDWIG_ENV=qa"
Environment="REQUESTS_CA_BUNDLE=/etc/pki/tls/certs/ca-bundle.crt"
Environment="PREFECT_API_URL=https://prefect2.hedwig-workflow-api.niaidqa.net/api"
Environment="IMOD_DIR=/opt/rml/imod"
WorkingDirectory=/gs1/home/hedwig_qa/image_portal_workflows
ExecStart=/gs1/home/hedwig_qa/qa/bin/prefect worker start --pool workpool
Restart=always
RestartSec="30min"

[Install]
WantedBy=multi-user.target
Loading