diff --git a/.common-ci.yml b/.common-ci.yml index 4ff04c33f..4ce05d7df 100644 --- a/.common-ci.yml +++ b/.common-ci.yml @@ -38,13 +38,13 @@ workflow: - if: $CI_COMMIT_BRANCH - if: $CI_COMMIT_TAG - if: $CI_PIPELINE_SOURCE == "web" - - if: $CI_COMMIT_BRANCH == "master" + - if: $CI_COMMIT_BRANCH == "main" - if: $CI_COMMIT_BRANCH =~ /^release-.*$/ - if: $CI_COMMIT_TAG && $CI_COMMIT_TAG != "" .main-or-manual: rules: - - if: $CI_COMMIT_BRANCH == "master" + - if: $CI_COMMIT_BRANCH == "main" - if: $CI_COMMIT_BRANCH =~ /^release-.*$/ - if: $CI_COMMIT_TAG && $CI_COMMIT_TAG != "" - if: $CI_PIPELINE_SOURCE == "schedule" diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index e8e3d86dc..d0e2a4190 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,5 +1,5 @@ Hello! Thanks for making this contribution! When contributing to this repository please keep in mind the following: -- [You should sign your work](https://github.com/NVIDIA/gpu-operator/blob/master/CONTRIBUTING.md). +- [You should sign your work](https://github.com/NVIDIA/gpu-operator/blob/main/CONTRIBUTING.md). - You should be making your contribution against the [gitlab.com repository](https://gitlab.com/nvidia/kubernetes/gpu-operator) as github.com is just a mirror. diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c12eb7997..a12d73e84 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,11 +20,11 @@ on: - opened - synchronize branches: - - master + - main - release-* push: branches: - - master + - main - release-* jobs: @@ -236,12 +236,12 @@ jobs: echo "COMMIT_SHORT_SHA=${GITHUB_SHA:0:8}" >> $GITHUB_ENV LOWERCASE_REPO_OWNER=$(echo "${GITHUB_REPOSITORY_OWNER}" | awk '{print tolower($0)}') echo "LOWERCASE_REPO_OWNER=$(echo "${GITHUB_REPOSITORY_OWNER}" | awk '{print tolower($0)}')" >> $GITHUB_ENV - - echo "OPERATOR_VERSION=${COMMIT_SHORT_SHA}-ubi8" >> $GITHUB_ENV + + echo "OPERATOR_VERSION=${COMMIT_SHORT_SHA}-ubi8" >> $GITHUB_ENV echo "OPERATOR_IMAGE=ghcr.io/${LOWERCASE_REPO_OWNER}/gpu-operator" >> $GITHUB_ENV echo "VALIDATOR_VERSION=${COMMIT_SHORT_SHA}-ubi8" >> $GITHUB_ENV echo "VALIDATOR_IMAGE=ghcr.io/${LOWERCASE_REPO_OWNER}/gpu-operator/gpu-operator-validator" >> $GITHUB_ENV - + echo "instance_hostname=ubuntu@${{ steps.get_public_dns_name.outputs.result }}" >> $GITHUB_ENV echo "private_key=${{ github.workspace }}/key.pem" >> $GITHUB_ENV - name: Run e2e tests @@ -289,7 +289,7 @@ jobs: LOWERCASE_REPO_OWNER=$(echo "${GITHUB_REPOSITORY_OWNER}" | awk '{print tolower($0)}') echo "LOWERCASE_REPO_OWNER=$(echo "${GITHUB_REPOSITORY_OWNER}" | awk '{print tolower($0)}')" >> $GITHUB_ENV - echo "OPERATOR_VERSION=${COMMIT_SHORT_SHA}-ubi8" >> $GITHUB_ENV + echo "OPERATOR_VERSION=${COMMIT_SHORT_SHA}-ubi8" >> $GITHUB_ENV echo "OPERATOR_IMAGE=ghcr.io/${LOWERCASE_REPO_OWNER}/gpu-operator" >> $GITHUB_ENV echo "VALIDATOR_VERSION=${COMMIT_SHORT_SHA}-ubi8" >> $GITHUB_ENV echo "VALIDATOR_IMAGE=ghcr.io/${LOWERCASE_REPO_OWNER}/gpu-operator/gpu-operator-validator" >> $GITHUB_ENV diff --git a/.nvidia-ci.yml b/.nvidia-ci.yml index 5fd0a5924..dea3ec0df 100644 --- a/.nvidia-ci.yml +++ b/.nvidia-ci.yml @@ -14,8 +14,8 @@ include: ref: "2023.10.09" variables: - # Release "devel"-tagged images off the master branch - RELEASE_DEVEL_BRANCH: "master" + # Release "devel"-tagged images off the main branch + RELEASE_DEVEL_BRANCH: "main" DEVEL_RELEASE_IMAGE_VERSION: "devel" # On the multi-arch builder we don't need the qemu setup. SKIP_QEMU_SETUP: "1" @@ -284,7 +284,7 @@ e2e_tests_containerd_k8s1_27: - .e2e_defaults - .infra_setup_defaults - .schedule_defaults - + .clean_infra: extends: - .cnt_kube_clean @@ -308,7 +308,7 @@ cnt_kube_setup_containerd_k8s1_25: variables: TF_VAR_kubernetes_version: "1.25.11" TF_VAR_gpu_device_name: "NVIDIA-A100-PCIE-40GB" - + cnt_kube_clean_containerd_k8s1_25: extends: - .clean_infra diff --git a/RELEASE.md b/RELEASE.md index 84a0fbf19..f88758d6e 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -10,7 +10,7 @@ This repository follows Semantic Versioning 2.0.0 The artifacts will be versioned as follows: - **nightly**: 1.0.0-nightly-shortSHA - The version names contain "nightly". - - Leading number of pre-release version tracked in master. + - Leading number of pre-release version tracked in main. - build meta data of SHA hash is appended to version string. - May be buggy - Features may be removed at any time. diff --git a/bundle/manifests/gpu-operator-certified.clusterserviceversion.yaml b/bundle/manifests/gpu-operator-certified.clusterserviceversion.yaml index 4b92a843b..23af97a20 100644 --- a/bundle/manifests/gpu-operator-certified.clusterserviceversion.yaml +++ b/bundle/manifests/gpu-operator-certified.clusterserviceversion.yaml @@ -223,7 +223,7 @@ spec: - name: init-container-image image: nvcr.io/nvidia/cuda@sha256:ae0623ec8634b6c88f815b88037763def160cbbac15013b77ddef257fc276c9a - name: gpu-operator-validator-image - image: registry.gitlab.com/nvidia/kubernetes/gpu-operator/staging/gpu-operator-validator:master-latest-ubi8 + image: registry.gitlab.com/nvidia/kubernetes/gpu-operator/staging/gpu-operator-validator:main-latest-ubi8 - name: k8s-driver-manager-image image: nvcr.io/nvidia/cloud-native/k8s-driver-manager@sha256:0c77725de8c42d248ed825453efd2e005f4900f4be384fd23084f6b721ddd0e0 - name: vfio-manager-image @@ -853,7 +853,7 @@ spec: - --leader-elect - --leader-lease-renew-deadline - "60s" - image: registry.gitlab.com/nvidia/kubernetes/gpu-operator/staging/gpu-operator:master-latest-ubi8 + image: registry.gitlab.com/nvidia/kubernetes/gpu-operator/staging/gpu-operator:main-latest-ubi8 command: - gpu-operator livenessProbe: @@ -891,7 +891,7 @@ spec: fieldRef: fieldPath: metadata.namespace - name: "VALIDATOR_IMAGE" - value: "registry.gitlab.com/nvidia/kubernetes/gpu-operator/staging/gpu-operator-validator:master-latest-ubi8" + value: "registry.gitlab.com/nvidia/kubernetes/gpu-operator/staging/gpu-operator-validator:main-latest-ubi8" - name: "GFD_IMAGE" value: "nvcr.io/nvidia/k8s-device-plugin@sha256:80674b19898ecf9ed6949e39674da769d6feeeb01bea54b914ef9ff502834f49" - name: "CONTAINER_TOOLKIT_IMAGE"