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

refactor(workflows): use 4vcpu runner for weaver data sharing workflow #2369

Merged
merged 2 commits into from
Apr 5, 2023
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
4 changes: 2 additions & 2 deletions .github/workflows/test_weaver-asset-transfer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ concurrency:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
fabric-asset-transfer:
asset-transfer-fabric:
if: ${{ false }}
# The type of runner that the job will run on
runs-on: buildjet-2vcpu-ubuntu-2204
Expand Down Expand Up @@ -410,7 +410,7 @@ jobs:
fi
working-directory: weaver/samples/fabric/fabric-cli

fabric-asset-transfer-local:
asset-transfer-fabric-local:
# if: ${{ false }}
# The type of runner that the job will run on
runs-on: buildjet-2vcpu-ubuntu-2204
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_weaver-corda-interop-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ concurrency:
cancel-in-progress: true

jobs:
test_local:
unit_test_interop_cordapp:
runs-on: buildjet-2vcpu-ubuntu-2204
steps:
- uses: actions/checkout@v2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test_weaver-data-sharing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
data-sharing:
if: ${{ false }}
# The type of runner that the job will run on
runs-on: buildjet-2vcpu-ubuntu-2204
runs-on: buildjet-4vcpu-ubuntu-2204

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down Expand Up @@ -341,7 +341,7 @@ jobs:
data-sharing-docker-local:
# if: ${{ false }}
# The type of runner that the job will run on
runs-on: buildjet-2vcpu-ubuntu-2204
runs-on: buildjet-4vcpu-ubuntu-2204

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down Expand Up @@ -707,7 +707,7 @@ jobs:
data-sharing-local:
# if: ${{ false }}
# The type of runner that the job will run on
runs-on: buildjet-2vcpu-ubuntu-2204
runs-on: buildjet-4vcpu-ubuntu-2204

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test_weaver-docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ concurrency:
cancel-in-progress: true

jobs:
relay:
build_docker_relay:
# if: ${{ false }}
runs-on: buildjet-2vcpu-ubuntu-2204
steps:
Expand All @@ -26,7 +26,7 @@ jobs:
run: make build-server-local
working-directory: weaver/core/relay

fabric-driver-local:
build_docker_fabric_driver_local:
# if: ${{ false }}
runs-on: buildjet-2vcpu-ubuntu-2204
steps:
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
run: make build-image-local
working-directory: weaver/core/drivers/fabric-driver

fabric-driver-packages:
build_docker_fabric_driver_packages:
if: ${{ false }}
runs-on: buildjet-2vcpu-ubuntu-2204
steps:
Expand All @@ -74,7 +74,7 @@ jobs:
run: make build-image
working-directory: weaver/core/drivers/fabric-driver

corda-driver-local:
build_docker_corda_driver_local:
runs-on: buildjet-2vcpu-ubuntu-2204
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
run: make image-local
working-directory: weaver/core/drivers/corda-driver

corda-driver-packages:
build_docker_corda_driver_packages:
if: ${{ false }}
runs-on: buildjet-2vcpu-ubuntu-2204
steps:
Expand Down Expand Up @@ -131,7 +131,7 @@ jobs:
run: make image
working-directory: weaver/core/drivers/corda-driver

iin-agent-local:
build_docker_iin_agent_local:
runs-on: buildjet-2vcpu-ubuntu-2204
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test_weaver-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ concurrency:
cancel-in-progress: true

jobs:
test_interopcc:
unit_test_interopcc:
runs-on: buildjet-2vcpu-ubuntu-2204
steps:
- uses: actions/checkout@v2
Expand All @@ -37,7 +37,7 @@ jobs:
run: go test -v ./...
working-directory: weaver/core/network/fabric-interop-cc/contracts/interop

test_assetmgmt:
unit_test_assetmgmt:
# if: ${{ false }} # disable
runs-on: buildjet-2vcpu-ubuntu-2204
steps:
Expand All @@ -60,7 +60,7 @@ jobs:
run: go test -v ./...
working-directory: weaver/core/network/fabric-interop-cc/interfaces/asset-mgmt

test_simplestate:
unit_test_simplestate:
runs-on: buildjet-2vcpu-ubuntu-2204
steps:
- uses: actions/checkout@v2
Expand All @@ -82,7 +82,7 @@ jobs:
run: go test -v ./...
working-directory: weaver/samples/fabric/simplestate

test_simpleasset:
unit_test_simpleasset:
runs-on: buildjet-2vcpu-ubuntu-2204
steps:
- uses: actions/checkout@v2
Expand All @@ -104,7 +104,7 @@ jobs:
run: go test -v ./...
working-directory: weaver/samples/fabric/simpleasset

test_simpleassetandinterop:
unit_test_simpleassetandinterop:
runs-on: buildjet-2vcpu-ubuntu-2204
steps:
- uses: actions/checkout@v2
Expand All @@ -126,7 +126,7 @@ jobs:
run: go test -v ./...
working-directory: weaver/samples/fabric/simpleassetandinterop

test_simpleassettransfer:
unit_test_simpleassettransfer:
runs-on: buildjet-2vcpu-ubuntu-2204
steps:
- uses: actions/checkout@v2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test_weaver-node-pkgs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ concurrency:
cancel-in-progress: true

jobs:
node_sdk_local:
unit_test_weaver_node_sdk_local:

runs-on: buildjet-2vcpu-ubuntu-2204

Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
run: npm run test
working-directory: weaver/sdks/fabric/interoperation-node-sdk

iin_agent_local:
unit_test_iin_agent_local:

runs-on: buildjet-2vcpu-ubuntu-2204

Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
run: npm run test
working-directory: weaver/core/identity-management/iin-agent

build-docs:
build_docs:
runs-on: buildjet-2vcpu-ubuntu-2204
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test_weaver-relay.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ concurrency:
cancel-in-progress: true

jobs:
relay-local:
unit_test_relay_local:
# if: ${{ false }}
runs-on: buildjet-2vcpu-ubuntu-2204
steps:
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
cargo run --bin client 9085 localhost:9085/Dummy_Network/abc:abc:abc:abc
working-directory: weaver/core/relay

relay-tls-local:
unit_test_relay_tls_local:
# if: ${{ false }}
runs-on: buildjet-2vcpu-ubuntu-2204
steps:
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
cargo run --bin client-tls 9085 localhost:9085/Dummy_Network/abc:abc:abc:abc
working-directory: weaver/core/relay

relay:
unit_test_relay:
if: ${{ false }}
runs-on: buildjet-2vcpu-ubuntu-2204
steps:
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
cargo run --bin client 9085 localhost:9085/Dummy_Network/abc:abc:abc:abc
working-directory: weaver/core/relay

relay-tls:
unit_test_relay_tls:
if: ${{ false }}
runs-on: buildjet-2vcpu-ubuntu-2204
steps:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,5 @@ site/
!packages/cactus-plugin-ledger-connector-*-socketio/src/main/typescript/common/core/bin

tools/docker/geth-testnet/data-geth1/

.history/
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"moduleResolution": "node",
"module": "commonjs",
"declaration": true,
"sourceMap": true
"sourceMap": true,
"skipLibCheck": true
},
"include": [
"./src/**/*"
Expand Down