-
Notifications
You must be signed in to change notification settings - Fork 27
/
Makefile
41 lines (31 loc) · 1.04 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
FIPS_ENABLED=true
# needed for FR operators as boilerplate checks commercial app-interface saas file hashes
export SKIP_SAAS_FILE_CHECKS=y
export LATEST_IMAGE_TAG=image-v5.0.1
include boilerplate/generated-includes.mk
SHELL := /usr/bin/env bash
.PHONY: boilerplate-update
boilerplate-update:
@boilerplate/update
.PHONY: run
run:
go run ./main.go $(ARGS)
ifndef ignore-not-found
ignore-not-found = false
endif
.PHONY: install
install: ## Install CRDs into the K8s cluster specified in ~/.kube/config.
oc apply -f ./deploy/crds/
.PHONY: uninstall
uninstall: ## Uninstall CRDs from the K8s cluster specified in ~/.kube/config. Call with ignore-not-found=true to ignore resource not found errors during deletion.
oc delete --ignore-not-found=$(ignore-not-found) -f ./deploy/crds/
DIR := $(dir $(realpath $(firstword $(MAKEFILE_LIST))))
# to ignore vendor directory
GOFLAGS=-mod=mod
.PHONY: osde2e
osde2e:
CGO_ENABLED=0 go test -v -c ./osde2e/
mv osde2e.test osde2e/.
.PHONY: harness-build-push
harness-build-push:
@${DIR}/osde2e/harness-build-push.sh