Skip to content

Commit

Permalink
Merge branch 'master' into integration-test-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoTavares authored Dec 4, 2024
2 parents d0c0e40 + 33bde08 commit 5213959
Show file tree
Hide file tree
Showing 43 changed files with 791 additions and 331 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/testing-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,6 @@ on:
branches: [ master ]

jobs:
test_cuebot_2022:
name: Build Cuebot and Run Unit Tests (CY2022)
runs-on: ubuntu-22.04
container:
image: aswf/ci-opencue:2022
env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
steps:
- uses: actions/checkout@v3
- name: Build with Gradle
run: |
chown -R aswfuser:aswfgroup .
su -c "cd cuebot && ./gradlew build --stacktrace --info" aswfuser
test_python_2023:
name: Run Python Unit Tests (CY2023)
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -83,7 +69,7 @@ jobs:
lint_python:
name: Lint Python Code
runs-on: ubuntu-22.04
container: aswf/ci-opencue:2022
container: aswf/ci-opencue:2024.1
env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
steps:
Expand Down
1 change: 0 additions & 1 deletion ci/pylintrc_test
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ disable=arguments-differ,
locally-disabled,
missing-class-docstring,
missing-function-docstring,
no-self-use,
protected-access,
raise-missing-from,
too-many-arguments,
Expand Down
8 changes: 4 additions & 4 deletions ci/run_python_lint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ cd ..

echo "Running lint for cuegui/..."
cd cuegui
PYTHONPATH=../pycue python -m pylint --rcfile=../ci/pylintrc_main cuegui --ignore=cuegui/images,cuegui/images/crystal
PYTHONPATH=../pycue python -m pylint --rcfile=../ci/pylintrc_test tests
PYTHONPATH=../pycue python -m pylint --rcfile=../ci/pylintrc_main cuegui --ignore=cuegui/images,cuegui/images/crystal --disable=no-member
PYTHONPATH=../pycue python -m pylint --rcfile=../ci/pylintrc_test tests --disable=no-member
cd ..

echo "Running lint for cuesubmit/..."
cd cuesubmit
PYTHONPATH=../pycue:../pyoutline python -m pylint --rcfile=../ci/pylintrc_main cuesubmit
PYTHONPATH=../pycue:../pyoutline python -m pylint --rcfile=../ci/pylintrc_test tests
PYTHONPATH=../pycue:../pyoutline python -m pylint --rcfile=../ci/pylintrc_main cuesubmit --disable=no-member
PYTHONPATH=../pycue:../pyoutline python -m pylint --rcfile=../ci/pylintrc_test tests --disable=no-member
cd ..

echo "Running lint for rqd/..."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ private static final String replaceQueryForFifo(String query) {
"str_user, " +
"int_uid, " +
"str_log_dir, " +
"str_os, " +
"COALESCE(str_os, '') AS str_os, " +
"frame_name, " +
"frame_state, " +
"pk_frame, " +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ public DispatchFrame mapRow(ResultSet rs, int rowNum) throws SQLException {
"job.str_user,"+
"job.int_uid,"+
"job.str_log_dir,"+
"job.str_os,"+
"COALESCE(str_os, '') AS str_os, " +
"frame.str_name AS frame_name, "+
"frame.str_state AS frame_state, "+
"frame.pk_frame, "+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public CachedJobWhiteboardMapper(NestedJobWhiteboardMapper result) {
"job.b_paused, " +
"job.b_autoeat, " +
"job.b_comment, " +
"job.str_os, " +
"COALESCE(str_os, '') AS str_os, " +
"job.int_frame_count, " +
"job.int_layer_count, " +
"job_stat.int_waiting_count, " +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ public VirtualProc mapRow(ResultSet rs, int rowNum) throws SQLException {
"proc.int_virt_max_used,"+
"proc.int_virt_used,"+
"host.str_name AS host_name, " +
"job.str_os " +
"COALESCE(job.str_os, '') AS str_os " +
"FROM " +
"proc, " +
"job, " +
Expand Down Expand Up @@ -389,7 +389,7 @@ public VirtualProc findVirtualProc(FrameInterface frame) {
"proc.*, " +
"host.str_name AS host_name, " +
"host.pk_alloc, " +
"job.str_os, " +
"COALESCE(job.str_os, '') AS str_os, " +
"alloc.pk_facility " +
"FROM " +
"proc, " +
Expand Down Expand Up @@ -530,7 +530,7 @@ public String getCurrentFrameId(ProcInterface p) {
"SELECT " +
"proc.*, " +
"host.str_name AS host_name, " +
"job.str_os, " +
"COALESCE(job.str_os, '') AS str_os, " +
"host.pk_alloc, " +
"alloc.pk_facility " +
"FROM " +
Expand Down
Loading

0 comments on commit 5213959

Please sign in to comment.