JeanRev / TeamcityDockerCloudPlugin

Docker Cloud Plugin for the TeamCity build server
Apache License 2.0
33 stars 10 forks source link

No Option to assign the agent pool in Docker Cloud integration #2

Closed nchidipothu closed 7 years ago

nchidipothu commented 7 years ago

Hi,

I did not see the option to assign the agent pool for added docker image in docker cloud integration.

Default it's going to "Default Pool"

Can you please help me at this.

Thanks, Naresh Ch

JeanRev commented 7 years ago

Hi Naresh,

You should be able to assign a cloud image to a specific agent pool from the "Pools" configuration interface. agent_pools

The cloud image name is composed of the image profile name (as specified in the Docker cloud settings), and the docker image name (which will be dynamically resolved when using the official TeamCity agent images).

All agents instantiated from this image should then be automatically assigned to the corresponding pool.

sharov commented 7 years ago

Hi @JeanRev!

When new images run, they go to Default pool

JeanRev commented 7 years ago

Sorry for the delay. There is indeed a glitch preventing the cloud image association with a given agent pool to be persisted. This is now fixed, the fix will be available in the next release. Thank you for reporting.

JeanRev commented 7 years ago

v0.2.3 has just been released.

pinkal-vansia commented 7 years ago

+1 thanks @nchidipothu @JeanRev I was facing same issue. Hope to try it now.