Skip to content

Commit 410e18e

Browse files
committed
Slight reconfig - move Openshift install to a subdirectory
1 parent 9ad830f commit 410e18e

10 files changed

+31
-14
lines changed

Diff for: Makefile

+9-10
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
1-
.PHONY: default all requirements configure
2-
default: requirements configure
1+
.PHONY: default all OpenShift OCS CNV
2+
default: OpenShift bell
33

4-
all: default
4+
all: OpenShift OCS CNV bell
55

6-
requirements:
7-
./01_install_requirements.sh
6+
OpenShift:
7+
pushd Openshift; make; popd
88

9-
configure:
10-
./02_configure_host.sh
9+
OCS: OpenShift
10+
pushd OCS; ./customize-ocs.sh; popd
1111

12-
clean: host_cleanup
12+
CNV: OpenShift
13+
pushd CNV; ./deploy-cnv.sh; popd
1314

14-
host_cleanup:
15-
./host_cleanup.sh
1615

1716
bell:
1817
@echo "Done!" $$'\a'

Diff for: 01_install_requirements.sh renamed to OpenShift/01_install_requirements.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
set -ex
33

4-
source logging.sh
4+
source ../common/logging.sh
55

66
# FIXME: include checks from common.sh, see https://github.com/openshift-metal3/dev-scripts/issues/727
77

Diff for: 02_configure_host.sh renamed to OpenShift/02_configure_host.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
set -xe
33

4-
source logging.sh
4+
source ../common/logging.sh
55
source common.sh
66

77
# FIXME: we don't generate a user SSH key - check for one?

Diff for: 03_create_cluster.sh renamed to OpenShift/03_create_cluster.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
set -xe
33

4-
source logging.sh
4+
source ../common/logging.sh
55
source common.sh
66

77
export OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE="${OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE:-registry.svc.ci.openshift.org/ocp/release:4.2}"

Diff for: OpenShift/Makefile

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
.PHONY: default all requirements configure
2+
default: requirements configure
3+
4+
all: default
5+
6+
requirements:
7+
./01_install_requirements.sh
8+
9+
configure:
10+
./02_configure_host.sh
11+
12+
clean: host_cleanup
13+
14+
host_cleanup:
15+
./host_cleanup.sh
16+
17+
bell:
18+
@echo "Done!" $$'\a'

Diff for: common.sh renamed to OpenShift/common.sh

File renamed without changes.
File renamed without changes.
File renamed without changes.

Diff for: host_cleanup.sh renamed to OpenShift/host_cleanup.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
set -x
33

4-
source logging.sh
4+
source ../common/logging.sh
55
source common.sh
66

77
if virsh net-uuid baremetal > /dev/null 2>&1 ; then

Diff for: logging.sh renamed to common/logging.sh

File renamed without changes.

0 commit comments

Comments
 (0)