github.com/verrazzano/verrazzano@v1.7.1/ci/generic/Makefile (about)

     1  # Copyright (C) 2022, Oracle and/or its affiliates.
     2  # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
     3  
     4  include ./global-env.mk
     5  include ./kind.mk
     6  include ./install.mk
     7  include ./acceptance-tests.mk
     8  
     9  .PHONY: all
    10  all: setup install test upgrade uninstall cleanup
    11  
    12  # Perform any setup prior to executing any other parts of the test
    13  #
    14  # For example, these can include
    15  # - Kubernetes cluster(s)
    16  # - LoadBalancer resources
    17  # - DNS zones
    18  .PHONY: setup
    19  setup:
    20  	@echo "Running test setup"
    21  	make setup-kind
    22  
    23  # Peforms an install of Verrazzano to the target system
    24  .PHONY: install
    25  install:
    26  	@echo "Installing Verrazzano"
    27  	make install-verrazzano
    28  
    29  # Executes test suite(s) against the target Verrazzano install
    30  test: export TEST_SUITES ?= verify-install/...
    31  .PHONY: test
    32  test:
    33  	@echo "Running tests ${TEST_SUITES}"
    34  	make run-test
    35  
    36  # Executes an upgrade to a new Verrazzano version from the initially installed version
    37  .PHONY: upgrade
    38  upgrade:
    39  	@echo "Upgrade not implemented"
    40  
    41  # Executes an update to the configuration of an installed Verrazzano instance
    42  .PHONY: update
    43  update:
    44  	@echo "Update not implemented"
    45  
    46  # Performs an uninstall of the Verrazzano instance from the cluster
    47  .PHONY: uninstall
    48  uninstall:
    49  	@echo "Uninstall not implemented"
    50  
    51  # Executes an upgrade to a new Verrazzano version from the initially installed version
    52  .PHONY: cleanup
    53  cleanup: pipeline-artifacts clean-kind
    54  	@echo "Running test cleanup"
    55