Skip to content

Commit

Permalink
Add CONTROLLER_IMAGE environment variable (openshift#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
YuviGold authored Jul 13, 2020
1 parent 4a9cc5e commit b65b4bc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,20 +204,20 @@ or
make redeploy_all_with_install AGENT_DOCKER_IMAGE=<image to test>
```

## Test installer image
## Test installer image or controller image

```bash
make redeploy_all INSTALLER_IMAGE=<image to test>
make redeploy_all INSTALLER_IMAGE=<image to test> CONTROLLER_IMAGE=<image to test>
or
export PULL_SECRET='<pull secret JSON>'; make redeploy_all_with_install INSTALLER_IMAGE=<image to test>
export PULL_SECRET='<pull secret JSON>'; make redeploy_all_with_install INSTALLER_IMAGE=<image to test> CONTROLLER_IMAGE=<image to test>
```

## Test installer, bm-inventory and agent images in the same flow
## Test installer, controller, bm-inventory and agent images in the same flow

```bash
make redeploy_all INSTALLER_IMAGE=<image to test> AGENT_DOCKER_IMAGE=<image to test> SERVICE=<image to test>
or
export PULL_SECRET='<pull secret JSON>'; make redeploy_all_with_install INSTALLER_IMAGE=<image to test> AGENT_DOCKER_IMAGE=<image to test> SERVICE=<image to test>
export PULL_SECRET='<pull secret JSON>'; make redeploy_all_with_install INSTALLER_IMAGE=<image to test> CONTROLLER_IMAGE=<image to test> AGENT_DOCKER_IMAGE=<image to test> SERVICE=<image to test>
```

# Test infra image
Expand Down
1 change: 1 addition & 0 deletions discovery-infra/update_bm_inventory_cm.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
("HW_VALIDATOR_MIN_RAM_GIB_MASTER", "8"),
("HW_VALIDATOR_MIN_DISK_SIZE_GIB", "10"),
("INSTALLER_IMAGE", ""),
("CONTROLLER_IMAGE", ""),
("INVENTORY_URL", ""),
("INVENTORY_PORT", ""),
("AGENT_DOCKER_IMAGE", ""),
Expand Down
1 change: 1 addition & 0 deletions skipper.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ env:
SERVICE: $SERVICE
OBJEXP: $OBJEXP
INSTALLER_IMAGE: $INSTALLER_IMAGE
CONTROLLER_IMAGE: $CONTROLLER_IMAGE
NETWORK_BRIDGE: $NETWORK_BRIDGE
OPENSHIFT_VERSION: $OPENSHIFT_VERSION
KUBECONFIG: $KUBECONFIG
Expand Down

0 comments on commit b65b4bc

Please sign in to comment.