Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: update control-plane submodule addressing infinite rebuilds #406

Merged
merged 2 commits into from
Jan 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/pr-commitlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0
- name: Install CommitLint and Dependencies
run: npm install @commitlint/config-conventional @commitlint/cli
Expand All @@ -21,5 +22,14 @@ jobs:
if [ ! ${{ github.ref }} = "refs/heads/staging" ]; then
first_commit=${{ github.event.pull_request.base.sha }}
last_commit=${{ github.event.pull_request.head.sha }}
# Ensure code-review commits don't get merged
sed "s/code-review-rule': \[0/code-review-rule': [2/g" -i commitlint.config.js
npx commitlint --from $first_commit --to $last_commit -V

git log --pretty=format:%s $first_commit..$last_commit > ./subjects
duplicates="$(cat ./subjects | sort | uniq -D)"
if [ "$duplicates" != "" ]; then
echo -e "Duplicate commits found:\n$duplicates" >&2
exit 1
fi
fi
11 changes: 0 additions & 11 deletions commitlint.config.js

This file was deleted.

1 change: 1 addition & 0 deletions commitlint.config.js
2 changes: 1 addition & 1 deletion dependencies/control-plane
Submodule control-plane updated 53 files
+9 −0 .github/workflows/pr-commitlint.yml
+8 −7 Cargo.lock
+16 −1 commitlint.config.js
+9 −1 control-plane/agents/src/bin/core/controller/scheduling/mod.rs
+33 −0 control-plane/agents/src/bin/core/controller/scheduling/resources/mod.rs
+101 −0 control-plane/agents/src/bin/core/controller/scheduling/volume.rs
+6 −1 control-plane/agents/src/bin/core/controller/scheduling/volume_policy/mod.rs
+125 −20 control-plane/agents/src/bin/core/controller/scheduling/volume_policy/pool.rs
+66 −18 control-plane/agents/src/bin/core/controller/scheduling/volume_policy/simple.rs
+10 −1 control-plane/agents/src/bin/core/controller/scheduling/volume_policy/thick.rs
+15 −3 control-plane/agents/src/bin/core/pool/replica_operations.rs
+2 −0 control-plane/agents/src/bin/core/pool/specs.rs
+87 −0 control-plane/agents/src/bin/core/tests/volume/capacity_limit.rs
+2 −0 control-plane/agents/src/bin/core/tests/volume/mod.rs
+181 −0 control-plane/agents/src/bin/core/tests/volume/resize.rs
+32 −7 control-plane/agents/src/bin/core/volume/operations.rs
+29 −2 control-plane/agents/src/bin/core/volume/operations_helper.rs
+18 −1 control-plane/agents/src/bin/core/volume/scheduling.rs
+69 −7 control-plane/agents/src/bin/core/volume/specs.rs
+47 −0 control-plane/agents/src/common/errors.rs
+1 −0 control-plane/csi-driver/Cargo.toml
+17 −5 control-plane/csi-driver/src/bin/controller/controller.rs
+71 −4 control-plane/csi-driver/src/context.rs
+1 −0 control-plane/grpc/proto/v1/misc/common.proto
+2 −0 control-plane/grpc/proto/v1/volume/volume.proto
+2 −0 control-plane/grpc/src/misc/traits.rs
+19 −11 control-plane/grpc/src/operations/volume/client.rs
+22 −0 control-plane/grpc/src/operations/volume/traits.rs
+3 −1 control-plane/rest/openapi-specs/v0_api_spec.yaml
+1 −0 control-plane/rest/src/versions/v0.rs
+1 −0 control-plane/stor-port/src/transport_api/mod.rs
+4 −0 control-plane/stor-port/src/types/mod.rs
+4 −2 control-plane/stor-port/src/types/v0/store/replica.rs
+3 −1 control-plane/stor-port/src/types/v0/store/volume.rs
+2 −0 control-plane/stor-port/src/types/v0/transport/mod.rs
+2 −2 control-plane/stor-port/src/types/v0/transport/replica.rs
+3 −1 control-plane/stor-port/src/types/v0/transport/volume.rs
+1 −1 k8s/operators/src/lib.rs
+6 −1 k8s/operators/src/pool/context.rs
+4 −4 k8s/operators/src/pool/diskpool/client.rs
+9 −6 k8s/operators/src/pool/diskpool/crd/migration.rs
+5 −0 k8s/operators/src/pool/diskpool/crd/mod.rs
+0 −0 k8s/operators/src/pool/diskpool/crd/v1alpha1.rs
+0 −0 k8s/operators/src/pool/diskpool/crd/v1beta1.rs
+5 −0 k8s/operators/src/pool/diskpool/crd/v1beta2.rs
+1 −5 k8s/operators/src/pool/diskpool/mod.rs
+6 −6 k8s/operators/src/pool/main.rs
+3 −0 scripts/git/branch_ancestor.sh
+40 −0 tests/bdd/features/volume/topology/pool-affinity-spread.feature
+642 −0 tests/bdd/features/volume/topology/test_pool_affinity_spread.py
+1 −1 tests/bdd/requirements.txt
+1 −1 utils/dependencies
+10 −3 utils/utils-lib/build.rs