Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Add Azure Container Instances infrastructure block #45

Merged
merged 106 commits into from
Oct 20, 2022
Merged

Commits on Sep 25, 2022

  1. Configuration menu
    Copy the full SHA
    679ac69 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2022

  1. Configuration menu
    Copy the full SHA
    438f453 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0535d31 View commit details
    Browse the repository at this point in the history
  3. Added ACI classes to setup.py

    rpeden committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    e52ff9b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    953723f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1a271d9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f6c6bb6 View commit details
    Browse the repository at this point in the history
  7. Formatting fixes

    rpeden committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    038acb4 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5e8c710 View commit details
    Browse the repository at this point in the history
  9. Fixed import formatting

    rpeden committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    f3e54f8 View commit details
    Browse the repository at this point in the history
  10. Added GPU count and SKU

    rpeden committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    bc1d5b6 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    6e6df25 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    b54b3b4 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    85124c5 View commit details
    Browse the repository at this point in the history
  14. Removed duplicate todo

    rpeden committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    40783c4 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    dd6f3f5 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    ce03635 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2022

  1. Configuration menu
    Copy the full SHA
    d64c036 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    725a5c1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    153b558 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9ef758e View commit details
    Browse the repository at this point in the history
  5. Added container group deletion

    rpeden committed Sep 27, 2022
    Configuration menu
    Copy the full SHA
    32b2150 View commit details
    Browse the repository at this point in the history
  6. Removed unused import

    rpeden committed Sep 27, 2022
    Configuration menu
    Copy the full SHA
    f66fa52 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2022

  1. Configuration menu
    Copy the full SHA
    f77769e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cead2fa View commit details
    Browse the repository at this point in the history
  3. Updated setup.py entrypoints

    rpeden committed Sep 28, 2022
    Configuration menu
    Copy the full SHA
    e020e5b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ea6af85 View commit details
    Browse the repository at this point in the history
  5. Removed command presence check because Infrastructure base call set…

    …s a default if missing
    rpeden committed Sep 28, 2022
    Configuration menu
    Copy the full SHA
    429868b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    97f8311 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2022

  1. Configuration menu
    Copy the full SHA
    81ddfd9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    56cf6e0 View commit details
    Browse the repository at this point in the history
  3. Removed unused argument

    rpeden committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    6707587 View commit details
    Browse the repository at this point in the history
  4. Added more test code

    rpeden committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    543c469 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b5b1f6e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    272fb65 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    870ccbc View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6ddd5c4 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    9bf509b View commit details
    Browse the repository at this point in the history
  10. Fixed docstring typo

    rpeden committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    9669f43 View commit details
    Browse the repository at this point in the history
  11. Moved container and group states to enums

    Purpose: reduce the chance of typos while checking states, and make it more difficult to accidentally use states that the Azure docs say should not be relied on as dependencies.
    rpeden committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    2995687 View commit details
    Browse the repository at this point in the history
  12. Added more tests

    rpeden committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    2ce0008 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    ca01b49 View commit details
    Browse the repository at this point in the history
  14. Added missing docstring

    rpeden committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    efdaaee View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    8f43edc View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    8bd4a15 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    ca8fe63 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2022

  1. Configuration menu
    Copy the full SHA
    dd47d76 View commit details
    Browse the repository at this point in the history
  2. Updated test fixture docstring

    rpeden committed Sep 30, 2022
    Configuration menu
    Copy the full SHA
    531cfa8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    731bec6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    17e17d1 View commit details
    Browse the repository at this point in the history
  5. Added more tests

    rpeden committed Sep 30, 2022
    Configuration menu
    Copy the full SHA
    a8a7e2c View commit details
    Browse the repository at this point in the history
  6. Removed PREFECT_API_URL assertion

    Can't assume which Prefect env variables will or won't be set in the CI test environment
    rpeden committed Sep 30, 2022
    Configuration menu
    Copy the full SHA
    f110626 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9512349 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3d52859 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    96b9cfc View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    9eee677 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    14cae57 View commit details
    Browse the repository at this point in the history
  12. Updated Azure container credentials slug

    Trying to find a balance between brevity and something that's understandable when displayed by `prefect block type ls`
    rpeden committed Sep 30, 2022
    Configuration menu
    Copy the full SHA
    86d26ab View commit details
    Browse the repository at this point in the history
  13. Updated DockerRegistry import to avoid re-registering DockerRegistry

    Before, calling `prefect block register -m prefect_azure.container_instance` registered `AzureContainerCredentials` and `AzureContainerJob` as expected, but also re-registered `DockerRegistry`, which we don't want.
    rpeden committed Sep 30, 2022
    Configuration menu
    Copy the full SHA
    3a10c7b View commit details
    Browse the repository at this point in the history
  14. Removed credential TODO

    Managed identities would be nice, but using service principal is in what we already do for other Azure services for ML. Easy to revisit this in the future if/when needed.
    rpeden committed Sep 30, 2022
    Configuration menu
    Copy the full SHA
    27c51b6 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2022

  1. Corrected test

    rpeden committed Oct 1, 2022
    Configuration menu
    Copy the full SHA
    b2554de View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2751292 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2dd3078 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2022

  1. Added client creation test

    rpeden committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    51831a7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7b3aa60 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2022

  1. Configuration menu
    Copy the full SHA
    6cb3832 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f42bd8f View commit details
    Browse the repository at this point in the history
  3. Added output streaming test

    rpeden committed Oct 4, 2022
    Configuration menu
    Copy the full SHA
    1182846 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    66562c8 View commit details
    Browse the repository at this point in the history
  5. Made subscription ID and resource group names required, updated resou…

    …rce group property name, updated tests
    rpeden committed Oct 4, 2022
    Configuration menu
    Copy the full SHA
    69bb3d6 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2022

  1. Removed unused method

    rpeden committed Oct 5, 2022
    Configuration menu
    Copy the full SHA
    4dc4653 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cff5826 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e7eee2d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fd5ff15 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2022

  1. Configuration menu
    Copy the full SHA
    e744cf8 View commit details
    Browse the repository at this point in the history
  2. Changed type field value

    rpeden committed Oct 6, 2022
    Configuration menu
    Copy the full SHA
    42452c5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    15a801a View commit details
    Browse the repository at this point in the history
  4. Added `_log_prefix property

    rpeden committed Oct 6, 2022
    Configuration menu
    Copy the full SHA
    58abfb3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c8aa1b5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5b6fb41 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    9b9a658 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a584ea6 View commit details
    Browse the repository at this point in the history
  9. Added tests

    rpeden committed Oct 6, 2022
    Configuration menu
    Copy the full SHA
    a0d1069 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    bc050a9 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    aecac4d View commit details
    Browse the repository at this point in the history
  12. Fixed EOF newline

    rpeden committed Oct 6, 2022
    Configuration menu
    Copy the full SHA
    c032e92 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2022

  1. Apply suggestions from code review

    Apply my own suggestions
    ahuang11 committed Oct 13, 2022
    Configuration menu
    Copy the full SHA
    871ecf5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e30d10e View commit details
    Browse the repository at this point in the history
  3. Merge branch 'main' of https://github.com/PrefectHQ/prefect-azure int…

    …o add_aci_infrastructure
    ahuang11 committed Oct 13, 2022
    Configuration menu
    Copy the full SHA
    3b9e3b2 View commit details
    Browse the repository at this point in the history
  4. Fix tests

    ahuang11 committed Oct 13, 2022
    Configuration menu
    Copy the full SHA
    03f053e View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2022

  1. Apply suggestions from code review

    Co-authored-by: Michael Adkins <contact@zanie.dev>
    ahuang11 and zanieb committed Oct 18, 2022
    Configuration menu
    Copy the full SHA
    ebb394a View commit details
    Browse the repository at this point in the history
  2. Revise based on suggestions

    ahuang11 committed Oct 18, 2022
    Configuration menu
    Copy the full SHA
    d2ccf69 View commit details
    Browse the repository at this point in the history
  3. Remove validator

    ahuang11 committed Oct 18, 2022
    Configuration menu
    Copy the full SHA
    3aa6230 View commit details
    Browse the repository at this point in the history
  4. Draft example

    ahuang11 committed Oct 18, 2022
    Configuration menu
    Copy the full SHA
    e176b28 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2022

  1. Fix readme example

    ahuang11 committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    63ab390 View commit details
    Browse the repository at this point in the history
  2. Fix tests

    ahuang11 committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    32c1eb0 View commit details
    Browse the repository at this point in the history
  3. Deleted poller print call

    rpeden committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    f6ee7cf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1d562f3 View commit details
    Browse the repository at this point in the history
  5. Updated container instance block to use container group name as uniqu…

    …e identifier
    
    And updated tests accordingly
    rpeden committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    22a3718 View commit details
    Browse the repository at this point in the history
  6. Add title to subnet ID field

    Co-authored-by: Alexander Streed <desertaxle@users.noreply.github.com>
    rpeden and desertaxle committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    79818ee View commit details
    Browse the repository at this point in the history
  7. Removed unnecessary entrypoint from setup.py

    Co-authored-by: Alexander Streed <desertaxle@users.noreply.github.com>
    rpeden and desertaxle committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    45bd096 View commit details
    Browse the repository at this point in the history
  8. Made polling interval description specific about time unit

    Co-authored-by: Alexander Streed <desertaxle@users.noreply.github.com>
    rpeden and desertaxle committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    c0bf089 View commit details
    Browse the repository at this point in the history
  9. Removed block type slug from container instance credentials block

    Co-authored-by: Alexander Streed <desertaxle@users.noreply.github.com>
    rpeden and desertaxle committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    58d306a View commit details
    Browse the repository at this point in the history
  10. Renamed ContainerInstanceJob to AzureContainerInstanceJob

    Co-authored-by: Alexander Streed <desertaxle@users.noreply.github.com>
    rpeden and desertaxle committed Oct 19, 2022
    Configuration menu
    Copy the full SHA
    fde6244 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    7f3db9d View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    2164719 View commit details
    Browse the repository at this point in the history