diff --git a/.circleci/config.yml b/.circleci/config.yml index f0d4abb..946c3b5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -56,7 +56,7 @@ jobs: name: "build and test" command: | set -ex - ./script/install_attestation_lib.sh -p sim + bash ./script/install_attestation_lib.sh -p sim export PATH="/root/.cargo/bin:$PATH" export PATH="/root/.local/bin:$PATH" cargo build @@ -149,10 +149,10 @@ jobs: source /root/miniconda3/etc/profile.d/conda.sh conda create -n build python=3.10.14 -y conda activate build - python3 -m pip install twine auditwheel patchelf + pip install twine cd capsule-manager-sdk/python python3 setup.py bdist_wheel && twine check dist/* - python3 -m twine upload -r pypi -u __token__ -p ${PYPI_TWINE_TOKEN} dist/*.whl + twine upload -u __token__ -p ${PYPI_TWINE_TOKEN} dist/* # Invoke jobs via workflows # See: https://circleci.com/docs/2.0/configuration-reference/#workflows @@ -162,11 +162,7 @@ workflows: not: << pipeline.parameters.GHA_Action >> jobs: - cm_ut - - cm_sdk_ut: - filters: - paths: - only: - - "capsule-manager-sdk/*" + - cm_sdk_ut cm-docker-image-publish-workflow: when: and: @@ -177,6 +173,6 @@ workflows: - cm_docker_image_publish cm-sdk-publish-workflow: when: - - equal: ["cm_sdk_publish", << pipeline.parameters.GHA_Action >>] + equal: ["cm_sdk_publish", << pipeline.parameters.GHA_Action >>] jobs: - - cm_sdk_publish \ No newline at end of file + - cm_sdk_publish diff --git a/bin/grpc-as/src/main.rs b/bin/grpc-as/src/main.rs index 4c1739c..e03e9ce 100644 --- a/bin/grpc-as/src/main.rs +++ b/bin/grpc-as/src/main.rs @@ -122,9 +122,6 @@ async fn main() -> Result<(), Box> { let mut client_ca_pem = fs::read_to_string(&path).unwrap().as_bytes().to_vec(); client_pem_vec.append(&mut client_ca_pem); } - "read client ca pem {:?}", - std::str::from_utf8(&client_pem_vec)? - ); let client_ca_cert = tonic::transport::Certificate::from_pem(client_pem_vec); let tls_config = tonic::transport::ServerTlsConfig::new()