Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for envfile (0.16 sec)

  1. Makefile

    .PHONY: default shell
    
    else
    
    # If we are not in build container, we need a workaround to get environment properly set
    # Write to file, then include
    $(shell mkdir -p out)
    $(shell $(shell pwd)/common/scripts/setup_env.sh envfile > out/.env)
    include out/.env
    # An export free of arguments in a Makefile places all variables in the Makefile into the
    # environment. This behavior may be surprising to many that use shell often, which simply
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 11 18:29:15 GMT 2021
    - 2.2K bytes
    - Viewed (0)
  2. common/scripts/setup_env.sh

          DOCKER_GID
          IMG
          IMAGE_NAME
          IMAGE_VERSION
          REPO_ROOT
          BUILD_WITH_CONTAINER
    )
    
    # For non container build, we need to write env to file
    if [[ "${1}" == "envfile" ]]; then
      # ! does a variable-variable https://stackoverflow.com/a/10757531/374797
      for var in "${VARS[@]}"; do
        echo "${var}"="${!var}"
      done
    else
      for var in "${VARS[@]}"; do
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 16:31:40 GMT 2024
    - 7.6K bytes
    - Viewed (0)
  3. operator/cmd/mesh/manifest_shared_test.go

    			}
    		case cmdApply:
    			objs, err = fakeApplyManifest(inFile, flags, chartSource)
    		case cmdController:
    			objs, err = fakeControllerReconcile(inFile, chartSource, nil)
    		default:
    		}
    		if err != nil {
    			return nil, err
    		}
    		out[cmd] = objs
    	}
    
    	return out, nil
    }
    
    // fakeApplyManifest runs istioctl install.
    func fakeApplyManifest(inFile, flags string, chartSource chartSourceType) (*ObjectSet, error) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  4. common/scripts/fix_copyright_banner.sh

    WD=$(dirname "$0")
    WD=$(cd "$WD"; pwd)
    
    for fn in "$@"; do
      if ! grep -L -q -e "Apache License, Version 2" -e "Copyright" "${fn}"; then
        if [[ "${fn}" == *.go || "${fn}" == *.rs ]]; then
          newfile=$(cat "${WD}/copyright-banner-go.txt" "${fn}")
          echo "${newfile}" > "${fn}"
          echo "Fixing license: ${fn}"
        else
          echo "Cannot fix license: ${fn}. Unknown file type"
        fi
      fi
    Shell Script
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Nov 17 04:35:57 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  5. operator/cmd/mesh/manifest-generate_test.go

    				}
    				t.Fatalf(cmp.Diff(got, want))
    			}
    		})
    	}
    }
    
    // nolint: unparam
    func generateManifest(inFile, flags string, chartSource chartSourceType, fileSelect []string) (string, object.K8sObjects, error) {
    	inPath := filepath.Join(testDataDir, "input", inFile+".yaml")
    	manifest, err := runManifestGenerate([]string{inPath}, flags, chartSource, fileSelect)
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
Back to top