Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stage wheels into coresvc-registry #88

Merged
merged 5 commits into from
Jul 26, 2024
Merged

stage wheels into coresvc-registry #88

merged 5 commits into from
Jul 26, 2024

Conversation

bradarm
Copy link
Contributor

@bradarm bradarm commented Jul 26, 2024

This PR introduces the ability to stage wheels into coresvc-registry's PyPI server.

Any .whl files a user places into this repository's wheel/ directory will automatically be placed into ${SPACEFX_DIR}/registry/pypiserver/packages, which the PyPI server will mount internally as /data/packages. Users can create whatever repository structure they want within wheel/ - we'll only move the wheels they contain.

As part of this, the staging order has been slightly modified so that the Space SDK Python Client Library microsoftazurespacefx is automatically staged into coresvc-registry's PyPI server. This will allow us to install this package via pip against coresvc-registry's PyPI server endpoint and get away from installing the package from the wheel file directly.

@bradarm bradarm requested a review from a team as a code owner July 26, 2024 21:05
@bradarm
Copy link
Contributor Author

bradarm commented Jul 26, 2024

Verification

The microsoftazurespacefx is available in coresvc-registry's PyPI server at bootup - indicating that the wheel was staged properly to the right location and PyPI is able to see it at bootup.

[coresvc_registry.sh] [INFO] 2024-07-26 20:51:42: ...successfully started core-registry.
[coresvc_registry.sh] [INFO] 2024-07-26 20:51:42: END: start_registry_docker
[coresvc_registry.sh] [INFO] 2024-07-26 20:51:42: ------------------------------------------
[coresvc_registry.sh] [INFO] 2024-07-26 20:51:42: END: coresvc_registry.sh
azureuser@barmstrong-west-us-2-vm:~/azure-orbital-space-sdk-setup$ curl https://localhost:8080/simple/
    <!DOCTYPE html>
    <html>
        <head>
            <title>Simple Index</title>
        </head>
        <body>
            <h1>Simple Index</h1>
                 <a href="microsoftazurespacefx/">microsoftazurespacefx</a><br>
        </body>
    </html>

@bigtallcampbell bigtallcampbell merged commit d9b5b52 into main Jul 26, 2024
9 checks passed
@bigtallcampbell bigtallcampbell deleted the bradarm/wheel branch July 26, 2024 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants