Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…/OpenCue into blender-addon-dev
  • Loading branch information
n-jay committed Jul 26, 2024
2 parents 52471e2 + 28d8fb7 commit f2bd0de
Show file tree
Hide file tree
Showing 109 changed files with 1,980 additions and 501 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/sonar-cloud-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
runs-on: ubuntu-latest
container: aswf/ci-opencue:2020
name: Analyze Python Components
env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -31,6 +33,8 @@ jobs:
runs-on: ubuntu-latest
container: aswf/ci-opencue:2020
name: Analyze Cuebot
env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
22 changes: 16 additions & 6 deletions .github/workflows/testing-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,23 +53,33 @@ jobs:
chown -R aswfuser:aswfgroup .
su -c "cd cuebot && ./gradlew build --stacktrace --info" aswfuser
test_python2:
name: Run Python Unit Tests using Python2
test_python_2024:
name: Run Python Unit Tests (CY2024)
runs-on: ubuntu-latest
container: aswf/ci-opencue:2019
env:
ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true
container: aswf/ci-opencue:2024
steps:
- uses: actions/checkout@v3
- name: Run Python Tests
run: ci/run_python_tests.sh

test_cuebot_2024:
name: Build Cuebot and Run Unit Tests (CY2024)
runs-on: ubuntu-latest
container:
image: aswf/ci-opencue:2024
steps:
- uses: actions/checkout@v3
- name: Build with Gradle
run: |
chown -R aswfuser:aswfgroup .
su -c "cd cuebot && ./gradlew build --stacktrace --info" aswfuser
test_pyside6:
name: Run CueGUI Tests using PySide6
runs-on: ubuntu-latest
container: almalinux:9
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Run CueGUI Tests
run: ci/test_pyside6.sh

Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- [Introduction](#Introduction)
- [OpenCue features](#OpenCue-features)
- [Learn more](#Learn-more)
- [Meeting notes](#Meeting-notes)
- [Contact us](#Contact-us)

# Introduction
Expand Down Expand Up @@ -39,6 +40,12 @@ OpenCue provides the following features to help manage rendering jobs at scale:
For more information on installing, using, and administering OpenCue, visit
[www.opencue.io](https://www.opencue.io).

# Meeting notes

Starting from May 2024, all Opencue meeting notes are stored on the [Opencue Confluence page](http://wiki.aswf.io/display/OPENCUE/OpenCue+Home).

For meeting notes before May 2024, please refer to the Opencue repository in the [opencue/tsc/meetings](https://github.com/AcademySoftwareFoundation/OpenCue/tree/master/tsc/meetings) folder.

# Contact us

To join the OpenCue discussion forum for users and admins, join the
Expand Down
2 changes: 1 addition & 1 deletion VERSION.in
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.30
0.31
14 changes: 10 additions & 4 deletions ci/pylintrc_main
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ disable=c-extension-no-member,
too-many-public-methods,
too-many-return-statements,
too-many-statements,
useless-object-inheritance
useless-object-inheritance,
consider-using-f-string

# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
Expand Down Expand Up @@ -202,7 +203,12 @@ ignored-classes=optparse.Values,thread._local,_thread._local
# (useful for modules/projects where namespaces are manipulated during runtime
# and thus existing member attributes cannot be deduced by static analysis). It
# supports qualified module names, as well as Unix pattern matching.
ignored-modules=
ignored-modules=opencue.compiled_proto,
opencue.compiled_proto.filter_pb2,
opencue.compiled_proto.host_pb2,
rqd.compiled_proto.rqd_pb2,
rqd.compiled_proto.host_pb2,
rqd.compiled_proto.report_pb2

# Show a hint with possible names when a member name was not found. The aspect
# of finding the hint is based on edit distance.
Expand Down Expand Up @@ -523,5 +529,5 @@ min-public-methods=2

# Exceptions that will emit a warning when being caught. Defaults to
# "BaseException, Exception".
overgeneral-exceptions=BaseException,
Exception
overgeneral-exceptions=builtins.BaseException,
builtins.Exception
14 changes: 10 additions & 4 deletions ci/pylintrc_test
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ disable=arguments-differ,
too-many-statements,
unused-argument,
unused-variable,
useless-object-inheritance
useless-object-inheritance,
consider-using-f-string

# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
Expand Down Expand Up @@ -202,7 +203,12 @@ ignored-classes=optparse.Values,thread._local,_thread._local
# (useful for modules/projects where namespaces are manipulated during runtime
# and thus existing member attributes cannot be deduced by static analysis). It
# supports qualified module names, as well as Unix pattern matching.
ignored-modules=
ignored-modules=opencue.compiled_proto,
opencue.compiled_proto.filter_pb2,
opencue.compiled_proto.host_pb2,
rqd.compiled_proto.rqd_pb2,
rqd.compiled_proto.host_pb2,
rqd.compiled_proto.report_pb2

# Show a hint with possible names when a member name was not found. The aspect
# of finding the hint is based on edit distance.
Expand Down Expand Up @@ -523,5 +529,5 @@ min-public-methods=2

# Exceptions that will emit a warning when being caught. Defaults to
# "BaseException, Exception".
overgeneral-exceptions=BaseException,
Exception
overgeneral-exceptions=builtins.BaseException,
builtins.Exception
4 changes: 3 additions & 1 deletion cueadmin/cueadmin/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ def _convert(val):
else:
result = opencue.api.criterion_pb2.GreaterThanFloatSearchCriterion(
value=_convert(mixed))
# pylint: disable=use-a-generator
elif any([isinstance(mixed.__class__, crit_cls) for crit_cls in criterions]):
result = mixed
elif not mixed:
Expand Down Expand Up @@ -336,6 +337,7 @@ def _convert(val):
else:
result = opencue.api.criterion_pb2.GreaterThanIntegerSearchCriterion(
value=_convert(mixed))
# pylint: disable=use-a-generator
elif any([isinstance(mixed.__class__, crit_cls) for crit_cls in criterions]):
result = mixed
elif not mixed:
Expand Down Expand Up @@ -562,7 +564,7 @@ def handleArgs(args):

if args.facility:
logger.debug("setting facility to %s", args.facility)
opencue.Cuebot.setFacility(args.facility)
opencue.Cuebot.setHostWithFacility(args.facility)

#
# Query
Expand Down
2 changes: 1 addition & 1 deletion cueadmin/tests/common_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def testSetServer(self, setHostsMock):

setHostsMock.assert_called_with([serverName])

@mock.patch('opencue.Cuebot.setFacility')
@mock.patch('opencue.Cuebot.setHostWithFacility')
def testSetFacility(self, setFacilityMock):
args = self.parser.parse_args(['-facility', TEST_FACILITY])

Expand Down
3 changes: 3 additions & 0 deletions cuebot/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ dependencies {
compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.16.0'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.16.0'
compile group: 'org.apache.logging.log4j', name: 'log4j-slf4j-impl', version: '2.16.0'
compile group: 'io.sentry', name: 'sentry-log4j2', version: '7.11.0'
compile group: 'io.prometheus', name: 'simpleclient', version: '0.16.0'
compile group: 'io.prometheus', name: 'simpleclient_servlet', version: '0.16.0'

protobuf fileTree("../proto/")

Expand Down
Loading

0 comments on commit f2bd0de

Please sign in to comment.