Skip to content

Commit 2ec56e5

Browse files
authored
Merge pull request #2641 from shiftstack/ci-fixes-release-0.9
Ci fixes release 0.9
2 parents 0cd0798 + 22f2915 commit 2ec56e5

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

hack/ci/cloud-init/controller.yaml.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
IMAGE_URLS+="https://storage.googleapis.com/artifacts.k8s-staging-capi-openstack.appspot.com/test/cirros/2022-12-05/cirros-0.6.1-x86_64-disk.img,"
8484
IMAGE_URLS+="https://storage.googleapis.com/artifacts.k8s-staging-capi-openstack.appspot.com/test/ubuntu/2023-09-29/ubuntu-2204-kube-v1.27.2.img,"
8585
IMAGE_URLS+="https://storage.googleapis.com/artifacts.k8s-staging-capi-openstack.appspot.com/test/ubuntu/2023-09-29/ubuntu-2204-kube-v1.28.2.img,"
86-
IMAGE_URLS+="https://storage.googleapis.com/artifacts.k8s-staging-capi-openstack.appspot.com/test/flatcar/flatcar-stable-3602.2.0-kube-v1.28.2.img"
86+
IMAGE_URLS+="https://storage.googleapis.com/artifacts.k8s-staging-capi-openstack.appspot.com/test/flatcar/flatcar-stable-3815.2.0-kube-v1.28.5.img"
8787

8888
[[post-config|$NOVA_CONF]]
8989
[DEFAULT]

hack/ci/gce-project.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ function cloud_init {
3434
# Generate local ssh configuration
3535
# NOTE(mdbooth): This command successfully populates ssh config and then
3636
# fails for some reason I don't understand. We ignore the failure.
37-
gcloud compute config-ssh || true
37+
gcloud compute config-ssh >/dev/null 2>&1 || true
3838
}
3939

