Skip to content
  1. Sep 21, 2023
    • Hugues Kamba Mpiana's avatar
      utils: Create aws_device_update.py for managing AWS Device Update · 77314a37
      Hugues Kamba Mpiana authored
      
      
      To see options, run
      
          python utils/cloud_helper/aws_device_update.py --help
          python utils/cloud_helper/aws_device_update.py import --help
          python utils/cloud_helper/aws_device_update.py attach-policy --help
          python utils/cloud_helper/aws_device_update.py deploy --help
          python utils/cloud_helper/aws_device_update.py cleanup --help
          python utils/cloud_helper/aws_device_update.py delete-all --help
          python utils/cloud_helper/aws_device_update.py delete-thing --help
      
      The following variables need to be set in the CI environment:
      * AWS_REGION
      * IOT_OTA_ROLE_NAME
      * IOT_OTA_CERT_ID
      
      Signed-off-by: Hugues Kamba Mpiana's avatarHugues Kamba-Mpiana <hugues.kambampiana@arm.com>
      77314a37
  2. Aug 30, 2023
    • Saheer Babu's avatar
      cleanup: Update Azure cleanup policy · 1230f2dc
      Saheer Babu authored
      
      
      Azure devices are for kept in portal for 7 days after pipeline is run.
      This was done to enable developers to rerun the CI jobs. But This seems
      to be creating a huge number of devices in Azure portal. To limit this:
      
      - Delete devices if pipeline was successful.
      - Delete devices if pipeline was finished more than a day ago.
      
      Signed-off-by: Saheer Babu's avatarSaheer Babu <saheer.babu@arm.com>
      1230f2dc
  3. Jul 18, 2023
  4. Jul 05, 2023
  5. Jul 04, 2023
  6. Jun 20, 2023
  7. Jun 08, 2023
  8. Jun 06, 2023
  9. Apr 21, 2023
  10. Apr 13, 2023
  11. Mar 30, 2023
  12. Mar 26, 2023
  13. Mar 24, 2023
  14. Mar 02, 2023
    • Lingkai Dong's avatar
      azure-update: Make functions callable from Python scripts · 7091dfb8
      Lingkai Dong authored
      
      
      In azure_device_update.py, functions wrapped with the click module can
      be called from command line, but they cannot be called from another
      Python script like normal functions because click overrides function
      parameters.
      
      To allow Azure Device Update functions to be called from another Python
      script, put implementation code in regular functions and make click-
      wrapped commands call those implementation functions.
      
      Signed-off-by: Lingkai Dong's avatarLingkai Dong <lingkai.dong@arm.com>
      7091dfb8
  15. Feb 24, 2023
  16. Feb 21, 2023
  17. Feb 20, 2023
  18. Feb 03, 2023
  19. Jan 31, 2023
    • Lingkai Dong's avatar
      utils: Create azure_device_update.py for managing Azure Device Update · 04220174
      Lingkai Dong authored and Hugues Kamba Mpiana's avatar Hugues Kamba Mpiana committed
      
      
      To see options, run
      
          python utils/cloud_helper/azure_device_update.py --help
          python utils/cloud_helper/azure_device_update.py import --help
          python utils/cloud_helper/azure_device_update.py deploy --help
          python utils/cloud_helper/azure_device_update.py cleanup --help
      
      The following variables need to be set in the CI environment:
      * AZURE_CLIENT_ID
      * AZURE_CLIENT_SECRET
      * AZURE_TENANT_ID
      * AZURE_DEVICE_UPDATE_ENDPOINT
      * AZURE_DEVICE_UPDATE_INSTANCE
      * AZURE_STORAGE_URL
      * AZURE_STORAGE_CONTAINER
      * AZURE_STORAGE_CONN_STR
      * AZURE_STORAGE_SAS_TOKEN
      
      Signed-off-by: Lingkai Dong's avatarLingkai Dong <lingkai.dong@arm.com>
      04220174
  20. Jan 19, 2023
  21. Jan 18, 2023
  22. Jan 16, 2023
  23. Jan 15, 2023
Loading