Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4486 commits
Select commit Hold shift + click to select a range
e75f7e0
Fix: no defaults for "matrix" as batch name
arthur-flam Nov 13, 2024
5ac65a7
Avoid errors when the folder has locked down permissions
arthur-flam Nov 20, 2024
91ece19
Better error message when the folder is not writable
arthur-flam Nov 20, 2024
1f5b479
Better logs
arthur-flam Nov 26, 2024
f7fe61b
Make the batch name visible in the UX, and filterable
arthur-flam Nov 26, 2024
a5b6d09
Check for undefined
arthur-flam Nov 28, 2024
f20d8a8
Fix: batch variable
arthur-flam Nov 28, 2024
8fee131
Style improvements
arthur-flam Dec 2, 2024
b4fb092
Fix: batch
arthur-flam Dec 9, 2024
80eb7c7
Fix
arthur-flam Dec 9, 2024
91406c6
Fix: batch
arthur-flam Dec 9, 2024
6fac601
Fix
arthur-flam Dec 9, 2024
909d6c4
Better style
arthur-flam Dec 11, 2024
c191644
Better help text
arthur-flam Dec 11, 2024
6cb6553
metric.description can be shown
arthur-flam Dec 12, 2024
61df2e4
New description field
arthur-flam Dec 12, 2024
a3e0372
Fix: need to print on stderr
arthur-flam Dec 12, 2024
8881db5
fix
arthur-flam Dec 24, 2024
6f5159a
Add current time display and improve sync
arthur-flam Dec 31, 2024
2bb5648
Better sync
arthur-flam Dec 31, 2024
6452bb4
Safer
arthur-flam Dec 31, 2024
e464fde
Safer
arthur-flam Dec 31, 2024
bf4a4a3
remove unneeded code
arthur-flam Dec 31, 2024
9b2118d
Sync on pause
arthur-flam Dec 31, 2024
b0659c0
Sync on pause
arthur-flam Dec 31, 2024
daba7ce
show sync diff
arthur-flam Dec 31, 2024
eed7fa8
Avoid issues with cached videos where canplay is not triggered
arthur-flam Jan 1, 2025
540a61d
Synced cross for the diff image
arthur-flam Jan 1, 2025
2b865a8
Fixup: sync when zooming
arthur-flam Jan 1, 2025
cb7d1bb
Fix: when no ref
arthur-flam Jan 1, 2025
3ca797a
Fix: typo
arthur-flam Jan 1, 2025
948e449
Clear overlay on element exit
arthur-flam Jan 1, 2025
4de0c25
QA_TOKEN supported as ENV variable
arthur-flam Jan 14, 2025
00b382e
Fixup
arthur-flam Jan 14, 2025
323e6c1
Fix: use run_context.database not always the default
arthur-flam Jan 29, 2025
ba9b1a8
Metabase backups
arthur-flam Feb 10, 2025
8deab34
Updated dockerignore
arthur-flam Feb 10, 2025
edb6048
Add caching of slow functions app-wide with redis
arthur-flam Feb 12, 2025
e7a8e41
Fixup
arthur-flam Feb 12, 2025
3536f42
Fixup: missing spaces
arthur-flam Feb 12, 2025
0e3f773
Nicer errors
arthur-flam Feb 16, 2025
a355429
Precache users_by_name at worker init
arthur-flam Feb 16, 2025
b61ada7
Warm the cache
arthur-flam Feb 16, 2025
b1838f9
Fix: use redis actually...
arthur-flam Feb 16, 2025
3c2a78f
Fix: missing import
arthur-flam Feb 17, 2025
2efece6
Cache levenshtein dists
arthur-flam Feb 17, 2025
4bcedaf
Add packages
arthur-flam Feb 17, 2025
8a1932b
Avoid showing too many images at once
arthur-flam Feb 19, 2025
38643f4
Fix: check data is defined
arthur-flam Feb 20, 2025
f97dae6
Fix: metabase url-encodes URLs now...
arthur-flam Feb 23, 2025
efbdbde
Avoid height difference
arthur-flam Feb 24, 2025
68cc57c
Fix: exception when diff is not shown and hovering
arthur-flam Feb 24, 2025
f6c6fc9
Add key, fix minHeight. Package upgrades (react, blueprint, redux, pl…
arthur-flam Feb 24, 2025
b33cfad
Fix: upgrade changes
arthur-flam Feb 25, 2025
e5f4a04
Faster failure case
arthur-flam Feb 26, 2025
321f95e
Fix
arthur-flam Feb 27, 2025
43e6adc
postgres.conf enable logging_collector
itamar87 Mar 4, 2025
087ddbd
commit.py add missing 'import re'
itamar87 Mar 4, 2025
4afc5af
Avoid issues in prod
arthur-flam Mar 4, 2025
ebcf882
Fix
arthur-flam Mar 4, 2025
f2d10f7
Avoid connection issues (?)
arthur-flam Mar 4, 2025
806699e
[.gitlab-ci.yml] Override the global before_script since it changes L…
itamar87 Mar 4, 2025
72853dd
Copy images to the clipboard
arthur-flam Mar 10, 2025
f5a51a9
Top to avoid showing a cross...
arthur-flam Mar 10, 2025
56b7bee
Also allow copying the diff image
arthur-flam Mar 10, 2025
4cb6977
Fade controls faster
arthur-flam Mar 11, 2025
b2ae8de
Better messages
arthur-flam Mar 11, 2025
eb029f5
upgrade blueprint
arthur-flam Mar 11, 2025
041cdc7
Shorten transition
arthur-flam Mar 11, 2025
46205cd
Fix warning
arthur-flam Mar 11, 2025
afbb370
Move to blueprint/datetime2
arthur-flam Mar 11, 2025
0c41212
Avoid innacurate APIs
arthur-flam Mar 11, 2025
9c9fd72
Fix: remove prints
arthur-flam Mar 11, 2025
d502f3c
Fix: peer deps
arthur-flam Mar 11, 2025
e225d49
Fix: peer deps
arthur-flam Mar 11, 2025
e8fd23b
Fix: peer deps
arthur-flam Mar 11, 2025
68e68de
Fix: deps
arthur-flam Mar 11, 2025
3f08280
Fix: deps
arthur-flam Mar 11, 2025
5228758
UX fixes
arthur-flam Mar 12, 2025
0962104
tweaking uwsgi Load Management
itamar87 Mar 12, 2025
c26b8f6
reduce the amout of uwsgi processes from 32 to 16 (8CPUs * 2)
itamar87 Mar 12, 2025
ae4a622
revert to buffer-size=32768
itamar87 Mar 12, 2025
f5d5455
[uwsgi] reload a process if it RSS exceeds 4GB
itamar87 Mar 12, 2025
307a16a
Fix: copy diff image
arthur-flam Mar 13, 2025
e7a07c8
Fix broken diff viewer
arthur-flam Mar 13, 2025
3e53c10
fix: react18
arthur-flam Mar 13, 2025
b58f8ee
Merge branch 'tweaking-uwsgi' into 'master'
itamar87 Mar 17, 2025
1d5b7bd
Initial Commit
Mar 19, 2025
23b8df4
add logging driver
Mar 19, 2025
4db9c24
changed tag in logging driver
Mar 19, 2025
baa403f
changed host name in fluentd config
Mar 20, 2025
4081f1b
removed tag key
Mar 20, 2025
28ff6be
add logging drivers to backedn, db, redis
Mar 20, 2025
e300050
add fluentd to deploy:production in gitlab-ci
Mar 20, 2025
8fc7464
Fix: react state updates are later in v18
arthur-flam Mar 20, 2025
3a94a17
Small fixes
arthur-flam Mar 20, 2025
4030785
moved fluentd config to production.yml
Mar 20, 2025
0547807
fix typo
Mar 20, 2025
55c06f0
[proxy] add location /pgadmin4/
itamar87 Mar 25, 2025
611ccc4
[db] set log_statement = 'none'
itamar87 Mar 25, 2025
872b1d7
returned command 'up'
Mar 26, 2025
61750e7
Merge branch 'adding_monitoring' into 'master'
Mar 30, 2025
5d50df5
Add restart always to fluentd
Apr 7, 2025
9063102
Merge branch 'adding_monitoring' into 'master'
Apr 7, 2025
f8b7b59
Debounce latest_output_datetime updates
arthur-flam Apr 9, 2025
156890f
Search runs by id
arthur-flam Apr 9, 2025
279ddbe
[SIRC] Add error tracking with sentry
arthur-flam Apr 15, 2025
60bfbd7
Capture idb exceptions
arthur-flam Apr 15, 2025
8ee2eb2
Log idb issues to retry
arthur-flam Apr 15, 2025
9ecbc58
Avoid users sending more than 1k runs at once, unless they use QA_BAT…
arthur-flam Apr 16, 2025
35552c6
Move sentry integration to avoid being used when it's just a qaboard …
arthur-flam Apr 16, 2025
a03b67b
Fix: undefined var in some cases
arthur-flam Apr 17, 2025
efbf367
Fix: type
arthur-flam Apr 24, 2025
7730dd2
Add scenario for empty input_files
May 4, 2025
05a25b1
Fix CR comments
May 5, 2025
db518ab
Move check of input_files to pre idb call
May 5, 2025
37f9d2d
Compare images better
arthur-flam May 7, 2025
57f356e
Merge branch 'imagedb_bug_fix' into 'master'
arthur-flam May 8, 2025
26246bd
Store pixel-value hashes
arthur-flam May 12, 2025
2f263de
Diff value in tooltip for autoROIs
arthur-flam May 12, 2025
46f42f9
Migrate to uv
arthur-flam May 12, 2025
7b3a19e
Migrate qaboard to pyproject.yml
arthur-flam May 12, 2025
ab84440
use --locked in docker build
arthur-flam May 12, 2025
80d18d8
Workaround xml build/link issues with uwsgi
arthur-flam May 12, 2025
b9dfb1d
Fix: more permissive image hashes for corrupted images
arthur-flam May 12, 2025
8e69c19
Remove old setup.py
arthur-flam May 12, 2025
1430d3b
mention uv not poetry
arthur-flam May 13, 2025
e21cc07
Keep compat shim
arthur-flam May 13, 2025
7f32ee2
[SIRC] change cde-python url after migration to uv
May 18, 2025
c4ef283
Merge branch 'fix_cde_python_url' into 'master'
arthur-flam May 18, 2025
bd21cf6
typo in env setting
Jun 5, 2025
faf9f7a
Fix: support weird cases when being embedded in cpp and argv is empty
arthur-flam Jun 11, 2025
3e0369e
Try to fix issues caused by a click upgrade
arthur-flam Jun 11, 2025
5708545
Allow choosing the runner of each batch via a "runner" key, useful fo…
arthur-flam Jun 12, 2025
57f88ff
Avoid type errors
arthur-flam Jun 15, 2025
765412f
Support per-batch "runners" settings
arthur-flam Jun 18, 2025
2c47267
Allow CLI overrides
arthur-flam Jun 18, 2025
8e6d2ab
Fix: default type supplied
arthur-flam Jun 18, 2025
bd05084
Small tweaks
arthur-flam Jun 18, 2025
2aad017
LLM context
arthur-flam Jun 18, 2025
211c014
Better batch selection
arthur-flam Jun 18, 2025
11b4f2b
Better viz controls
arthur-flam Jun 18, 2025
51d2d0b
New floating controls
arthur-flam Jun 18, 2025
f845565
Search in integrations, fix state lost when closing menus
arthur-flam Jun 18, 2025
83f9db8
New UI for image filters, sharpen filter
arthur-flam Jun 18, 2025
1dea221
Style fix
arthur-flam Jun 19, 2025
dce500d
Implement synced dynamic options for QA-Board visualizations
arthur-flam Jun 19, 2025
d29038e
Enhance dynamic options UX with sync controls and path visibility
arthur-flam Jun 19, 2025
6ba69f4
Polish dynamic options UI: fix redundant headers and align iconography
arthur-flam Jun 19, 2025
20b44f8
Fix: CLI options handled correctly
arthur-flam Jun 22, 2025
e7342c9
Better navbar and subtle changes in floating panel
arthur-flam Jun 22, 2025
9277a03
Style tweaks
arthur-flam Jun 22, 2025
459b8fc
Minor style changes
arthur-flam Jun 22, 2025
8a3b2f0
Merge branch 'master' into migrate_to_fastapi
Jun 23, 2025
17c6035
Merge branch 'master' into migrate_to_fastapi
Jun 23, 2025
9b46d77
Filter metrics
arthur-flam Jun 26, 2025
db80c4c
Fix style
arthur-flam Jun 26, 2025
4f25376
uv python packages and
Jul 6, 2025
72356ab
update node path
Jul 6, 2025
3e6d0d7
adding uv run command
Jul 8, 2025
d898590
logging to json-file
Jul 8, 2025
701e523
update development.yml to use dynamic user - using ${USER}
Jul 9, 2025
fd37c37
Merge branch 'fix_development_env' into 'master'
Jul 9, 2025
731058e
download links
arthur-flam Jun 26, 2025
a9dee95
Fix: copy ref
arthur-flam Jul 17, 2025
128be88
Fix: ROI dimension calculation
arthur-flam Aug 5, 2025
9236c37
Fix: dev environment
arthur-flam Aug 17, 2025
0a05a1b
Clearer label
arthur-flam Aug 20, 2025
5e6738c
Copy-paste transforms CDE config values into the expected tuning format
arthur-flam Aug 24, 2025
9017688
Fix: Pass props
arthur-flam Aug 24, 2025
dd41a28
Fixup: for dev not prod
arthur-flam Aug 24, 2025
6641571
better behaviour on keyboard interactions
arthur-flam Aug 24, 2025
92c9c62
Better copy behaviour
arthur-flam Aug 25, 2025
9cf2c05
Save ImageDB backlog only for valid QA runs
Aug 28, 2025
691afe2
Fix: missing import
arthur-flam Aug 31, 2025
f2c7551
Use the Debian Archive since Buster is EOL
itamar87 Sep 4, 2025
72106b7
ignore ssh-agent files
itamar87 Sep 4, 2025
d6eb90e
[SIRC] add the user itamarp to passwd file
itamar87 Sep 4, 2025
6eed600
api_ci_commit: replace joinedload with selectinload to reduce memory …
itamar87 Sep 7, 2025
8ecb970
Revert "Save ImageDB backlog only for valid QA runs"
Sep 8, 2025
f41c68c
Handle non-existing files or size 0
Sep 8, 2025
b3a38bb
Remove deprecated and useless mix_stderr
arthur-flam Sep 8, 2025
04d3ab9
Merge branch 'idb_backlog' into 'master'
arthur-flam Sep 8, 2025
0d8ea24
api_ci_commit: Handle missing commit in database
itamar87 Sep 8, 2025
52bfc6a
Merge branch 'RDI-1230-commit-api-fix-orm-memory-allocations' into 'm…
itamar87 Sep 9, 2025
6cd86e8
Update file pyproject.toml
arthur-flam Sep 11, 2025
9be244e
Fail when batch have the wrong type in batches.yaml files
arthur-flam Sep 25, 2025
47a9401
Fixup: indent
arthur-flam Sep 25, 2025
bac7f8a
--batch/-b not required. in qa batch. Smarter handling of forwarded a…
arthur-flam Sep 25, 2025
b670ed2
Filter batches with QA_BATCH_FILTER_INPUT_REGEX as ENV variable (back…
arthur-flam Sep 25, 2025
370148f
fixup: --batch behaviour change
arthur-flam Sep 25, 2025
fd81d4e
Fix: Edit the right pyproject.toml
arthur-flam Sep 29, 2025
2c66e67
Merge branch 'fix-libxml-compat-issues' into 'master'
arthur-flam Sep 29, 2025
ea29941
Fix: installed by mistake qaboard whne it was important not to instal…
arthur-flam Sep 29, 2025
0fa7d13
Workaround for libxml mismatch issues
arthur-flam Sep 30, 2025
f08e029
Upgrade to debian trixie, python3.13. Should help fix xml conflicts a…
arthur-flam Oct 5, 2025
50c1d29
allow_interspersed_args=False to catch --
arthur-flam Oct 9, 2025
277773d
Remove possible start-of-line restrictions on the regex, just start a…
arthur-flam Oct 12, 2025
b4622a3
Fix: handling for forwarded_args
arthur-flam Oct 12, 2025
d5add75
Better support for -- in run/postprocess
arthur-flam Oct 12, 2025
f0bae6a
ACLs prevent network path from being used as keys with the builtin ssh
arthur-flam Oct 16, 2025
0a35c43
CTRL-S to save
arthur-flam Oct 22, 2025
411c7e3
Track perf for transchip domains
arthur-flam Oct 26, 2025
0f1a07a
Fix: quoting
arthur-flam Nov 5, 2025
61334b8
Possible Error:
arthur-flam Jan 5, 2026
9c83f55
refactor: add site_config() entry point discovery mechanism
arthur-flam Mar 1, 2026
1c2f903
feat: add qaboard-site-sirc and qaboard-site-dsk CLI packages
arthur-flam Mar 1, 2026
d9315a8
feat: add /api/v1/config endpoint for frontend runtime config
arthur-flam Mar 1, 2026
e2d0a09
refactor: make API URL and port fully ENV-driven in api.py
arthur-flam Mar 1, 2026
4c26617
refactor: remove on_vdi/on_lsf host detection hacks
arthur-flam Mar 1, 2026
fe8ddf7
refactor: make secrets path fallback ENV-driven
arthur-flam Mar 1, 2026
c2e19d4
refactor: make tuning dispatch pluggable via QABOARD_TUNING_RUNNER
arthur-flam Mar 1, 2026
f3e341d
refactor: extract site-specific nginx config to overlay files
arthur-flam Mar 1, 2026
995880f
feat: add deployments/sirc.yml compose overlay
arthur-flam Mar 1, 2026
ed450f5
feat: add deployments/dsk.yml compose overlay
arthur-flam Mar 1, 2026
12491b3
refactor: clean base docker-compose.yml to open-source defaults
arthur-flam Mar 1, 2026
8574569
docs: add MIGRATION.md with breaking changes
arthur-flam Mar 1, 2026
8dc3b6e
docs: update README with unified deployment instructions
arthur-flam Mar 1, 2026
bd7c238
refactor: frontend fetches /api/v1/config on init
arthur-flam Mar 1, 2026
46933b5
refactor: image viewer routes to IIIF server based on site config
arthur-flam Mar 1, 2026
eac1ad9
refactor: move SIRC-internal cde dependency to qaboard[sirc] extra
arthur-flam Mar 1, 2026
de98f35
fix: quote JSON values in compose overlay YAML
arthur-flam Mar 1, 2026
83c8ee2
docs: update server and installation docs for unified deployment
arthur-flam Mar 1, 2026
3c1fb92
security: move SIRC secrets to .env, remove from compose overlay
chloe-flam Mar 1, 2026
6dfa7ae
ci: update deprecated GitHub Actions to v4
chloe-flam Mar 1, 2026
74427f6
ci: fix GitHub Actions CI by updating deprecated actions and tools
arthur-flam Mar 1, 2026
dc7242f
build: parameterize Dockerfiles for multi-site builds
arthur-flam Mar 1, 2026
f337e33
docs: update MIGRATION.md with Dockerfile build arg instructions
arthur-flam Mar 1, 2026
a67ccb8
Fix site python install path and API config
arthur-flam Mar 2, 2026
ffbe799
dont reset the proxy since we make outbound calls
arthur-flam Mar 2, 2026
c6407f9
tweaks
arthur-flam Mar 2, 2026
1c3fa4a
Make compat.py path mappings site-configurable
arthur-flam Mar 2, 2026
6f031c8
Update
arthur-flam Mar 2, 2026
552f8cc
Moved to site yamls
arthur-flam Mar 3, 2026
0fd5049
Restore/move fluentd
arthur-flam Mar 3, 2026
b7051d6
Dont require an ssh agent via syntax errors
arthur-flam Mar 3, 2026
c9cdff0
Move deployment settings around
arthur-flam Mar 3, 2026
be203eb
Fix uv build: move relative file: paths to [tool.uv.sources]
claude Mar 3, 2026
da369f1
Add pillow to backend dependencies
claude Mar 3, 2026
7867df0
uv/pip tweaks for site configs. Not fun.
arthur-flam Mar 4, 2026
abc6062
Fix sidebar visualization state bugs: reset on navigation, preserve u…
arthur-flam Mar 6, 2026
c33179f
Add GitHub support alongside GitLab for webhooks, cloning, and avatars
arthur-flam Mar 6, 2026
ca775c4
Less fragile for new gitlab versions
arthur-flam Mar 8, 2026
c3fe369
Tweaks - nothing easy
arthur-flam Mar 8, 2026
d1e731e
More tweaks to improve builds for oss/sirc/dsk
arthur-flam Mar 9, 2026
ddf8dd2
add missing package for flower
arthur-flam Mar 9, 2026
1435de1
tweak
arthur-flam Mar 9, 2026
cef9ec6
Fix stale integration URLs (404s) and cleanup integrations.js
claude Apr 15, 2026
f73d711
Probe integration status for nested sub-menu items too
claude Apr 15, 2026
1d35b5d
Disambiguate integration status keys with parent path
claude Apr 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
15 changes: 14 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,18 +1,31 @@
services/
!/services/GlobalSign.crt

build/
dist/
.cache/

data*
data/
*.sock
*.egg-info/,
*.egg-info/
*/__pycache__/
.git/
*/node_modules/
*/.npm/
*/build/

.dockerignore
Dockerfile
*.yml

__pycache__
*.pyc
*.pyo
*.pyd
.cache
*.log
.git

*/.venv
*/.cache
14 changes: 0 additions & 14 deletions .envrc

This file was deleted.

32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. Linux]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
91 changes: 91 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
---
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions
# https://help.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions
# https://help.github.com/en/actions/configuring-and-managing-workflows/authenticating-with-the-github_token
# https://hynek.me/articles/python-github-actions/
# https://medium.com/swlh/fast-docker-build-in-kubernetes-f52088854f45

name: CI
on: [push, pull_request]

env:
DOCKER_BUILDKIT: 1
COMPOSE_DOCKER_CLI_BUILD: 1

jobs:
code-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[dev]
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 backend qaboard --count --select=E9,F63,F7,F82 --show-source --statistics
# --exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
# flake8 backend qaboard --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Type Checks with MyPy
run: mypy -p qaboard --ignore-missing-imports
- name: Unit Tests
run: |
# git is needed in the tests and setup to fail if not setup
git config --global user.name "Arthur Flam"
git config --global user.email "arthur.flam@samsung.com"
green -vvv --quiet-stdout

build-webapp:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 18.x
uses: actions/setup-node@v4
with:
node-version: 18.x
- uses: actions/cache@v4
with:
path: ~/.npm
key: node-${{ hashFiles('webapp/npm-shrinkwrap.json') }}
restore-keys: ${{ runner.os }}-node-
- run: cd webapp && npm ci
- run: cd webapp && npm run build --if-present
# - run: cd webapp && npm test

test-docker-images:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build the docker compose stack
run: docker compose build --build-arg BUILDKIT_INLINE_CACHE=1
- name: Up the docker compose stack
run: docker compose up -d
- name: Check running containers
run: docker ps -a
- name: Check logs
run: sleep 10 && docker compose logs
- name: Smoke Test @app
run: curl -s --retry 10 --retry-connrefused http://localhost:5151/
- name: sleep 10 && Smoke Test @api
run: sleep 10 && curl -s --retry 10 --retry-connrefused http://localhost:5151/api/v1/projects

publish-docker-images:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
needs:
- code-checks
- build-webapp
- test-docker-images
steps:
- uses: actions/checkout@v4
- name: Build the docker compose stack
run: docker compose build --build-arg BUILDKIT_INLINE_CACHE=1
- name: Publish images
run: |
echo ${{ secrets.GITHUB_TOKEN }} | docker login https://docker.pkg.github.com -u arthur-flam --password-stdin
docker compose push
27 changes: 27 additions & 0 deletions .github/workflows/pypy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries
name: Upload Python Package

on:
release:
types: [created]

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
38 changes: 38 additions & 0 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Deploy to GitHub Pages

on:
push:
branches: [master]
paths: [website/**]

jobs:
deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.x
cache: yarn
cache-dependency-path: website/yarn.lock
- name: Build website
working-directory: website
run: |
yarn install --frozen-lockfile
yarn build

# Popular action to deploy to GitHub Pages:
# Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
# Build output to publish to the `gh-pages` branch:
publish_dir: ./website/build
# Assign commit authorship to the official GH-Actions bot for deploys to `gh-pages` branch:
# https://github.com/actions/checkout/issues/13#issuecomment-724415212
# The GH actions bot is used by default if you didn't specify the two fields.
# You can swap them out with your own user credentials.
user_name: github-actions[bot]
user_email: 41898282+github-actions[bot]@users.noreply.github.com
28 changes: 28 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,37 @@
certs/
saml/*.json
passwd*
*.bkp
.config/configstore/
*.patch
.npm/
migration/
.npm/
cache.*.json
user-quotas.json
build/
build_qadocs/
log.lsf.txt
log.txt
ssl/
commits/
user/
drafts/

backend/data/

image.batches.yaml
iter.batches.yaml
sub.batches.yaml

*.png
*.jpg
*.ico
*.svg
*.gif

# ssh-agent files to build container images
ssh-agent.pid

# recommended by docusaurus
# generated files
Expand All @@ -24,6 +46,12 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*

.vscode

# generated by tests. TODO: use /tmp
qaboard/sample_project/image.batches.yaml

.DS_Store

# Created by https://www.gitignore.io/api/linux,python,windows,sublimetext,visualstudio

Expand Down
Loading