4040
function init_infrastructure() {
4141
if [[ ${GCP_NETWORK_NAME} != "default" ]]; then
42-
if ! gcloud compute networks describe "$GCP_NETWORK_NAME" --project "$GCP_PROJECT" >/dev/null; then
42+
if ! gcloud compute networks describe "$GCP_NETWORK_NAME" --project "$GCP_PROJECT" >/dev/null 2>&1; then
4343
gcloud compute networks create --project "$GCP_PROJECT" "$GCP_NETWORK_NAME" --subnet-mode custom
4444
gcloud compute networks subnets create "$GCP_NETWORK_NAME" --project "$GCP_PROJECT" \
4545
--network="$GCP_NETWORK_NAME" --range="$PRIVATE_NETWORK_CIDR" --region "$GCP_REGION"
@@ -64,12 +64,12 @@ function init_infrastructure() {
6464
gcloud compute networks list --project="$GCP_PROJECT"
6565
gcloud compute networks describe "$GCP_NETWORK_NAME" --project="$GCP_PROJECT"
6666

67-
if ! gcloud compute routers describe "${CLUSTER_NAME}-myrouter" --project="$GCP_PROJECT" --region="$GCP_REGION" >/dev/null; then
67+
if ! gcloud compute routers describe "${CLUSTER_NAME}-myrouter" --project="$GCP_PROJECT" --region="$GCP_REGION" >/dev/null 2>&1; then
6868
gcloud compute routers create "${CLUSTER_NAME}-myrouter" --project="$GCP_PROJECT" \
6969
--region="$GCP_REGION" --network="$GCP_NETWORK_NAME"
7070
fi
7171
if ! gcloud compute routers nats describe --router="$CLUSTER_NAME-myrouter" "$CLUSTER_NAME-mynat" \
72-
--project="$GCP_PROJECT" --region="${GCP_REGION}" >/dev/null; then
72+
--project="$GCP_PROJECT" --region="${GCP_REGION}" >/dev/null 2>&1; then
7373
gcloud compute routers nats create "${CLUSTER_NAME}-mynat" --project="$GCP_PROJECT" \
7474
--router-region="$GCP_REGION" --router="${CLUSTER_NAME}-myrouter" \
7575
--nat-all-subnet-ip-ranges --auto-allocate-nat-external-ips
@@ -89,7 +89,7 @@ function create_vm {
8989
# Loop over all zones in the GCP region to ignore a full zone.
9090
# We are not able to use 'gcloud compute zones list' as the gcloud.compute.zones.list permission is missing.
9191
for GCP_ZONE in "${GCP_REGION}-a" "${GCP_REGION}-b" "${GCP_REGION}-c"; do
92-
if ! gcloud compute instances describe "$servername" --project "$GCP_PROJECT" --zone "$GCP_ZONE" >/dev/null; then
92+
if ! gcloud compute instances describe "$servername" --project "$GCP_PROJECT" --zone "$GCP_ZONE" >/dev/null 2>&1; then
9393
if gcloud compute instances create "$servername" \
9494
--project "$GCP_PROJECT" \
9595
--zone "$GCP_ZONE" \

test/e2e/data/e2e_conf.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ variables:
197197
# The default user for SSH connections from bastion to machines
198198
SSH_USER_MACHINE: "ubuntu"
199199
EXP_KUBEADM_BOOTSTRAP_FORMAT_IGNITION: "true"
200-
OPENSTACK_FLATCAR_IMAGE_NAME: "flatcar-stable-3602.2.0-kube-v1.28.2"
200+
OPENSTACK_FLATCAR_IMAGE_NAME: "flatcar-stable-3815.2.0-kube-v1.28.5"
201201

202202
intervals:
203203
conformance/wait-control-plane: ["30m", "10s"]

test/e2e/suites/e2e/e2e_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ var _ = Describe("e2e tests [PR-Blocking]", func() {
8585
})
8686

8787
Describe("Workload cluster (default)", func() {
88-
It("It should be creatable and deletable", func() {
88+
It("should be creatable and deletable", func() {
8989
shared.Logf("Creating a cluster")
9090
clusterName := fmt.Sprintf("cluster-%s", namespace.Name)
9191
configCluster := defaultConfigCluster(clusterName, namespace.Name)
@@ -206,7 +206,7 @@ var _ = Describe("e2e tests [PR-Blocking]", func() {
206206
})
207207

208208
Describe("Workload cluster (without lb)", func() {
209-
It("Should create port(s) with custom options", func() {
209+
It("should create port(s) with custom options", func() {
210210
shared.Logf("Creating a cluster")
211211
clusterName := fmt.Sprintf("cluster-%s", namespace.Name)
212212
configCluster := defaultConfigCluster(clusterName, namespace.Name)
@@ -526,7 +526,7 @@ var _ = Describe("e2e tests [PR-Blocking]", func() {
526526
})
527527

528528
Describe("MachineDeployment misconfigurations", func() {
529-
It("Should fail to create MachineDeployment with invalid subnet or invalid availability zone", func() {
529+
It("should fail to create MachineDeployment with invalid subnet or invalid availability zone", func() {
530530
shared.Logf("Creating a cluster")
531531
clusterName := fmt.Sprintf("cluster-%s", namespace.Name)
532532
configCluster := defaultConfigCluster(clusterName, namespace.Name)
@@ -594,7 +594,7 @@ var _ = Describe("e2e tests [PR-Blocking]", func() {
594594
Expect(err).NotTo(HaveOccurred())
595595
})
596596

597-
It("It should be creatable and deletable", func() {
597+
It("should be creatable and deletable", func() {
598598
workerMachines := framework.GetMachinesByMachineDeployments(ctx, framework.GetMachinesByMachineDeploymentsInput{
599599
Lister: e2eCtx.Environment.BootstrapClusterProxy.GetClient(),
600600
ClusterName: clusterName,

0 commit comments

Comments
 (0)