Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@tboerger
Copy link
Contributor

So far it have not been possible to launch ARM or ARM64 agents, with the
update of the SDK and some additional config flags it's possible to
successfully launch ARM/ARM64 agents now.

So far it have not been possible to launch ARM or ARM64 agents, with the
update of the SDK and some additional config flags it's possible to
successfully launch ARM/ARM64 agents now.
if p.image == "" {
// Ubuntu for dev1-m in fra-par-1
p.image = "f974feac-abae-4365-b988-8ec7d1cec10d"
p.image = "ubuntu-bionic"
Copy link
Contributor

Choose a reason for hiding this comment

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

TIL this works. I didn't realise it would do the conversion for you. Thanks for looking into this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's possible that it had been added in a later version of the SDK, i had this information from the Scaleway slack channel. The create server function is using https://godoc.org/github.com/scaleway/scaleway-sdk-go/api/marketplace/v1#API.GetLocalImageIDByLabel internally, which matches the right UUID from the marketplace API.

You can fetch all available labels via curl -s 'https://api-marketplace.scaleway.com/images?page=1&per_page=100' | jq .images[].label | tr '_' '-'.

@tboerger
Copy link
Contributor Author

I can confirm that this patch is working great for arm32 and arm64 machines at Scaleway, using it now for our ownCloud instance.

@bradrydzewski bradrydzewski merged commit 702a92c into drone:master Oct 10, 2019
@tboerger tboerger deleted the scaleway-fixes branch October 10, 2019 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants