Add target phase to test-site
This adapts work from airshipctl: https://review.opendev.org/#/c/738291/ Change-Id: I8213cfbf651156320ef46cbab3b6d325fde185d0
This commit is contained in:
parent
d5a98b7ad7
commit
5edbcba972
@ -2,7 +2,6 @@
|
|||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
|
||||||
name: ironic-vars
|
name: ironic-vars
|
||||||
data:
|
data:
|
||||||
PROVISIONING_IP: "10.23.24.101"
|
PROVISIONING_IP: "10.23.24.101"
|
||||||
|
@ -0,0 +1,4 @@
|
|||||||
|
resources:
|
||||||
|
- ../../../../type/airship-core/ephemeral/initinfra
|
||||||
|
patchesStrategicMerge:
|
||||||
|
- patch_bmo_config.yaml
|
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
kind: ConfigMap
|
||||||
|
apiVersion: v1
|
||||||
|
metadata:
|
||||||
|
name: ironic-vars
|
||||||
|
data:
|
||||||
|
PROVISIONING_IP: "10.23.25.102"
|
||||||
|
DHCP_RANGE: "10.23.25.200,10.23.25.250"
|
@ -0,0 +1,5 @@
|
|||||||
|
resources:
|
||||||
|
- ../../shared/clusterctl
|
||||||
|
- ../../../../../../airshipctl/manifests/function/baremetal-operator/
|
||||||
|
commonLabels:
|
||||||
|
airshipit.org/stage: initinfra
|
20
tools/deployment/31_deploy_initinfra_target_node.sh
Executable file
20
tools/deployment/31_deploy_initinfra_target_node.sh
Executable file
@ -0,0 +1,20 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
: ${AIRSHIPCTL_PROJECT:="../airshipctl"}
|
||||||
|
|
||||||
|
cd ${AIRSHIPCTL_PROJECT}
|
||||||
|
./tools/deployment/31_deploy_initinfra_target_node.sh
|
20
tools/deployment/32_cluster_init_target_node.sh
Executable file
20
tools/deployment/32_cluster_init_target_node.sh
Executable file
@ -0,0 +1,20 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
# you may not use this file except in compliance with the License.
|
||||||
|
# You may obtain a copy of the License at
|
||||||
|
#
|
||||||
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
#
|
||||||
|
# Unless required by applicable law or agreed to in writing, software
|
||||||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
# See the License for the specific language governing permissions and
|
||||||
|
# limitations under the License.
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
: ${AIRSHIPCTL_PROJECT:="../airshipctl"}
|
||||||
|
|
||||||
|
cd ${AIRSHIPCTL_PROJECT}
|
||||||
|
./tools/deployment/32_cluster_init_target_node.sh
|
@ -69,6 +69,8 @@
|
|||||||
- ./tools/deployment/25_deploy_ephemeral_node.sh
|
- ./tools/deployment/25_deploy_ephemeral_node.sh
|
||||||
- ./tools/deployment/26_deploy_metal3_capi_ephemeral_node.sh
|
- ./tools/deployment/26_deploy_metal3_capi_ephemeral_node.sh
|
||||||
- ./tools/deployment/30_deploy_controlplane.sh
|
- ./tools/deployment/30_deploy_controlplane.sh
|
||||||
|
- ./tools/deployment/31_deploy_initinfra_target_node.sh
|
||||||
|
- ./tools/deployment/32_cluster_init_target_node.sh
|
||||||
serve_dir: /srv/iso
|
serve_dir: /srv/iso
|
||||||
serve_port: 8099
|
serve_port: 8099
|
||||||
voting: false
|
voting: false
|
||||||
|
Loading…
x
Reference in New Issue
Block a user