Skip to content

microsoft/azure-orbital-space-sdk-client

Repository files navigation

Azure Orbital Space SDK - Client Libraries

spacefx-client-build

This repository hosts the DotNet and Python client libraries used by Payload Apps to interact with the Microsoft Azure Orbital Space SDK

Outputs:

Item Description
Microsoft.Azure.SpaceSDK.Client.1.0.0.nupkg DotNet Nuget Package for Payload Apps to use the Microsoft Azure Orbital Space SDK
microsoftazurespacefx-1.0.0-py3-none-any.whl Python Wheel for Payload Apps to use the Microsoft Azure Orbital Space SDK

Building

  1. Provision /var/spacedev

    # clone the azure-orbital-space-sdk-setup repo and provision /var/spacedev
    git clone https://github.com/microsoft/azure-orbital-space-sdk-setup
    cd azure-orbital-space-sdk-setup
    bash ./.vscode/copy_to_spacedev.sh
    cd -
  2. Build the nuget packages and the container images. (Note: container images will automatically push)

    # clone this repo
    git clone https://github.com/microsoft/azure-orbital-space-sdk-client
    
    cd azure-orbital-space-sdk-client
    
    # Trigger the dotnet/build_app.sh from azure-orbital-space-sdk-setup
    # to get our dotnet client library
    /var/spacedev/build/dotnet/build_app.sh \
        --repo-dir ${PWD} \
        --app-project src/spacesdk-client.csproj \
        --nuget-project src/spacesdk-client.csproj \
        --output-dir /var/spacedev/tmp/spacesdk-client \
        --app-version 0.11.0 \
        --no-container-build
    
    # Trigger the python/build_app.sh from azure-orbital-space-sdk-setup
    # to get our python client wheel
    /var/spacedev/build/python/build_app.sh \
        --repo-dir ${PWD} \
        --app-project spacefx \
        --output-dir /var/spacedev/tmp/spacesdk-client \
        --app-version 0.11.0 \
        --no-container-build
  3. Copy the build artifacts to their locations in /var/spacedev

    sudo mkdir -p /var/spacedev/nuget/client
    sudo mkdir -p /var/spacedev/wheel/microsoftazurespacefx
    
    sudo cp /var/spacedev/tmp/spacesdk-client/amd64/nuget/Microsoft.Azure.SpaceSDK.Client.0.11.0.nupkg /var/spacedev/nuget/client/
    sudo cp /var/spacedev/tmp/spacesdk-client/amd64/dist/microsoftazurespacefx-0.11.0-py3-none-any.whl /var/spacedev/wheel/microsoftazurespacefx/
  4. Push the artifacts to the container registry

    # Push the nuget package to the container registry
    /var/spacedev/build/push_build_artifact.sh \
            --artifact /var/spacedev/nuget/client/Microsoft.Azure.SpaceSDK.Client.0.11.0.nupkg \
            --annotation-config azure-orbital-space-sdk-client.yaml \
            --architecture amd64 \
            --artifact-version 0.11.0
    
    /var/spacedev/build/push_build_artifact.sh \
            --artifact /var/spacedev/wheel/microsoftazurespacefx/microsoftazurespacefx-0.11.0-py3-none-any.whl \
            --annotation-config azure-orbital-space-sdk-client.yaml \
            --architecture amd64 \
            --artifact-version 0.11.0

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages