Skip to content

microsoft/azure-orbital-space-sdk-hostsvc-sensor

Repository files navigation

Azure Orbital Space SDK - Hostsvc-Sensor

hostsvc-sensor-build

test-hostsvc-sensor

This repository hosts the Hostsvc-Sensor.

Outputs:

Item Description
Microsoft.Azure.SpaceSDK.HostServices.Sensor.Plugins.1.0.0.nupkg DotNet Nuget Package for building Hostsvc-Sensor Plugins
hostsvc-sensor:0.11.0 Container image for app
hostsvc-sensor: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-sensor
    
    cd azure-orbital-space-sdk-hostsvc-sensor
    
    # 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-sensor.csproj \
        --nuget-project src_pluginBase/pluginBase.csproj \
        --architecture amd64 \
        --output-dir /var/spacedev/tmp/hostsvc-sensor \
        --app-version 0.11.0 \
        --annotation-config azure-orbital-space-sdk-hostsvc-sensor.yaml
  3. Copy the build artifacts to their locations in /var/spacedev

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

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages