Azure Orbital Space SDK - Hostsvc-Logging

hostsvc-logging-build

test-hostsvc-logging

Logging Service is the Azure Orbital Space SDK's host service to upload and download files to/from the ground. This is used for updating an app's configuration, sending a payload app's output to the ground, or sending a file to another satellite.

Outputs:

Item Description
Microsoft.Azure.SpaceSDK.HostServices.Logging.Plugins.1.0.0.nupkg DotNet Nuget Package for building Hostsvc-Logging Plugins
hostsvc-logging:0.11.0 Container image for app
hostsvc-logging:0.11.0_base Base container image for app. Requires SpaceSDK_Base and build service

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-hostsvc-logging
    
    cd azure-orbital-space-sdk-hostsvc-logging
    
    # Trigger the build_app.sh from azure-orbital-space-sdk-setup
    /var/spacedev/build/dotnet/build_app.sh \
        --repo-dir ${PWD} \
        --app-project src/hostsvc-logging.csproj \
        --nuget-project src_pluginBase/pluginBase.csproj \
        --architecture amd64 \
        --output-dir /var/spacedev/tmp/hostsvc-logging \
        --app-version 0.11.0 \
        --annotation-config azure-orbital-space-sdk-hostsvc-logging.yaml
  3. Copy the build artifacts to their locations in /var/spacedev

    sudo mkdir -p /var/spacedev/nuget/logging
    
    sudo cp /var/spacedev/tmp/hostsvc-logging/amd64/nuget/Microsoft.Azure.SpaceSDK.HostServices.Logging.Plugins.0.11.0.nupkg /var/spacedev/nuget/logging/
  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/logging/Microsoft.Azure.SpaceSDK.HostServices.Logging.Plugins.0.11.0.nupkg \
            --annotation-config azure-orbital-space-sdk-hostsvc-logging.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 opencode@microsoft.com 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.