Skip to content

Commit bf4cec7

Browse files
authored
Merge branch 'stackhpc/2024.1' into 2024.1-cleanup-multinodes
2 parents 6e49109 + 1aa19cc commit bf4cec7

File tree

205 files changed

+7451
-3393
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

205 files changed

+7451
-3393
lines changed

.ansible-lint

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
skip_list:
3+
- no-changed-when
4+
- risky-file-permissions
5+
- run-once
6+
- name[template]
7+
- package-latest
8+
- yaml
9+
- role-name[path]
10+
- yaml[line-length]

.ansible-lint-ignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# This file contains ignores to rule violations for ansible-lint
2+
etc/kayobe/ansible/vault-deploy-barbican.yml fqcn[action-core]
3+
etc/kayobe/ansible/vault-generate-backend-tls.yml fqcn[action-core]
4+
etc/kayobe/ansible/vault-generate-internal-tls.yml fqcn[action-core]
5+
etc/kayobe/ansible/vault-generate-test-external-tls.yml fqcn[action-core]
6+
etc/kayobe/ansible/rabbitmq-reset.yml command-instead-of-module
7+
etc/kayobe/ansible/ubuntu-upgrade.yml syntax-check[missing-file]

.automation.conf/config.sh

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,14 @@
33

44
# See: https://github.com/stackhpc/docker-rally/blob/master/bin/rally-verify-wrapper.sh for a full list of tempest parameters that can be overriden.
55
# You can override tempest parameters like so:
6-
export TEMPEST_CONCURRENCY=2
6+
7+
# The Tempest concurrency determines how many tests can be running at once.
8+
# Higher values run tests faster but risk running out of resources and failing tests
9+
# On production systems, Tempest concurrency can usually be set to a high number e.g. 16-64. It is often limited by the number of available floating IPs.
10+
# On virtualised test environments, compute and networking speeds often limit the concurrency to 1-16 before tests begin to fail due to timeouts.
11+
export TEMPEST_CONCURRENCY=16
12+
13+
714
# Specify single test whilst experimenting
815
#export TEMPEST_PATTERN="${TEMPEST_PATTERN:-tempest.api.compute.servers.test_create_server.ServersTestJSON.test_host_name_is_same_as_server_name}"
916

@@ -21,9 +28,7 @@ if [ ! -z ${KAYOBE_ENVIRONMENT:+x} ]; then
2128
fi
2229

2330
if [[ "$KAYOBE_ENVIRONMENT" =~ "ci-multinode" ]]; then
24-
# SMSLab is currently running with 1G switches. This causes tests using volumes and images to fail if
25-
# the concurrency is set too high.
26-
export TEMPEST_CONCURRENCY=1
31+
export TEMPEST_CONCURRENCY=4
2732
# Uncomment this to perform a full tempest test
2833
# export KAYOBE_AUTOMATION_TEMPEST_LOADLIST=tempest-full
2934
# export KAYOBE_AUTOMATION_TEMPEST_SKIPLIST=ci-multinode-tempest-full
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#!/bin/bash
2+
3+
set -euE
4+
set -o pipefail
5+
6+
PARENT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
7+
KAYOBE_AUTOMATION_DIR="$(realpath "${PARENT}/../../.automation")"
8+
9+
function main {
10+
if [ "${PULP_DO_CONTAINER_SYNC:-}" = true ]; then
11+
${KAYOBE_AUTOMATION_DIR}/scripts/playbook-run.sh '$KAYOBE_CONFIG_PATH/ansible/pulp-container-sync.yml' -e stackhpc_pulp_images_kolla_filter="${PULP_KOLLA_FILTER:-}"
12+
fi
13+
if [ "${PULP_DO_CONTAINER_PUBLISH:-}" = true ]; then
14+
${KAYOBE_AUTOMATION_DIR}/scripts/playbook-run.sh '$KAYOBE_CONFIG_PATH/ansible/pulp-container-publish.yml' -e stackhpc_pulp_images_kolla_filter="${PULP_KOLLA_FILTER:-}"
15+
fi
16+
if [ "${PULP_DO_REPO_SYNC:-}" = true ]; then
17+
${KAYOBE_AUTOMATION_DIR}/scripts/playbook-run.sh '$KAYOBE_CONFIG_PATH/ansible/pulp-repo-sync.yml'
18+
fi
19+
if [ "${PULP_DO_REPO_PUBLISH:-}" = true ]; then
20+
${KAYOBE_AUTOMATION_DIR}/scripts/playbook-run.sh '$KAYOBE_CONFIG_PATH/ansible/pulp-repo-publish.yml'
21+
fi
22+
if [ "${PULP_DO_REPO_PROMOTE:-}" = true ]; then
23+
${KAYOBE_AUTOMATION_DIR}/scripts/playbook-run.sh '$KAYOBE_CONFIG_PATH/ansible/pulp-repo-promote-production.yml'
24+
fi
25+
}
26+
27+
if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
28+
main
29+
fi

.github/auto-label.yaml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
---
2+
path:
3+
pullrequest: true
4+
multipleLabelPaths:
5+
- paths:
6+
.automation: 'kayobe-automation'
7+
.automation.conf: 'kayobe-automation'
8+
- paths:
9+
doc: 'documentation'
10+
- paths:
11+
.github: 'workflows'
12+
etc:
13+
kayobe:
14+
enviromnents:
15+
ci-aio: 'workflows'
16+
ci-builder: 'workflows'
17+
ci-multinode: 'workflows'
18+
trivy: 'workflows'
19+
terraform: 'workflows'
20+
tools:
21+
scan-images.sh: "workflows"
22+
tox.ini: 'workflows'
23+
- paths:
24+
etc:
25+
kayobe:
26+
ansible: 'ansible'
27+
ansible.cfg: 'ansible'
28+
- paths:
29+
etc:
30+
kayobe:
31+
kolla:
32+
config:
33+
fluentd: "monitoring"
34+
grafana: "monitoring"
35+
prometheus: "monitoring"
36+
inventory:
37+
group_vars:
38+
prometheus-blackbox-exporter: "monitoring"
39+
- paths:
40+
etc:
41+
kayobe:
42+
kolla:
43+
kolla-build.conf: "kolla"
44+
kolla-image-tags.yml: "kolla"
45+
kolla.yml: "kolla"
46+
tools:
47+
kolla-images.py: "kolla"
48+
49+
staleness:
50+
pullrequest: true
51+
old: 30
52+
extraold: 90
53+
54+
requestsize:
55+
enabled: true

.github/cherry-pick-bot.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
enabled: true
3+
preservePullRequestTitle: true

0 commit comments

Comments
 (0)