Skip to content

Commit

Permalink
Update upstream specifications to their latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
sebhoss committed Oct 18, 2024
1 parent 65853e7 commit 9a10d9a
Show file tree
Hide file tree
Showing 166 changed files with 15,100 additions and 7,401 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# SPDX-FileCopyrightText: The terraform-provider-k8s Authors
# SPDX-License-Identifier: 0BSD

name: KueueXK8SIoMultiKueueClusterV1Beta1Manifest
on:
pull_request:
branches: [ main ]
paths:
- examples/data-sources/k8s_kueue_x_k8s_io_multi_kueue_cluster_v1beta1_manifest/**
- internal/provider/kueue_x_k8s_io_v1beta1/kueue_x_k8s_io_multi_kueue_cluster_v1beta1_manifest.go
- internal/provider/kueue_x_k8s_io_v1beta1/kueue_x_k8s_io_multi_kueue_cluster_v1beta1_manifest_test.go
- terratest/kueue_x_k8s_io_v1beta1/kueue_x_k8s_io_multi_kueue_cluster_v1beta1_manifest_test.go
jobs:
terraform:
name: Test with Terraform
runs-on: ubuntu-latest
steps:
- id: checkout
name: Checkout
uses: actions/checkout@v4
- id: setup_go
name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- id: setup_terraform
name: Setup Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_wrapper: false
- id: install
name: Install Provider
run: make install
- id: tests
name: Run Unit Tests
run: go test -v -timeout=120s -count=1 ./internal/provider/kueue_x_k8s_io_v1beta1/kueue_x_k8s_io_multi_kueue_cluster_v1beta1_manifest_test.go
- id: terratest
name: Run Terratest Tests
run: go test -v -timeout=120s -count=1 -run TestKueueXK8SIoMultiKueueClusterV1Beta1Manifest ./terratest/kueue_x_k8s_io_v1beta1
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# SPDX-FileCopyrightText: The terraform-provider-k8s Authors
# SPDX-License-Identifier: 0BSD

name: KueueXK8SIoMultiKueueConfigV1Beta1Manifest
on:
pull_request:
branches: [ main ]
paths:
- examples/data-sources/k8s_kueue_x_k8s_io_multi_kueue_config_v1beta1_manifest/**
- internal/provider/kueue_x_k8s_io_v1beta1/kueue_x_k8s_io_multi_kueue_config_v1beta1_manifest.go
- internal/provider/kueue_x_k8s_io_v1beta1/kueue_x_k8s_io_multi_kueue_config_v1beta1_manifest_test.go
- terratest/kueue_x_k8s_io_v1beta1/kueue_x_k8s_io_multi_kueue_config_v1beta1_manifest_test.go
jobs:
terraform:
name: Test with Terraform
runs-on: ubuntu-latest
steps:
- id: checkout
name: Checkout
uses: actions/checkout@v4
- id: setup_go
name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- id: setup_terraform
name: Setup Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_wrapper: false
- id: install
name: Install Provider
run: make install
- id: tests
name: Run Unit Tests
run: go test -v -timeout=120s -count=1 ./internal/provider/kueue_x_k8s_io_v1beta1/kueue_x_k8s_io_multi_kueue_config_v1beta1_manifest_test.go
- id: terratest
name: Run Terratest Tests
run: go test -v -timeout=120s -count=1 -run TestKueueXK8SIoMultiKueueConfigV1Beta1Manifest ./terratest/kueue_x_k8s_io_v1beta1
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ Optional:

- `cluster` (Attributes) Cluster is the Prism Element cluster name or uuid that is connected to the Prism Central. (see [below for nested schema](#nestedatt--spec--failure_domains--cluster))
- `subnets` (Attributes List) Subnets holds the list of subnets identifiers cluster's network subnets. (see [below for nested schema](#nestedatt--spec--failure_domains--subnets))
- `worker_machine_groups` (List of String) Worker Machine Groups holds the list of worker machine group names that will use this failure domain.

<a id="nestedatt--spec--failure_domains--cluster"></a>
### Nested Schema for `spec.failure_domains.cluster`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ Required:
Optional:

- `additional_categories` (Attributes List) additionalCategories is a list of optional categories to be added to the VM. Categories must be created in Prism Central before they can be used. (see [below for nested schema](#nestedatt--spec--additional_categories))
- `gpus` (Attributes List) List of GPU devices that should be added to the VMs. (see [below for nested schema](#nestedatt--spec--gpus))
- `project` (Attributes) Project is an optional property that specifies the Prism Central project so that machine resources can be linked to it. The project identifier (uuid or name) can be obtained from the Prism Central console or using the Prism Central API. (see [below for nested schema](#nestedatt--spec--project))
- `users` (Attributes List) (see [below for nested schema](#nestedatt--spec--users))

Expand Down Expand Up @@ -118,6 +119,19 @@ Optional:
- `value` (String) value is the category value linked to the key in the Prism Central.


<a id="nestedatt--spec--gpus"></a>
### Nested Schema for `spec.gpus`

Required:

- `type` (String) type is the type of the GPU device.

Optional:

- `device_id` (Number) deviceID is the device ID of the GPU device.
- `name` (String) vendorID is the vendor ID of the GPU device.


<a id="nestedatt--spec--project"></a>
### Nested Schema for `spec.project`

Expand Down
Loading

0 comments on commit 9a10d9a

Please sign in to comment.