github.com/verrazzano/verrazzano@v1.7.0/ci/make/env-template.sh (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  # Template env vars file for running make commands locally
     5  
     6  # Set WORKSPACE where you want all temporary test files to go, etc
     7  # - default is ${HOME}/verrazzano-workspace
     8  #export WORKSPACE=
     9  
    10  # Set this to true to enable script debugging
    11  #export VZ_TEST_DEBUG=true
    12  
    13  # Used for the Github packages repo creds for the image pull secret for private branch builds
    14  export DOCKER_CREDS_USR=my-github-user
    15  export DOCKER_CREDS_PSW=$(cat ~/.github_token)
    16  export DOCKER_REPO=ghcr.io
    17  
    18  # Override where the Kubeconfig for the cluster is stored
    19  #export KUBECONFIG= # Default is ${WORKSPACE}/test_kubeconfig
    20  
    21  #### Custom MetalLB settings
    22  #
    23  #METALLB_ADDRESS_RANGE=  # Set this to override the default MetalLB address rainge for KIND
    24  
    25  #### Platform Operator Settings 
    26  #
    27  # The following env vars control how the Platform Operator manifest is obtained
    28  #
    29  # - OPERATOR_YAML             - Specify a local platform operator manifest to use
    30  # - VERRAZZANO_OPERATOR_IMAGE - Set this to use a specific operator image version, a manifest will be generated using this value
    31  # - OCI_OS_NAMESPACE          - This must be set to the build system's ObjectStore namespace for the manifest-download default case
    32  #
    33  # If VERRAZZANO_OPERATOR_IMAGE and OPERATOR_YAML are not specified, the default is to download the operator manifest from
    34  # the most recent, successful Jenkins build for the current branch
    35  #
    36  export OCI_OS_NAMESPACE=
    37  #export OPERATOR_YAML=/home/mcico/tmp/workspace/downloaded-operator.yaml
    38  #export VERRAZZANO_OPERATOR_IMAGE=ghcr.io/verrazzano/verrazzano-platform-operator-jenkins:1.4.0-20220607181222-af48cc1c
    39  if [ -z "${OCI_OS_NAMESPACE}" ] && [ -z "" ] && [ -z "" ]; then
    40    echo "One of OCI_OS_NAMESPACE, OPERATOR_YAML, or VERRAZZANO_OPERATOR_IMAGE must be set in the local environment"
    41  fi
    42  
    43  ### Cluster customizations
    44  # export KIND_NODE_COUNT=3 # Default is 1
    45  #export KUBERNETES_CLUSTER_VERSION=1.22 # default is 1.22
    46  
    47  ### Common VZ Install customizations
    48  #
    49  # INSTALL_CONFIG_FILE_KIND    - the VZ install CR to use, default is ${TEST_SCRIPTS_DIR}/v1beta1/install-verrazzano-kind.yaml
    50  # INSTALL_PROFILE             - the install profile to use (default is "dev")
    51  # VZ_ENVIRONMENT_NAME         - environmentName to use
    52  # ENABLE_API_ENVOY_LOGGING    - enables debug in the Istio Envoy containers
    53  # WILDCARD_DNS_DOMAIN         - an override for a user-specified wildcard DNS domain to use
    54  #
    55  #export INSTALL_CONFIG_FILE_KIND=
    56  #export INSTALL_PROFILE=prod 
    57  
    58  # Set this to any value for Gingko dry runs
    59  #export DRY_RUN=true
    60  
    61  # Required Weblogic/MySQL passwords for examples tests
    62  #WEBLOGIC_PSW= # required by WebLogic application and console ingress test
    63  #DATABASE_PSW= # required by console ingress test
    64