Skip to content

Commit

Permalink
Update build_platform.py
Browse files Browse the repository at this point in the history
add drazzy url back
  • Loading branch information
caternuson authored May 9, 2024
1 parent a505386 commit 72918f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
CHECK = u'\N{check mark}'


BSP_URLS = "https://adafruit.github.io/arduino-board-index/package_adafruit_index.json,http://arduino.esp8266.com/stable/package_esp8266com_index.json,https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json,https://sandeepmistry.github.io/arduino-nRF5/package_nRF5_boards_index.json,https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json"
BSP_URLS = "https://adafruit.github.io/arduino-board-index/package_adafruit_index.json,http://arduino.esp8266.com/stable/package_esp8266com_index.json,https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json,https://sandeepmistry.github.io/arduino-nRF5/package_nRF5_boards_index.json,https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json,http://drazzy.com/package_drazzy.com_index.json"

class ColorPrint:

Expand Down

5 comments on commit 72918f8

@hathach
Copy link
Member

@hathach hathach commented on 72918f8 May 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@caternuson seems like re-adding drazzy causing issue again, maybe I miss something

Error initializing instance: Some indexes could not be updated.
Error initializing instance: Loading index file: loading json index file /home/runner/.arduino15/package_drazzy.com_index.json: open /home/runner/.arduino15/package_drazzy.com_index.json: no such file or directory
Some indexes could not be updated.
Error initializing instance: Some indexes could not be updated.
Error initializing instance: Loading index file: loading json index file /home/runner/.arduino[15](https://github.com/adafruit/Adafruit_TinyUSB_Arduino/actions/runs/9279862993/job/25533948702#step:7:16)/package_drazzy.com_index.json: open /home/runner/.arduino15/package_drazzy.com_index.json: no such file or directory
Some indexes could not be updated.
Error initializing instance: Some indexes could not be updated.
Error initializing instance: Loading index file: loading json index file /home/runner/.arduino15/package_drazzy.com_index.json: open /home/runner/.arduino15/package_drazzy.com_index.json: no such file or directory
Some indexes could not be updated.
build dir: /home/runner/work/Adafruit_TinyUSB_Arduino/Adafruit_TinyUSB_Arduino

########################################
INSTALLING ARDUINO BOARDS
########################################
arduino-cli core update-index --additional-urls https://adafruit.github.io/arduino-board-index/package_adafruit_index.json,http://arduino.esp8266.com/stable/package_esp8266com_index.json,https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json,https://sandeepmistry.github.io/arduino-nRF5/package_nRF5_boards_index.json,https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp[20](https://github.com/adafruit/Adafruit_TinyUSB_Arduino/actions/runs/9279862993/job/25533948702#step:7:21)40_index.json,http://drazzy.com/package_drazzy.com_index.json > /dev/null
attempt 1 failed, 2 retry left
attempt 2 failed, 1 retry left
attempt 3 failed, 0 retry left
FAILED to update core indices

@per1234
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hathach I think the cause is that the SSL certificate on drazzy.com expired once again yesterday:

$ curl https://drazzy.com/package_drazzy.com_index.json
curl: (35) schannel: next InitializeSecurityContext failed: SEC_E_CERT_EXPIRED (0x80090328) - The received certificate has expired.

The issues from the last certificate expiration were never closed after it was renewed last time, so I guess those will serve to track this new incarnation of the problem:

@caternuson
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hathach This is a known and ongoing issue. We've simply been adding/removing the URL as needed. Not a fix, just a day-to-day hack. There have been several rounds of this - removing URL, putting URL back once fixed, etc.. There are other CI runs that depend on that URL being there (and working of course). So it's a shell game.

@caternuson
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hathach Here's the fix for now:
#184

@hathach
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@caternuson ah great, thank you for explanation. It is indeed absolutely working before :)

Please sign in to comment.