Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
634 commits
Select commit Hold shift + click to select a range
62f3586
Address jsdoc and typo in description
JoshuaSBrown Jan 7, 2025
f2cdfc2
Remove outdated comments
JoshuaSBrown Jan 7, 2025
1f521ca
Make comments JSDoc compliant
JoshuaSBrown Jan 7, 2025
bf4abd7
Address merge conflict
JoshuaSBrown Jan 8, 2025
049b1f8
Address formatting inconsistency
JoshuaSBrown Jan 8, 2025
d1e61d3
Account for multiple images returned in log
JoshuaSBrown Jan 9, 2025
4b3d1ee
Update .gitlab/common.yml
JoshuaSBrown Jan 9, 2025
9f478cf
Debugging log container matching
JoshuaSBrown Jan 9, 2025
f275346
Fix typo in gitlab anchor
JoshuaSBrown Jan 9, 2025
de815e4
Debug escape anchor
JoshuaSBrown Jan 9, 2025
2ca1127
Debug
JoshuaSBrown Jan 9, 2025
89beb59
Debug anchor 2
JoshuaSBrown Jan 9, 2025
43ae584
Debug anchor 3
JoshuaSBrown Jan 9, 2025
f617273
Debug anchor 4
JoshuaSBrown Jan 9, 2025
e7dae65
Debug anchor 5
JoshuaSBrown Jan 9, 2025
a8f9f09
Debug 6
JoshuaSBrown Jan 9, 2025
58d78e0
Debug 7
JoshuaSBrown Jan 9, 2025
dbf0912
Debug 8
JoshuaSBrown Jan 9, 2025
0b71b00
Fix names of containers from gcs-authz to gcs
JoshuaSBrown Jan 9, 2025
680c41e
Cleanup add comment back in
JoshuaSBrown Jan 9, 2025
a8a6a47
Update common.yml
JoshuaSBrown Jan 9, 2025
28918ef
Remove Exports
JoshuaSBrown Jan 9, 2025
5e52a0a
Merge pull request #1221 from ORNL/1219-daps-bug-gitlab-ci-gcs-log
JoshuaSBrown Jan 9, 2025
238fc1b
Update data_router.js
JoshuaSBrown Jan 9, 2025
7afcbb8
Update repo_router.js
JoshuaSBrown Jan 9, 2025
57de21a
Update task_router.js
JoshuaSBrown Jan 9, 2025
1028adb
Update eslint.config.js
JoshuaSBrown Jan 9, 2025
f2214f1
Update eslint.config.js
JoshuaSBrown Jan 9, 2025
1dd9821
Merge branch 'devel' into 1216-DAPS-feature-add-improved-ci-scanning
JoshuaSBrown Jan 9, 2025
42e174b
Merge branch 'devel' into 1209-feature-add-jsdoc-linter
JoshuaSBrown Jan 9, 2025
a1e15d0
fix jsdoc comment in posix path
JoshuaSBrown Jan 9, 2025
b3ccd1c
Address JSDOc complaints
JoshuaSBrown Jan 9, 2025
2ac3869
Address JSDoc errors
JoshuaSBrown Jan 9, 2025
32ca96e
Address linter
JoshuaSBrown Jan 9, 2025
0aff63a
Address linter errors
JoshuaSBrown Jan 9, 2025
c97251a
Fix order of parameters
JoshuaSBrown Jan 9, 2025
6ca1ee2
Apply formatting
JoshuaSBrown Jan 9, 2025
7555914
Merge pull request #1196 from ORNL/add-support-for-authz-lookup
JoshuaSBrown Jan 9, 2025
eb5f961
Merge branch '1180-refactor-authz' of github.com:ORNL/DataFed into 11…
JoshuaSBrown Jan 11, 2025
d85dccb
Add missing argument form strategy method call
JoshuaSBrown Jan 13, 2025
2f6e767
Merge branch '1180-refactor-authz' of github.com:ORNL/DataFed into 11…
JoshuaSBrown Jan 13, 2025
ad3f203
Apply prettier
JoshuaSBrown Jan 13, 2025
604fb5d
Update posix_path.js
JoshuaSBrown Jan 13, 2025
fbe4323
Address ai suggestion about better error message
JoshuaSBrown Jan 13, 2025
52838c9
Debugging log failure
JoshuaSBrown Jan 8, 2025
73e1be3
Account for multiple images returned in log
JoshuaSBrown Jan 9, 2025
fb88293
Update .gitlab/common.yml
JoshuaSBrown Jan 9, 2025
93ab582
Debugging log container matching
JoshuaSBrown Jan 9, 2025
8209957
Fix typo in gitlab anchor
JoshuaSBrown Jan 9, 2025
ccfc6b6
Debug escape anchor
JoshuaSBrown Jan 9, 2025
00c1d5c
Debug
JoshuaSBrown Jan 9, 2025
6222b54
Debug anchor 2
JoshuaSBrown Jan 9, 2025
3f1344c
Debug anchor 3
JoshuaSBrown Jan 9, 2025
34b015d
Debug anchor 4
JoshuaSBrown Jan 9, 2025
7ecee16
Debug anchor 5
JoshuaSBrown Jan 9, 2025
3813182
Debug 6
JoshuaSBrown Jan 9, 2025
85a3799
Debug 7
JoshuaSBrown Jan 9, 2025
f110c75
Debug 8
JoshuaSBrown Jan 9, 2025
e901493
Fix names of containers from gcs-authz to gcs
JoshuaSBrown Jan 9, 2025
6cf6fcd
Cleanup add comment back in
JoshuaSBrown Jan 9, 2025
141b257
Update common.yml
JoshuaSBrown Jan 9, 2025
286351e
Remove Exports
JoshuaSBrown Jan 9, 2025
2d55899
Cleanup comments and apply formatting
JoshuaSBrown Jan 13, 2025
c4dd784
Update nlhoman json version
JoshuaSBrown Jan 13, 2025
c9722c2
Update protobuf versions
JoshuaSBrown Jan 13, 2025
655fee0
Merge pull request #1218 from ORNL/1216-DAPS-feature-add-improved-ci-…
JoshuaSBrown Jan 13, 2025
3fb41c0
Add tests for authz router
JoshuaSBrown Jan 14, 2025
e1a2048
Specify ubuntu 20.04 explicitly
JoshuaSBrown Jan 14, 2025
62abbc6
Revert dependency versions
JoshuaSBrown Jan 14, 2025
0048e84
Fix problems with path consistent method
JoshuaSBrown Jan 14, 2025
431b090
Merge pull request #1227 from ORNL/1126-fix-json-nlhoman-bug
JoshuaSBrown Jan 14, 2025
67de479
Merge branch 'devel' into 1180-refactor-authz
JoshuaSBrown Jan 14, 2025
077dd67
Cleanup javascript
JoshuaSBrown Jan 14, 2025
ce5d2ad
Format javascript
JoshuaSBrown Jan 14, 2025
de98a85
Feature DLT 1127 relay new token data (#1217)
t-ramz Jan 14, 2025
2065742
[DLT-1110] Update files with prettier
AronPerez Dec 16, 2024
bc08132
[DLT-1110] Split branches
AronPerez Jan 3, 2025
60e7532
[DLT-1110] Update model, make logic private, remove controller form t…
AronPerez Jan 9, 2025
f7032d6
[DLT-1110] Add commnets to logic
AronPerez Jan 9, 2025
8807286
[DLT-1110] Correct HTML escape, francy tree init
AronPerez Jan 10, 2025
eb25b64
[DLT-1110] Pull out template HTML
AronPerez Jan 10, 2025
626c79d
[DLT-1110] Fix update bug
AronPerez Jan 11, 2025
870f1fc
[DLT-1110] Dependency injection
AronPerez Jan 14, 2025
3679a4f
[DLT-1110] Update if statements
AronPerez Jan 14, 2025
474673e
[DLT-1110] Update style
AronPerez Jan 14, 2025
48199c5
Merge pull request #1208 from ORNL/feat/DLT-1110/mapped-collection-en…
AronPerez Jan 14, 2025
f12bbc3
Revert "[DLT-1110] Mapped Collection Endpoint Browse (1/4)"
AronPerez Jan 14, 2025
80f5201
Merge pull request #1231 from ORNL/revert-1208-feat/DLT-1110/mapped-c…
AronPerez Jan 14, 2025
d8985b8
Merge branch 'devel' into 1209-feature-add-jsdoc-linter
JoshuaSBrown Jan 14, 2025
4bd8cab
Merge pull request #1210 from ORNL/1209-feature-add-jsdoc-linter
JoshuaSBrown Jan 15, 2025
76da5d7
Merge branch 'devel' into 1180-refactor-authz
JoshuaSBrown Jan 15, 2025
21c3ee7
Address eslint
JoshuaSBrown Jan 15, 2025
0f078c2
Address remaining eslint items
JoshuaSBrown Jan 15, 2025
39814b4
Fix bug on task_router.js abort function (#1234)
t-ramz Jan 15, 2025
33c44e9
Address Aaron feedback
JoshuaSBrown Jan 15, 2025
5c70a5e
applied potential fix to deprecation warning
nedvedba Jan 16, 2025
8866891
Reorder createRecord
JoshuaSBrown Jan 16, 2025
4e20244
Apply formatting
JoshuaSBrown Jan 16, 2025
443ee5f
Throw error if OpenStack error code returned from API
JoshuaSBrown Jan 16, 2025
3a50b2f
Add dependency between logs
JoshuaSBrown Jan 16, 2025
03aa9a6
Add dependencies on end to end jobs as well
JoshuaSBrown Jan 16, 2025
df1e436
Job rule is not supported
JoshuaSBrown Jan 16, 2025
ebecfab
Remove always run log
JoshuaSBrown Jan 16, 2025
3222810
add end to end signal job
JoshuaSBrown Jan 16, 2025
23eca53
Fix tag of signal
JoshuaSBrown Jan 16, 2025
812c2bf
Merge pull request #1238 from ORNL/1236-bug-job-not-failing-with-setu…
JoshuaSBrown Jan 16, 2025
5ca6bcf
Merge branch 'devel' into 1180-refactor-authz
JoshuaSBrown Jan 16, 2025
049a4f4
Merge branch '1236-bug-job-not-failing-with-setup-script' into devel
JoshuaSBrown Jan 16, 2025
c7cdae3
Merge branch 'devel' into 1180-refactor-authz
JoshuaSBrown Jan 16, 2025
e7972b8
Merge pull request #1224 from ORNL/1180-refactor-authz
JoshuaSBrown Jan 17, 2025
beb78ca
Feature DLT 1120 retrieve transfer token (#1228)
t-ramz Jan 22, 2025
2ad31b0
Fix config access due to race condition
JoshuaSBrown Jan 23, 2025
a0b5b5c
cpp-py-formatter
Jan 23, 2025
db9e998
Move include to source file and out of header file
JoshuaSBrown Jan 23, 2025
db16e15
Adds Changelog comment
JoshuaSBrown Jan 23, 2025
3e6903a
Make globus collection path use underscores consistent with other cfg…
JoshuaSBrown Jan 23, 2025
fcf4780
Bug daps 1243 datafed web logging (#1251)
t-ramz Jan 23, 2025
45eb9bf
[DLT-1110] Mapped Collection Endpoint Browse (1/4) (#1240)
AronPerez Jan 23, 2025
1d041f5
added updated version t0 requirements.txt
nedvedba Jan 23, 2025
14eecb6
Debug config
JoshuaSBrown Jan 23, 2025
9f8b987
build_gcs_image run if change in gridftp folder
JoshuaSBrown Jan 23, 2025
67545c4
Debug output streams
JoshuaSBrown Jan 24, 2025
2d6ad4a
Continuuing to debug
JoshuaSBrown Jan 24, 2025
b389af3
Fix repetitive output
JoshuaSBrown Jan 24, 2025
dd87a7b
Add retries to auth message
JoshuaSBrown Jan 24, 2025
c0bbb45
Improve the log output
JoshuaSBrown Jan 24, 2025
fc9cab0
Add newer DynaLog
JoshuaSBrown Jan 24, 2025
44b8c5c
Debugging output problems, fix multiple log outputs caused by adding …
JoshuaSBrown Jan 24, 2025
4f86a90
Fix edge case in GridFTP Authz where '/' is used
JoshuaSBrown Jan 27, 2025
fdc8f3c
cpp-py-formatter
Jan 27, 2025
2aaca81
Add changelog comment
JoshuaSBrown Jan 27, 2025
c44ed18
Merge branch '1257-bug-authz-root-path-stripping-leading-forward-slas…
JoshuaSBrown Jan 27, 2025
1ded325
Address prettier formatting
JoshuaSBrown Jan 27, 2025
eb92f7b
Merge pull request #1258 from ORNL/1257-bug-authz-root-path-stripping…
JoshuaSBrown Jan 27, 2025
3a47ffd
Add method for testing config, fix bug in global config, fix redundan…
JoshuaSBrown Jan 28, 2025
0e1fc90
Make error detection clearer in bool
JoshuaSBrown Jan 28, 2025
ebc4ff6
Add mock core server
JoshuaSBrown Jan 28, 2025
c150f5d
Add integration and, liveness test for mock
JoshuaSBrown Jan 28, 2025
b601f1c
Address mock integration setup and consolidate
JoshuaSBrown Jan 29, 2025
1043226
Apply formatting
JoshuaSBrown Jan 29, 2025
2b550c1
Remove unused timeout variable from mock
JoshuaSBrown Jan 29, 2025
8c6f3a0
Address JSDoc complaints
JoshuaSBrown Jan 29, 2025
1c14b10
Apply prettier
JoshuaSBrown Jan 29, 2025
44e99b9
Fix formatting and eslint prettier issues
JoshuaSBrown Jan 29, 2025
5ab5fb3
Address codacy feedback
JoshuaSBrown Jan 29, 2025
a763b4c
Add changelog comment
JoshuaSBrown Jan 29, 2025
e39988d
Merge branch 'devel' into 1255-feature-mock-core-server-integration-t…
JoshuaSBrown Jan 29, 2025
05a4c70
Address Tony's feedback on single return in Config.c
JoshuaSBrown Jan 29, 2025
667d284
Set Config defaults, make err = true to address tony feedback
JoshuaSBrown Jan 29, 2025
288bae4
Address config file refactor address inconsistent unlocking in config…
JoshuaSBrown Jan 29, 2025
cac82e3
Merge pull request #1262 from ORNL/1261-fix-JSDoc-errors
JoshuaSBrown Jan 29, 2025
15c17ea
Address review feedback on magic numbers
JoshuaSBrown Jan 29, 2025
339d3ad
Address merge conflict in changelog.
JoshuaSBrown Jan 29, 2025
618486b
Apply clang formatting
JoshuaSBrown Jan 29, 2025
a825b70
Additional clang formatting
JoshuaSBrown Jan 29, 2025
968a52b
Clean up grammar in comment
JoshuaSBrown Jan 29, 2025
3010be2
Add note in Config.h
JoshuaSBrown Jan 29, 2025
ce5e14d
Apply clang formatting
JoshuaSBrown Jan 29, 2025
9f899ff
Fix merge conflict
JoshuaSBrown Jan 29, 2025
763231c
Address merge conflict
JoshuaSBrown Jan 29, 2025
ab668b9
Correct pointer, change to copy
JoshuaSBrown Jan 29, 2025
ef0f3d6
Reduced change log comment to 80 chars
JoshuaSBrown Jan 29, 2025
9e447ce
Address codacy issues
JoshuaSBrown Jan 29, 2025
1b2ebf6
Merge pull request #1260 from ORNL/1255-feature-mock-core-server-inte…
JoshuaSBrown Jan 29, 2025
94afcac
Remove magic number
JoshuaSBrown Jan 29, 2025
817777e
Update change log comment
JoshuaSBrown Jan 29, 2025
ae69d9c
Fix test to be consistent with merge
JoshuaSBrown Jan 29, 2025
e8c34d6
Add additional test
JoshuaSBrown Jan 29, 2025
86e3160
Add integration test for AuthzWorker
JoshuaSBrown Jan 29, 2025
5ad7e19
Debug
JoshuaSBrown Jan 29, 2025
4868a7c
Adjust zeromq settings
JoshuaSBrown Jan 30, 2025
d583635
Improve log output
JoshuaSBrown Jan 30, 2025
ee29b90
improved log messages
JoshuaSBrown Jan 30, 2025
a26ec51
Debug run
JoshuaSBrown Jan 30, 2025
48e6603
Debug commit
JoshuaSBrown Jan 30, 2025
32f3989
Fix REPO key
JoshuaSBrown Jan 30, 2025
b33d782
Prevent logRelease messages
JoshuaSBrown Jan 30, 2025
2cf977f
Fix authz key
JoshuaSBrown Jan 30, 2025
f5da00e
Fix key Authzworker
JoshuaSBrown Jan 30, 2025
5ccd892
Up log level
JoshuaSBrown Jan 30, 2025
4b08d9e
Fix typos
JoshuaSBrown Jan 30, 2025
44c7a28
Fix KEY error
JoshuaSBrown Jan 30, 2025
950bf1e
Add linger and HWM to insecure communicator
JoshuaSBrown Jan 31, 2025
bf39513
Add env var
JoshuaSBrown Jan 31, 2025
7b9e415
Update Arangodb packaged version to using 3.12.4
JoshuaSBrown Jan 31, 2025
c99eefb
Fix confusion in key uses in end to end tests
JoshuaSBrown Jan 31, 2025
714381f
Add change log comment
JoshuaSBrown Feb 1, 2025
5ab82dc
Add changelog comment
JoshuaSBrown Feb 1, 2025
1b0583a
Merge pull request #1274 from ORNL/1273-bug-ci-wrong-key
JoshuaSBrown Feb 1, 2025
7669be9
corrected imported member
nedvedba Feb 3, 2025
f8f7b5d
Merge pull request #1271 from ORNL/1269-bug-premature-shutdown-arango…
JoshuaSBrown Feb 3, 2025
840577a
Merge branch 'devel' into 1268-bug-foxx-docker-file-unbound-env-var
JoshuaSBrown Feb 3, 2025
68018f5
Add compose entries for foxx tests
JoshuaSBrown Feb 3, 2025
9516014
Merge branch 'devel' into 1268-bug-foxx-docker-file-unbound-env-var
JoshuaSBrown Feb 3, 2025
692df8d
Merge pull request #1270 from ORNL/1268-bug-foxx-docker-file-unbound-…
JoshuaSBrown Feb 3, 2025
d24ddb5
Update the schema documentation to improve the usability.
JoshuaSBrown Feb 4, 2025
1a676fb
Add example schema with a reference
JoshuaSBrown Feb 4, 2025
95f8a20
Add notebook for linting jupyter
JoshuaSBrown Feb 5, 2025
4814cdc
Using working directory option
JoshuaSBrown Feb 5, 2025
fceebfc
Update .github/workflows/jupyternotebook-lint.yml
JoshuaSBrown Feb 5, 2025
eeaa6f3
Update python notebooks
JoshuaSBrown Feb 5, 2025
640405c
Attempt to fix jupyternote book linting errors
JoshuaSBrown Feb 7, 2025
340d2f1
Format with black
JoshuaSBrown Feb 7, 2025
e999eab
Specify line length with black to be consistent with flake8
JoshuaSBrown Feb 7, 2025
f5c70a9
Merge pull request #1291 from ORNL/1290-bug-fix-jupyternotebook-docs
JoshuaSBrown Feb 7, 2025
098a79e
Add a Changelog comment
JoshuaSBrown Feb 7, 2025
5559799
Change line length to 88
JoshuaSBrown Feb 7, 2025
2573dd2
Add black formatters
JoshuaSBrown Feb 7, 2025
ee9e283
Make formatting consistent across project
JoshuaSBrown Feb 7, 2025
6a1bf18
Fix linter
JoshuaSBrown Feb 7, 2025
e90c959
Temporarily keep line length in black to 79 and address in separate i…
JoshuaSBrown Feb 7, 2025
b7d649a
Change line length to 88 for now
JoshuaSBrown Feb 7, 2025
d204783
Merge pull request #1286 from ORNL/1280-docs-improve-user-docs-for-sc…
JoshuaSBrown Feb 10, 2025
d2c79bc
updated changelog
nedvedba Feb 10, 2025
3dc995f
Merge branch 'devel' into fix-1223
nedvedba Feb 10, 2025
13f4b1a
Merge pull request #1289 from ORNL/1288-notebook-linter
JoshuaSBrown Feb 10, 2025
5894201
Merge branch 'devel' into fix-1223
nedvedba Feb 10, 2025
b14a772
Merge pull request #1239 from ORNL/fix-1223
nedvedba Feb 10, 2025
90ed49d
Fix bug in CI scripts associated with repo and gcs image build
JoshuaSBrown Feb 10, 2025
ed6bca9
Merge pull request #1298 from ORNL/1297-bug-repo-gcs-image
JoshuaSBrown Feb 10, 2025
6b04f3b
Merge pull request #1301 from ORNL/release_February_2025
JoshuaSBrown Feb 11, 2025
e9cb85d
Merge hotfixes into devel (#1326)
t-ramz Feb 17, 2025
c62011d
Feature DAPS 1215 foxx UserGetAccessTokenRequest mapped collection su…
t-ramz Feb 18, 2025
1cf4921
[DLT-1110] Implement Consent Required Action (3/4 & 4/4) (#1242)
AronPerez Feb 18, 2025
1c7c155
JSON parse error fix (#1328)
t-ramz Feb 24, 2025
94f4d3a
Feature - Mapped Collection Token Support (#1334)
t-ramz Mar 6, 2025
b1e9f5f
Add small fix for storeCollectionId (#1341)
t-ramz Mar 11, 2025
12d339b
Fix bug with playwright (#1343)
JoshuaSBrown Mar 11, 2025
9da6616
[DAPS-1330] Address Download Extension Transfer (#1340)
AronPerez Mar 12, 2025
9ca68e0
Parse md json strings (#1347)
t-ramz Mar 12, 2025
8cb53b7
[DAPS-1349] Provenance Capture Update Bug (#1350)
AronPerez Apr 1, 2025
307804a
[Release] February 2025 (#1352)
nedvedba Apr 7, 2025
403636d
Add .venv/ to gitignore (#1335)
theodore-s-beers Apr 7, 2025
8e60d89
[DAPS-1388] Add GCP Support (#1392)
AronPerez May 2, 2025
80239fa
Add missing python module (#1404)
JoshuaSBrown May 5, 2025
7dcd3a6
Set reasonable default that will help with filling in repo form for c…
JoshuaSBrown May 5, 2025
d619edd
Add documentation describing how to test the foxx microservices unit …
JoshuaSBrown May 13, 2025
06d4aff
Fix ci build (#1390)
JoshuaSBrown May 13, 2025
3de35d9
Fix regression (#1428)
JoshuaSBrown May 14, 2025
ae60a80
Fix docker logs output in end-to-end tests (#1426)
JoshuaSBrown May 14, 2025
9475d28
Improve serialization randomization (#1427)
JoshuaSBrown May 14, 2025
b507329
Upgrade formatter (#1440)
JoshuaSBrown May 21, 2025
5b44b03
1437 fix zmq inproc bind order (#1438)
JoshuaSBrown May 22, 2025
6b731b1
Allow looping over containers if there is more than one. (#1446)
JoshuaSBrown May 22, 2025
9fde1df
1445 docker logs multiple containers (#1447)
JoshuaSBrown May 22, 2025
6dd23eb
Fix conflicting dependency install flags (#1444)
JoshuaSBrown May 22, 2025
bd10480
[DAPS-1408] Provenance Visual Management Lint (1/2) (#1431)
AronPerez May 22, 2025
6d4d3b1
[DAPS-1395] Address Memory Leaks in Core Server (#1424)
JoshuaSBrown May 23, 2025
4889e4d
[TASK] Update tests and fixture (#1454)
AronPerez May 23, 2025
be1dc5e
Address merge conflict
JoshuaSBrown May 29, 2025
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
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[flake8]
max-line-length = 100
2 changes: 1 addition & 1 deletion .github/workflows/apply-formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
if: startsWith(github.event.comment.body, '@par-hermes format')
steps:
- uses: JoshuaSBrown/cpp-py-formatter/command@v0.2.3
- uses: JoshuaSBrown/cpp-py-formatter/command@v0.3.8
with:
botName: par-hermes
clangFormatVersion: 10
Expand Down
36 changes: 0 additions & 36 deletions .github/workflows/format-check.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1 @@
name: Format Check
on: push
jobs:
check-formatting:
name: Code Formatting
runs-on: ubuntu-latest
steps:
- uses: JoshuaSBrown/cpp-py-formatter/check@v0.2.3
with:
clangFormatVersion: 10
token: ${{ secrets.GITHUB_TOKEN }}

format-check:
runs-on: ubuntu-latest
if: ${{ always() }}
# needs: check-formatting
strategy:
matrix:
python-version: [ "3.9" ]
steps:
- uses: actions/checkout@v2
- name: Update ubuntu
run: sudo apt-get update
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt-get install -y python3-sphinx sphinx-rtd-theme-common
pip install sphinx_rtd_theme recommonmark flake8 black pytest pytest-cov black[jupyter]
- name: Black formatting checks
run: black --exclude '/jupyter_notebooks/' --check .
- name: Lint with flake8
run: |
flake8 --count --select=E9,F63,F7,F82 --show-source --statistics --max-line-length 100 .
flake8 --count --statistics --max-line-length 100 .
34 changes: 34 additions & 0 deletions .github/workflows/javascript-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: JavaScript Formatter
on: push
jobs:
format-javascript:
runs-on: ubuntu-latest

steps:
# Step 1: Checkout the repository
- name: Checkout Code
uses: actions/checkout@v4

# Step 2: Set up Node.js environment
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '18' # Specify your Node.js version

# Step 3: Install Prettier and ESLint globally
- name: Install Prettier
run: |
npm install -g prettier

# Step 4: Run Prettier to format code
- name: Run prettier
run: |
prettier "**/*.js" --write
git diff
git reset --hard
prettier --check "**/*.js"

# Step 5: Report status
- name: Complete
run: echo "Formatting completed successfully!"

28 changes: 28 additions & 0 deletions .github/workflows/javascript-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: JavaScript Linter
on: push
jobs:
lint-javascript:
runs-on: ubuntu-latest

steps:
# Step 1: Checkout the repository
- name: Checkout Code
uses: actions/checkout@v4

# Step 2: Set up Node.js environment
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '18' # MOre up to date version needed for linter

# Step 3: Instal ESLint and run
- name: Install ESLint
run: |
npm init -y
npm install eslint@latest @babel/eslint-parser@latest eslint-define-config globals eslint-plugin-jsdoc --save
npx eslint "**/*.js"

# Step 4: Report status
- name: Complete
run: echo "Linting completed successfully!"

40 changes: 40 additions & 0 deletions .github/workflows/jupyternotebook-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Jupyter Notebook Linter
on:
push:
paths:
- '**/*.ipynb'
- '.github/workflows/jupyternotebook-lint.yml'

jobs:
lint-jupyter:
runs-on: ubuntu-latest

steps:
# Step 1: Checkout the repository
- name: Checkout Code
uses: actions/checkout@v4

# Step 2: Set up Python environment
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10' # Specify the Python version

# Step 3: Install dependencies
- name: Install nbQA, flake8, and black
run: |
pip install nbqa flake8 black

# Step 4: Run flake8 and black on notebooks in ./jupyter_notebooks folder
- name: Lint Jupyter Notebooks with flake8
run: nbqa flake8 .
working-directory: jupyter_notebooks

- name: Format Jupyter Notebooks with black
run: nbqa black . --check
working-directory: jupyter_notebooks

# Step 5: Report status
- name: Complete
run: echo "Jupyter Notebook linting completed!"

16 changes: 13 additions & 3 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,30 @@ name: Unit-Testing
on: push
jobs:
unit-test:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: ${{ always() }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Update ubuntu
run: sudo apt-get update
- name: Install software-properties-common
run: sudo apt install software-properties-common
- name: Add deadsnakes apt repository
run: sudo add-apt-repository ppa:deadsnakes/ppa
- name: Update to bring in deadsnakes packages
run: sudo apt update
- name: Install Python 3.9
run: sudo apt install python3.9 python3.9-dev python3.9-venv python3.9-distutils
- name: Ensure pip is installed
run: python3.9 -m ensurepip
- name: Install dependencies
run: |
./scripts/generate_datafed.sh
sudo ./scripts/install_core_dependencies.sh
./scripts/generate_datafed.sh
- name: Build
run: |
cmake -S. -B build -DCMAKE_BUILD_TYPE=Debug
cmake -S. -B build -DCMAKE_BUILD_TYPE=Debug -DBUILD_WEB_SERVER=OFF
cmake --build build -j4
- name: Run tests
run: |
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/.idea/
.venv/
build
cmake/sodium_version
cmake/curl_version
Expand Down Expand Up @@ -42,6 +43,7 @@ python/datafed_pkg/datafed/Version_pb2.py
python/datafed_pkg/datafed/__pycache__/
python/datafed_pkg/dist/
web/package.json
repository/gridftp/globus5/authz/mock_core/Version.hpp
repository/gridftp/globus5/authz/source/Version.hpp
repository/server/Version.hpp
scripts/globus/datafed-home-repo.sh
Expand Down
6 changes: 6 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ include:
- local: .gitlab/stage_provision_client.yml
- local: .gitlab/stage_image_check.yml
- local: .gitlab/stage_build.yml
- local: .gitlab/stage_test.yml
- local: .gitlab/stage_unit.yml
- local: .gitlab/end_to_end.yml

stages:
Expand All @@ -34,9 +36,12 @@ stages:
- provision-client
- image-check
- build
- test # Required for gitlab sast templates
- unit
- end-to-end-setup-arango
- end-to-end-setup
- end-to-end-test
- end-to-end-test-finish-signal
- log
- deploy-pypi-package

Expand All @@ -50,3 +55,4 @@ variables:
HARBOR_USER: 'robot$$datafed+harbor_datafed_gitlab_ci_registry_2'
REGISTRY: 'camden.ornl.gov'
DATAFED_DEPENDENCIES_INSTALL_PATH: "/shared/install"
DOCKER_TLS_CERTDIR: "" # Required for running docker in docker
19 changes: 17 additions & 2 deletions .gitlab/build/build_core_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ build-core:
extends: .docker_build_script
stage: build
variables:
IMAGE_TAG: "datafed/core"
PROJECT: "datafed"
COMPONENT: "core"
GIT_STRATEGY: clone
DOCKER_FILE_PATH: "core/docker/Dockerfile"
DATAFED_HARBOR_REGISTRY: "$REGISTRY" # needed by c_harbor_artifact_count
BUILD_INTERMEDIATE: "FALSE"
tags:
- ci-datafed-core
- docker
Expand All @@ -31,8 +33,21 @@ retag-image:
extends: .docker_retag_image
stage: build
variables:
IMAGE_TAG: "datafed/core"
PROJECT: "datafed"
COMPONENT: "core"
GIT_STRATEGY: clone
DATAFED_HARBOR_REGISTRY: "$REGISTRY" # needed by c_harbor_artifact_count
BUILD_INTERMEDIATE: "FALSE"
tags:
- docker
rules:
- changes:
- docker/**/*
- scripts/**/*
- core/**/*
- common/**/*
- CMakeLists.txt
- cmake/**/*
- .gitlab-ci.yml
when: never
- when: on_success
25 changes: 22 additions & 3 deletions .gitlab/build/build_foxx_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,46 @@ build-foxx:
extends: .docker_build_script
stage: build
variables:
IMAGE_TAG: "datafed/foxx"
PROJECT: "datafed"
COMPONENT: "foxx"
GIT_STRATEGY: clone
DOCKER_FILE_PATH: "docker/Dockerfile.foxx"
DATAFED_HARBOR_REGISTRY: "$REGISTRY" # needed by c_harbor_artifact_count
BUILD_INTERMEDIATE: "FALSE"
tags:
- docker
rules:
- changes:
- docker/**/*
- scripts/**/*
- web/**/*
- cmake/**/*
- core/database/**/*
- core/CMakeLists.txt
- common/proto/**/*
- .gitlab-ci.yml
- CMakeLists.txt
when: on_success

retag-image:
extends: .docker_retag_image
stage: build
variables:
IMAGE_TAG: "datafed/foxx"
PROJECT: "datafed"
COMPONENT: "foxx"
GIT_STRATEGY: clone
DATAFED_HARBOR_REGISTRY: "$REGISTRY" # needed by c_harbor_artifact_count
BUILD_INTERMEDIATE: "FALSE"
tags:
- docker
rules:
- changes:
- docker/**/*
- scripts/**/*
- cmake/**/*
- core/database/**/*
- core/CMakeLists.txt
- common/proto/**/*
- .gitlab-ci.yml
- CMakeLists.txt
when: never
- when: on_success
37 changes: 26 additions & 11 deletions .gitlab/build/build_gcs_base_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ include:
build-gcs-base:
stage: build
variables:
IMAGE_TAG: "datafed/gcs-base"
PROJECT: "datafed"
COMPONENT: "gcs-base"
GIT_SUBMODULE_STRATEGY: recursive
GIT_STRATEGY: clone
DATAFED_HARBOR_REGISTRY: "$REGISTRY" # needed by c_harbor_artifact_count
BUILD_INTERMEDIATE: "FALSE"
tags:
- ci-datafed-globus
- docker
Expand All @@ -31,28 +33,41 @@ build-gcs-base:
- cd "external/globus-connect-server-deploy/docker"
- git checkout "$DATAFED_GCS_SUBMODULE_VERSION"
- docker login "${REGISTRY}" -u "${HARBOR_USER}" -p "${HARBOR_DATAFED_GITLAB_CI_REGISTRY_TOKEN}"
- docker build --progress plain -t "${REGISTRY}/${IMAGE_TAG}-${BRANCH_LOWER}:latest" - < "./docker-files/Dockerfile.ubuntu-20.04"
- docker tag "${REGISTRY}/${IMAGE_TAG}-${BRANCH_LOWER}:latest" "${REGISTRY}/${IMAGE_TAG}-${BRANCH_LOWER}:$CI_COMMIT_SHA"
- export DATAFED_HARBOR_REPOSITORY="${IMAGE_TAG}-${BRANCH_LOWER}"
- docker build --no-cache --progress plain -t "${REGISTRY}/${PROJECT}/${COMPONENT}-${BRANCH_LOWER}:latest" - < "./docker-files/Dockerfile.ubuntu-20.04"
- docker tag "${REGISTRY}/${PROJECT}/${COMPONENT}-${BRANCH_LOWER}:latest" "${REGISTRY}/${PROJECT}/${COMPONENT}-${BRANCH_LOWER}:$CI_COMMIT_SHA"
- export DATAFED_HARBOR_REPOSITORY="${COMPONENT}-${BRANCH_LOWER}"
- export DATAFED_HARBOR_USERNAME="${HARBOR_USER}"
- export DATAFED_HARBOR_PASSWORD="${HARBOR_DATAFED_GITLAB_CI_REGISTRY_TOKEN}"
- docker push "${REGISTRY}/${DATAFED_HARBOR_REPOSITORY}:latest"
- docker push "${REGISTRY}/${DATAFED_HARBOR_REPOSITORY}:$CI_COMMIT_SHA"
- docker push "${REGISTRY}/${PROJECT}/${DATAFED_HARBOR_REPOSITORY}:latest"
- docker push "${REGISTRY}/${PROJECT}/${DATAFED_HARBOR_REPOSITORY}:$CI_COMMIT_SHA"
- cd "${CI_PROJECT_DIR}"
- |
while [ "$(${CI_PROJECT_DIR}/scripts/ci_harbor_artifact_count.sh)" == "0" ]; do
while [ "$(${CI_PROJECT_DIR}/scripts/ci_harbor_artifact_count.sh -r ${DATAFED_HARBOR_REPOSITORY})" == "0" ]; do
echo "Artifact missing from harbor..."
docker push "${REGISTRY}/${DATAFED_HARBOR_REPOSITORY}:latest"
docker push "${REGISTRY}/${DATAFED_HARBOR_REPOSITORY}:$CI_COMMIT_SHA"
docker push "${REGISTRY}/${PROJECT}/${DATAFED_HARBOR_REPOSITORY}:latest"
docker push "${REGISTRY}/${PROJECT}/${DATAFED_HARBOR_REPOSITORY}:$CI_COMMIT_SHA"
sleep 5 # Optional: Add a sleep to avoid busy waiting
done
- cat "./harbor_check.log"
- cat "${CI_PROJECT_DIR}/harbor_check.log"

retag-image:
extends: .docker_retag_image
stage: build
variables:
IMAGE_TAG: "datafed/gcs-base"
PROJECT: "datafed"
COMPONENT: "gcs-base"
GIT_STRATEGY: clone
DATAFED_HARBOR_REGISTRY: "$REGISTRY" # needed by c_harbor_artifact_count
BUILD_INTERMEDIATE: "FALSE"
tags:
- docker
rules:
- changes:
- docker/**/*
- scripts/**/*
- common/**/*
- .gitlab-ci.yml
- CMakeLists.txt
- cmake/**/*
when: never
- when: on_success
Loading