Skip to content

Create Dockerfile image with sdk

Proposers

  • Alvaro Andrés Anaya (Telefónica)

Description

In order to create the new cicd pipeline related with sdk, a dockerfile with sdk is needed. We need to create a docker image that perform:

  1. Clone of SDK repository of branch indicated by ci/cd. (only the branch involved)
  2. Build SDK library.
  3. pip install of SDK built on previous step.
  4. Execute "happy path" python code with next steps:
    1. Onboard provider
    2. Publish API. (OAUTH Security Method)
    3. (optional) subscription to Events by Provider.
    4. Onboard Invoker.
    5. (optional) Subscribe Invoker to events.
    6. Discover API
    7. Create Security Context.
    8. Get Auth.

If any step on python code fails this should be notify to pipeline in someway.

All code of this should be placed on separate folder at SDK repository.

The docker image must follow the steps for local deployment of sdk: SDK Developers guide

Acknowledgements

This work is funded by the European Commission through the FIDAL project with Grant Agreement number 101096146.

Edited by Jorge Moratinos