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

[RFC-0003] Implement OCIRepository reconciliation #788

Merged
merged 25 commits into from
Aug 8, 2022
Merged

[RFC-0003] Implement OCIRepository reconciliation #788

merged 25 commits into from
Aug 8, 2022

Commits on Aug 2, 2022

  1. Add OCIRepository kind to v1beta2 API

    Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
    stefanprodan committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    46fe7a3 View commit details
    Browse the repository at this point in the history
  2. Implement OCIRepository controller for public repos

    Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
    stefanprodan committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    0746673 View commit details
    Browse the repository at this point in the history
  3. Implement OCIRepository ref.semver

    Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
    stefanprodan committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    768adc2 View commit details
    Browse the repository at this point in the history
  4. Implements basic auth with static credentials OCIRepository

    Signed-off-by: rashedkvm <krashed@vmware.com>
    rashedkvm authored and stefanprodan committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    c9f5af7 View commit details
    Browse the repository at this point in the history
  5. Add oci:// prefix

    Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
    stefanprodan committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    ded0c2d View commit details
    Browse the repository at this point in the history
  6. Use the internal pkg to handle errors

    Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
    stefanprodan committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    4506acb View commit details
    Browse the repository at this point in the history
  7. OCIRepository client cert auth

    Signed-off-by: Rashed Kamal <krashed@vmware.com>
    rashedkvm authored and stefanprodan committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    942d928 View commit details
    Browse the repository at this point in the history
  8. Normalise error messages

    Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
    stefanprodan committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    9a6ff19 View commit details
    Browse the repository at this point in the history
  9. Add OCIRepository API spec to docs

    Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
    stefanprodan committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    4b07292 View commit details
    Browse the repository at this point in the history
  10. Remove spec.verify from the API

    Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
    stefanprodan committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    ada42ee View commit details
    Browse the repository at this point in the history
  11. Remove the default tag value from the CRD

    Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
    stefanprodan committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    5072091 View commit details
    Browse the repository at this point in the history
  12. Add the OCI metadata to the internal artifact

    Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
    stefanprodan committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    05f9c0e View commit details
    Browse the repository at this point in the history
  13. Add tests for oci controller

    Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
    somtochiama authored and stefanprodan committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    b072d78 View commit details
    Browse the repository at this point in the history
  14. Add tests for getArtifactURL

    Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
    somtochiama authored and stefanprodan committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    e42e9d0 View commit details
    Browse the repository at this point in the history
  15. Add test for reconcileArtifact

    Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
    somtochiama authored and stefanprodan committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    648beef View commit details
    Browse the repository at this point in the history
  16. reconcile artifact

    Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
    somtochiama authored and stefanprodan committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    eb40efe View commit details
    Browse the repository at this point in the history
  17. Add tests for reconcile delete

    Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
    somtochiama authored and stefanprodan committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    25b8825 View commit details
    Browse the repository at this point in the history
  18. Add filter option when running tests

    Allow running specific controller tests by specifying a prefix e.g.
    GO_TEST_PREFIX=TestOCI make test-ctrl
    
    Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
    stefanprodan committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    799d7df View commit details
    Browse the repository at this point in the history
  19. Add upstream source and revision to logs and events

    Enrich the successful reconciliation event message with the upstream opencontainers annotations
    
    Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
    stefanprodan committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    acc95d8 View commit details
    Browse the repository at this point in the history
  20. Add the provider field to the OCIRepository API

    Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
    stefanprodan committed Aug 2, 2022
    Configuration menu
    Copy the full SHA
    8cc8798 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2022

  1. Implement OCI auth for cloud providers

    Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
    stefanprodan committed Aug 4, 2022
    Configuration menu
    Copy the full SHA
    63c9439 View commit details
    Browse the repository at this point in the history
  2. Mark resource as stalled on invalid URL

    Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
    stefanprodan committed Aug 4, 2022
    Configuration menu
    Copy the full SHA
    c52576c View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2022

  1. API docs improvements

    Co-authored-by: Paulo Gomes <paulo.gomes@weave.works>
    Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
    stefanprodan and Paulo Gomes authored Aug 5, 2022
    Configuration menu
    Copy the full SHA
    1966411 View commit details
    Browse the repository at this point in the history
  2. Add OCI failure reasons to API

    Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
    stefanprodan committed Aug 5, 2022
    Configuration menu
    Copy the full SHA
    1a59935 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2022

  1. Add the opencontainers annotations to API docs

    Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
    stefanprodan committed Aug 8, 2022
    Configuration menu
    Copy the full SHA
    94e98ee View commit details
    Browse the repository at this point in the history