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