Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/kustomize-etcd-backups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Kustomize GitHub Actions for Backups directory
on:
pull_request:
paths:
- base-kustomize/backups/etcd/**
- base-kustomize/backups/base/**
- .github/workflows/kustomize-etcd-backups.yaml
jobs:
kustomize:
Expand All @@ -25,7 +25,7 @@ jobs:
fi
- name: Run Kustomize Build
run: |
kustomize build base-kustomize/backups/etcd/ > /tmp/rendered.yaml
kustomize build base-kustomize/backups/base/ > /tmp/rendered.yaml
- name: Return Kustomize Build
uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/kustomize-k8s-dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fi
- name: Run Kustomize Build
run: |
kustomize build base-kustomize/k8s-dashboard > /tmp/rendered.yaml
kustomize build base-kustomize/k8s-dashboard/base > /tmp/rendered.yaml
- name: Return Kustomize Build
uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/kustomize-openstack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fi
- name: Run Kustomize Build
run: |
kustomize build base-kustomize/openstack > /tmp/rendered.yaml
kustomize build base-kustomize/openstack/base > /tmp/rendered.yaml
- name: Return Kustomize Build
uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/kustomize-ovn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fi
- name: Run Kustomize Build
run: |
kustomize build base-kustomize/ovn > /tmp/rendered.yaml
kustomize build base-kustomize/ovn/base > /tmp/rendered.yaml
- name: Return Kustomize Build
uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/kustomize-rabbitmq-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fi
- name: Run Kustomize Build
run: |
kustomize build base-kustomize/rabbitmq-operator > /tmp/rendered.yaml
kustomize build base-kustomize/rabbitmq-operator/base > /tmp/rendered.yaml
- name: Return Kustomize Build
uses: actions/upload-artifact@v4
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fi
- name: Run Kustomize Build
run: |
kustomize build base-kustomize/rabbitmq-topology-operator > /tmp/rendered.yaml
kustomize build base-kustomize/rabbitmq-topology-operator/base > /tmp/rendered.yaml
- name: Return Kustomize Build
uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/kustomize-rook-defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fi
- name: Run Kustomize Build
run: |
kustomize build base-kustomize/rook-defaults > /tmp/rendered.yaml
kustomize build base-kustomize/rook-defaults/base > /tmp/rendered.yaml
- name: Return Kustomize Build
uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/kustomize-rook-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
fi
- name: Run Kustomize Build
run: |
kustomize build base-kustomize/rook-operator > /tmp/rendered.yaml
kustomize build base-kustomize/rook-operator/base > /tmp/rendered.yaml
- name: Return Kustomize Build
uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-glance.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
name: Create and publish a the Glance compatible image
name: Create and publish a Glance compatible image

# Configures this workflow to run every time a change is pushed to the branch called `release`.
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-horizon-rxt.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
name: Create and publish a the Horizon RXT compatible image
name: Create and publish a Horizon RXT compatible image

# Configures this workflow to run every time a change is pushed to the branch called `release`.
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-neutron-oslodb.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
name: Create and publish a the Neutron oslodb patched image
name: Create and publish a Neutron oslodb patched image

# Configures this workflow to run every time a change is pushed to the branch called `release`.
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-nova-oslodb.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
name: Create and publish a the Nova oslodb patched image
name: Create and publish a Nova oslodb patched image

# Configures this workflow to run every time a change is pushed to the branch called `release`.
on:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-octavia-ovn.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Create and publish a the Octavia compatible image
name: Create and publish an Octavia compatible image

# Configures this workflow to run every time a change is pushed to the branch called `release`.
on:
Expand Down
88 changes: 88 additions & 0 deletions .github/workflows/smoke-deploy-lab.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
name: Running hyperconverged smoke tests

on:
workflow_dispatch:
inputs:
acmeEmail:
description: Set email for ACME
required: true
default: "[email protected]"
type: string
gatewayDomain:
description: Set domain for the gateway
required: true
default: master
type: string
osImage:
description: Set OS image
required: true
default: "Ubuntu 24.04"
type: choice
options:
- "Ubuntu 24.04"
- "Ubuntu 22.04"
- "Debian 12"
sshUsername:
description: Set SSH username
required: true
default: "ubuntu"
type: choice
options:
- "ubuntu"
- "debian"
mode:
description: Set mode
required: true
default: "test"
type: choice
options:
- "test"
- "deploy"
- "cleanup"
pull_request:
paths:
- ansible/**
- base-kustomize/**
- base-helm-configs/**
- bin/**
- scripts/**
- ".github/workflows/smoke-deploy-lab.yaml"

env:
HYPERCONVERGED_DEV: "true"
GATEWAY_DOMAIN: cloud.local
ACME_EMAIL: [email protected]
OS_IMAGE: "Ubuntu 24.04"
SSH_USERNAME: "ubuntu"

jobs:
smoke-deploy:
runs-on: self-hosted
container:
image: localhost:5000/genestack-ci:latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Dynamically set MY_DATE environment variable
if: ${{ github.event_name == 'pull_request' }}
run: echo "LAB_NAME_PREFIX=smoke-$(date +%s)" >> $GITHUB_ENV

- name: Statically set environment variable
if: ${{ github.event_name == 'workflow_dispatch' }}
run: |
echo "LAB_NAME_PREFIX=${{ github.event.inputs.mode }}-$(date +%s)" >> $GITHUB_ENV
echo "GATEWAY_DOMAIN=${{ github.event.inputs.gatewayDomain }}-$(date +%s)" >> $GITHUB_ENV
echo "ACME_EMAIL=${{ github.event.inputs.acmeEmail }}-$(date +%s)" >> $GITHUB_ENV
echo "OS_IMAGE=${{ github.event.inputs.osImage }}-$(date +%s)" >> $GITHUB_ENV
echo "SSH_USERNAME=${{ github.event.inputs.sshUsername }}-$(date +%s)" >> $GITHUB_ENV

- name: Run deployment script
if: ${{ github.event_name == 'pull_request' || contains(fromJSON('["deploy", "test"]'), github.event.inputs.mode) }}
run: |
eval "$(ssh-agent -s)"
scripts/hyperconverged-lab.sh

- name: Cleanup the lab
if: ${{ always() && (github.event_name == 'pull_request' || contains(fromJSON('["cleanup", "test"]'), github.event.inputs.mode)) }}
run: scripts/hyperconverged-lab-uninstall.sh
11 changes: 9 additions & 2 deletions .original-images.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@
"ghcr.io/rackerlabs/genestack/neutron-oslodb:2024.1-ubuntu_jammy-1739651767",
"ghcr.io/rackerlabs/genestack/nova-efi:2024.1-ubuntu_jammy-1737928811",
"ghcr.io/rackerlabs/genestack/octavia-ovn:2024.1-ubuntu_jammy-1737651745",
"ghcr.io/rackerlabs/keystone-rxt:2024.1-ubuntu_jammy-1739377879",
"ghcr.io/rackerlabs/skyline-rxt:master-ubuntu_jammy-1739967315"
"ghcr.io/rackerlabs/keystone-rxt:2024.1-ubuntu_jammy-1747958291",
"ghcr.io/rackerlabs/keystone-rxt/shibd:1747958286",
"ghcr.io/rackerlabs/skyline-rxt:master-ubuntu_jammy-1739967315",
"docker.io/openstackhelm/ironic:2024.1-ubuntu_jammy",
"ghcr.io/vexxhost/netoffload:v1.0.1",
"quay.io/airshipit/kubernetes-entrypoint:latest-ubuntu_jammy",
"quay.io/airshipit/porthole-postgresql-utility:latest-ubuntu_bionic",
"cr.fluentbit.io/fluent/fluent-bit",
"docker.io/pbandark/barbican-exporter"
]
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ cert_manager_controller_extra_args:
# - "--dns01-recursive-nameservers=1.1.1.1:53,8.8.8.8:53"

# MetalLB deployment
# NOTE: Metallb is installed outside kubespray
metallb_enabled: false
metallb_namespace: metallb-system
metallb_speaker_enabled: "{{ metallb_enabled }}"
Expand Down Expand Up @@ -200,14 +201,6 @@ metallb_config:
ip_range:
- 10.5.0.0/16
auto_assign: true
pool1:
ip_range:
- 10.6.0.0/16
auto_assign: true
pool2:
ip_range:
- 10.10.0.0/16
auto_assign: true
layer2:
- primary
# layer3:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ credentials_dir: "{{ inventory_dir }}/credentials"

# Choose network plugin (cilium, calico, kube-ovn, weave, flannel, or none. Use cni for generic cni plugin)
# Can also be set to 'cloud', which lets the cloud provider setup appropriate routing
#
# defaults to none as kube-ovn is deployed outside kubespray
kube_network_plugin: none

# Setting multi_networking to true will install Multus: https://github.com/k8snetworkplumbingwg/multus-cni
Expand Down
Loading