Skip to content

Commit 163cb62

Browse files
JoshuaSBrownAronPereznedvedbasourcery-ai[bot]megatnt1122
authored
[DAPS-1770] - release: v4.0.0
* [DAPS-1585] - update: dependencies, upgrade ssl dependency. 3.2.5 (#1646) * [DAPS-1605] - fix: scripts, install_foxx.sh by splitting ssl_args (#1623) * [DAPS-1651] - refactor: scripts, compose, univify treatment of env variables in compose env generator (#1656) (#1658) * [DAPS-1675] - feature: foxx, adding the logger functions for future PR's (#1675) * [DAPS-1659] - refactor: scripts, remove dependencies install scripts (#1660) * [DAPS-1670] - feature: common, core, repo, python_client, web, allow passing repo types in protobuf messages (#1670) * [DAPS-1671] - feature: foxx, add repository and execution strategy types (#1672) * [DAPS-1661] - refactor: compose, scripts, remove remaining occurences of zeromq system secret. (#1661) * [DAPS-1522] - refactor: foxx, user router logging improvements, remove non helpful logs from tasks.js (#1629) * [DAPS-1691] - refactor: foxx, adjust validation.js swap g_lib with error_code require rem… (#1691) * [DAPS-1692] - tests: ci, End-to-end web tests, fix flaky test (#1693) * [DAPS-1694] - refactor: foxx, move permissions functions from support.js to lib/permissions (#1695) * [DAPS-1685] - feature: compose, enable arangodb ssl (#1687) * [DAPS-1700] - fix: ci, limit arangodb job output to last 3 hours. (#1701) * [DAPS-1676] - feature: foxx, arango add factory for repositories for metadata and globus (#1697) * [DAPS-1718] - feature: web, core, python client, Protobuf ExecutionMethod enum, add RepoAllocationCreateResponse (#1719) * [DAPS-1713] - refactor: core, web, python client, protobuf, allow optional fields when creating repo to support metadat… (#1714) * [DAPS-1715] - refactor: core, make path, pub_key, address, endpoint optional in repoCreateRequest (#1716) * [DAPS-1705] - feature: foxx, integrate metadata globus factory repo router create (#1706) * [DAPS-1688] - update: dependencies, core, repo, authz, gcs, Crypto libssl switched to version 3 globus_sdk version pinned (#1689) * [DAPS-1729] - fix: ci, downstream datafed dependencies pipelines are building the container image from incorrect sha (#1732) * [DAPS-1711] - refactor: foxx standardize repo response schema (#1712) * [DAPS-1725] - refactor: remove confusing apache conf file. (#1728) * [DAPS-1707] - update: dependencies, web, update web dependencies before install (#1709) * [DAPS-1522] - refactor: foxx, task router logging improvements (#1648) * [DAPS-1522] - refactor: foxx, query router logging improvements (#1627) * [DAPS-1735] - bug: foxx, remove duplicate user_router test (#1736) * [DAPS-1731] - reature: scripts, compose, add scripts to generate globus credentials for web service (#1731) * [DAPS-1725] - refactor: tests, mock core server centralized (#1726) * [DAPS-1741] - update: scripts, native client id in intialize_globus_endpoint and globus_clea… (#1741) * [DAPS-1745] - fix: scripts, account for nested client credentials. (#1746) * [DAPS-1725-2] - fix; tests, centralized mock core service libraries fixed (part 2) (#1747) * [DAPS-1742] - refactor script replace os.path.join with urllib.parse.urljoin (#1744) * [DAPS-1749] - refactor: cmake, set cmake policy to silence noisy warning. (#1750) * [DAPS-1522] - refactor: foxx, feature tag router logging improvements (#1734) * [DAPS-1378] - fix: web, mapping of multiple globus accounts. (#1753) * [DAPS-1756] - fix: scripts, foxx, add retries and connection check to install_foxx.sh script. (#1757) * [DAPS-1522] - refactor: foxx, Version Router Logging Improvements (#1758) * [DAPS-1737] - refactor: compose, cleanup arango ssl env variables (#1765) * [DAPS-1766] - fix: ci, python client provisioning job * [DAPS-1663] - feature: core Service, adding Correlation ID to Logging (#1704) Co-authored-by: Aaron Perez <perezam@ornl.gov> Co-authored-by: AronPerez <aperez0295@gmail.com> Co-authored-by: Blake Nedved <nedvedba@ornl.gov> Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com> Co-authored-by: nedvedba <145805866+nedvedba@users.noreply.github.com> Co-authored-by: Austin Hampton <amh107@latech.edu> Co-authored-by: Austin Hampton <44103380+megatnt1122@users.noreply.github.com> Co-authored-by: Blake Nedved <blakeanedved@gmail.com> Co-authored-by: Polina Shpilker <infinite.loopholes@gmail.com>
1 parent 324d343 commit 163cb62

File tree

192 files changed

+8962
-4577
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

192 files changed

+8962
-4577
lines changed

.github/workflows/build-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
./scripts/generate_datafed.sh
4141
- name: Install documentation build dependencies
4242
run: |
43-
sudo ./scripts/install_docs_dependencies.sh
43+
sudo ./external/DataFedDependencies/scripts/install_docs_dependencies.sh
4444
- name: Build documentation
4545
run: |
4646
cmake -S. -B build -DBUILD_AUTHZ=OFF -DBUILD_CORE_SERVER=OFF -DBUILD_COMMON=OFF -DBUILD_DOCS=ON -DBUILD_FOXX=OFF -DBUILD_REPO_SERVER=OFF -DBUILD_PYTHON_CLIENT=ON -DBUILD_TESTS=OFF -DBUILD_WEB_SERVER=OFF -DENABLE_UNIT_TESTS=OFF

.github/workflows/unit-tests.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,12 @@ jobs:
1010
- name: Update debian
1111
run: apt update
1212
- name: Install dependencies
13+
with:
14+
submodules: recursive
15+
fetch-depth: 0
1316
run: |
1417
./scripts/generate_datafed.sh
15-
./scripts/install_core_dependencies.sh
18+
./external/DataFedDependencies/scripts/install_core_dependencies.sh
1619
- name: Build
1720
run: |
1821
/opt/datafed/dependencies/bin/cmake -S. -B build -DCMAKE_BUILD_TYPE=Debug -DBUILD_WEB_SERVER=OFF

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ scripts/admin_datafed_backup.sh
5353
scripts/admin_refresh_certs.sh
5454
scripts/globus/__pycache__
5555
services/
56-
tmp/
56+
tests/mock_core/Version.hpp
57+
tmp
5758
web/SDMS.proto
5859
web/SDMS_Anon.proto
5960
web/SDMS_Auth.proto
@@ -65,6 +66,8 @@ web/package-lock.json
6566
web/static/datafed-core-key.pub
6667
*.swp
6768
*.swo
69+
*.tar.gz
70+
*.tgz
6871

6972
# for web tests
7073
tests/end-to-end/web-UI/node_modules/

.gitlab-ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ include:
1818
- local: .gitlab/stage_pipeline_serialize.yml
1919
- local: .gitlab/infrastructure.yml
2020
- local: .gitlab/stage_clear_cache.yml
21+
- local: .gitlab/stage_base_image_check.yml
2122
- local: .gitlab/stage_build_base.yml
2223
- local: .gitlab/stage_provision_client.yml
2324
- local: .gitlab/stage_image_check.yml
@@ -32,6 +33,7 @@ stages:
3233
- trigger-infrastructure
3334
- signal
3435
- clear-docker-cache
36+
- base-image-check
3537
- build-base
3638
- provision-client
3739
- image-check
@@ -56,3 +58,4 @@ variables:
5658
REGISTRY: "camden.ornl.gov"
5759
DATAFED_DEPENDENCIES_INSTALL_PATH: "/shared/install"
5860
DOCKER_TLS_CERTDIR: "" # Required for running docker in docker
61+
GIT_SUBMODULE_STRATEGY: recursive

.gitlab/build/build_core_image.yml

Lines changed: 45 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,53 @@
11
---
22
stages:
3-
- build
3+
- build
44

55
include:
6-
- local: .gitlab/common.yml
6+
- local: .gitlab/common.yml
77

88
build-core:
9-
extends: .docker_build_script
10-
stage: build
11-
variables:
12-
PROJECT: "datafed"
13-
COMPONENT: "core"
14-
GIT_STRATEGY: clone
15-
DOCKER_FILE_PATH: "core/docker/Dockerfile"
16-
DATAFED_HARBOR_REGISTRY: "$REGISTRY" # needed by c_harbor_artifact_count
17-
BUILD_INTERMEDIATE: "FALSE"
18-
tags:
19-
- ci-datafed-core
20-
- docker
21-
rules:
22-
- changes:
23-
- docker/**/*
24-
- scripts/**/*
25-
- core/**/*
26-
- common/**/*
27-
- CMakeLists.txt
28-
- cmake/**/*
29-
- .gitlab-ci.yml
30-
when: on_success
9+
extends: .docker_build_script
10+
stage: build
11+
variables:
12+
PROJECT: "datafed"
13+
COMPONENT: "core"
14+
GIT_STRATEGY: clone
15+
DOCKER_FILE_PATH: "core/docker/Dockerfile"
16+
DATAFED_HARBOR_REGISTRY: "$REGISTRY" # needed by c_harbor_artifact_count
17+
BUILD_INTERMEDIATE: "FALSE"
18+
tags:
19+
- ci-datafed-core
20+
- docker
21+
rules:
22+
- changes:
23+
- docker/**/*
24+
- scripts/**/*
25+
- core/**/*
26+
- common/**/*
27+
- CMakeLists.txt
28+
- cmake/**/*
29+
- .gitlab-ci.yml
30+
when: on_success
3131

3232
retag-image:
33-
extends: .docker_retag_image
34-
stage: build
35-
variables:
36-
PROJECT: "datafed"
37-
COMPONENT: "core"
38-
GIT_STRATEGY: clone
39-
DATAFED_HARBOR_REGISTRY: "$REGISTRY" # needed by c_harbor_artifact_count
40-
BUILD_INTERMEDIATE: "FALSE"
41-
tags:
42-
- docker
43-
rules:
44-
- changes:
45-
- docker/**/*
46-
- scripts/**/*
47-
- core/**/*
48-
- common/**/*
49-
- CMakeLists.txt
50-
- cmake/**/*
51-
- .gitlab-ci.yml
52-
when: never
53-
- when: on_success
33+
extends: .docker_retag_image
34+
stage: build
35+
variables:
36+
PROJECT: "datafed"
37+
COMPONENT: "core"
38+
GIT_STRATEGY: clone
39+
DATAFED_HARBOR_REGISTRY: "$REGISTRY" # needed by c_harbor_artifact_count
40+
BUILD_INTERMEDIATE: "FALSE"
41+
tags:
42+
- docker
43+
rules:
44+
- changes:
45+
- docker/**/*
46+
- scripts/**/*
47+
- core/**/*
48+
- common/**/*
49+
- CMakeLists.txt
50+
- cmake/**/*
51+
- .gitlab-ci.yml
52+
when: never
53+
- when: on_success

.gitlab/build/build_foxx_image.yml

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,56 @@
11
---
22
stages:
3-
- build
3+
- build
44

55
include:
6-
- local: .gitlab/common.yml
6+
- local: .gitlab/common.yml
77

88
build-foxx:
9-
extends: .docker_build_script
10-
stage: build
11-
variables:
12-
PROJECT: "datafed"
13-
COMPONENT: "foxx"
14-
GIT_STRATEGY: clone
15-
DOCKER_FILE_PATH: "docker/Dockerfile.foxx"
16-
DATAFED_HARBOR_REGISTRY: "$REGISTRY" # needed by c_harbor_artifact_count
17-
BUILD_INTERMEDIATE: "FALSE"
18-
tags:
19-
- docker
20-
rules:
21-
- changes:
22-
- docker/**/*
23-
- scripts/**/*
24-
- cmake/**/*
25-
- core/database/**/*
26-
- core/CMakeLists.txt
27-
- common/proto/**/*
28-
- .gitlab-ci.yml
29-
- .gitlab/**/*
30-
- CMakeLists.txt
31-
when: on_success
9+
extends: .docker_build_script
10+
stage: build
11+
variables:
12+
PROJECT: "datafed"
13+
COMPONENT: "foxx"
14+
GIT_STRATEGY: clone
15+
DOCKER_FILE_PATH: "docker/Dockerfile.foxx"
16+
DATAFED_HARBOR_REGISTRY: "$REGISTRY" # needed by c_harbor_artifact_count
17+
BUILD_INTERMEDIATE: "FALSE"
18+
tags:
19+
- docker
20+
rules:
21+
- changes:
22+
- docker/**/*
23+
- scripts/**/*
24+
- cmake/**/*
25+
- core/database/**/*
26+
- core/CMakeLists.txt
27+
- common/proto/**/*
28+
- .gitlab-ci.yml
29+
- .gitlab/**/*
30+
- CMakeLists.txt
31+
when: on_success
3232

3333
retag-image:
34-
extends: .docker_retag_image
35-
stage: build
36-
variables:
37-
PROJECT: "datafed"
38-
COMPONENT: "foxx"
39-
GIT_STRATEGY: clone
40-
DATAFED_HARBOR_REGISTRY: "$REGISTRY" # needed by c_harbor_artifact_count
41-
BUILD_INTERMEDIATE: "FALSE"
42-
tags:
43-
- docker
44-
rules:
45-
- changes:
46-
- docker/**/*
47-
- scripts/**/*
48-
- cmake/**/*
49-
- core/database/**/*
50-
- core/CMakeLists.txt
51-
- common/proto/**/*
52-
- .gitlab-ci.yml
53-
- .gitlab/**/*
54-
- CMakeLists.txt
55-
when: never
56-
- when: on_success
34+
extends: .docker_retag_image
35+
stage: build
36+
variables:
37+
PROJECT: "datafed"
38+
COMPONENT: "foxx"
39+
GIT_STRATEGY: clone
40+
DATAFED_HARBOR_REGISTRY: "$REGISTRY" # needed by c_harbor_artifact_count
41+
BUILD_INTERMEDIATE: "FALSE"
42+
tags:
43+
- docker
44+
rules:
45+
- changes:
46+
- docker/**/*
47+
- scripts/**/*
48+
- cmake/**/*
49+
- core/database/**/*
50+
- core/CMakeLists.txt
51+
- common/proto/**/*
52+
- .gitlab-ci.yml
53+
- .gitlab/**/*
54+
- CMakeLists.txt
55+
when: never
56+
- when: on_success

0 commit comments

Comments
 (0)