Skip to content

microsoft/azure-orbital-space-sdk-app-healthcheck

Repository files navigation

Azure Orbital Space SDK - Health Check App

This repository hosts the HealthCheck app that can be used to query the services like a payload app. Any errors are represented as a failed pod run.

Outputs:

Item Description
app-healthcheck:0.11.0 Container image for app
app-healthcheck: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.

    # clone this repo
    git clone https://github.com/microsoft/azure-orbital-space-sdk-app-healthcheck
    
    cd azure-orbital-space-sdk-app-healthcheck
    
    # Trigger the build_app.sh from azure-orbital-space-sdk-setup
    /var/spacedev/build/dotnet/build_app.sh \
        --repo-dir ${PWD} \
        --app-project dotnet-src/app-healthcheck.csproj \
        --architecture amd64 \
        --output-dir /var/spacedev/tmp/app-healthcheck \
        --app-version 0.11.0 \
        --annotation-config azure-orbital-space-sdk-app-healthcheck.yaml \
        --no-push
  3. Copy the build artifacts to their locations in /var/spacedev

    sudo mkdir -p /var/spacedev/yamls/apps/app-healthcheck
    
    sudo cp ./schedules/* /var/spacedev/yamls/apps/app-healthcheck/
  4. Push the artifacts to the container registry. Perform the same steps for building in arm64, but replace with --architecture arm64.

    # Push the yamls and schedules to the container registry
    while read -r appFile; do
        /var/spacedev/build/push_build_artifact.sh \
            --artifact "${appFile}" \
            --annotation-config azure-orbital-space-sdk-app-healthcheck.yaml \
            --architecture amd64 \
            --artifact-version 0.11.0
    done < <(find "/var/spacedev/yamls/apps/app-healthcheck/" -type f)
    
    
    

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

 
 
 

Contributors 4

  •  
  •  
  •  
  •