Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for vsphere on robotest #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Anudeep-Gudipati
Copy link

Description

Risk Profile

  • Bug fix (patch release)
  • New feature or internal change (minor release)
  • Backwards incompatible change (major release)
  • Non-product change

Related Issues

Testing Done


Additional Information

@Anudeep-Gudipati Anudeep-Gudipati force-pushed the ag-support-vsphere-on-robotest branch from 22af6fe to c8b0cc1 Compare January 10, 2025 04:45
@Anudeep-Gudipati Anudeep-Gudipati force-pushed the ag-support-vsphere-on-robotest branch from c8b0cc1 to 559a712 Compare January 10, 2025 04:50
#

resource "vsphere_virtual_machine" "node" {
#TODO: Move to vars!!

Choose a reason for hiding this comment

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

Can you add a jira?


resource_pool_id = data.vsphere_compute_cluster.cluster.resource_pool_id

num_cpus = 4

Choose a reason for hiding this comment

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

Why 4? Is there some component which requires this many minimum cpus?

disk {
label = "disk0"
size = 64
thin_provisioned = false #TODO(ag): Update the template to true and change here

Choose a reason for hiding this comment

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

nit: jira please. which template?

}
}

#variable "os" {

Choose a reason for hiding this comment

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

remove?

@@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
FROM quay.io/gravitational/debian-venti:go1.16.6-buster
FROM quay.io/gravitational/debian-venti:go1.17.5-stretch

Choose a reason for hiding this comment

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

Should we change the repo right now itself? We have put those in our gcr right?

@@ -59,6 +59,10 @@ RUN mkdir -p /robotest
WORKDIR /robotest
COPY entrypoint.sh /entrypoint.sh
COPY build/robotest-e2e /usr/bin/robotest-e2e
COPY polaris.pub /robotest/polaris.pub
COPY polaris.pem /robotest/polaris.pem

Choose a reason for hiding this comment

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

Is the path of polaris.pem and pub right?

Choose a reason for hiding this comment

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

Also, is this the same polaris.pem, or a new one. I think it might be better to use a different one here.

tokenURL = "https://login.microsoftonline.com/%s/oauth2/token"
managementURL = "https://management.azure.com/subscriptions/%s/resourcegroups/%s?api-version=2016-09-01"
tokenURL = "https://login.microsoftonline.us/%s/oauth2/token"
managementURL = "https://management.usgovcloudapi.net/subscriptions/%s/resourcegroups/%s?api-version=2016-09-01"

Choose a reason for hiding this comment

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

Why change this? Can we run these tests on azure as well after this?

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.

2 participants