forked from openshift/pagerduty-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
28 lines (22 loc) · 1.15 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
include boilerplate/generated-includes.mk
# Temporary until boilerplated
include functions.mk
CATALOG_REGISTRY_ORGANIZATION?=app-sre
.PHONY: boilerplate-update
boilerplate-update:
@boilerplate/update
# Extend Makefile after here
.PHONY: skopeo-push
skopeo-push:
skopeo copy \
--dest-creds "${QUAY_USER}:${QUAY_TOKEN}" \
"docker-daemon:${OPERATOR_IMAGE_URI_LATEST}" \
"docker://${OPERATOR_IMAGE_URI_LATEST}"
skopeo copy \
--dest-creds "${QUAY_USER}:${QUAY_TOKEN}" \
"docker-daemon:${OPERATOR_IMAGE_URI}" \
"docker://${OPERATOR_IMAGE_URI}"
.PHONY: build-catalog-image
build-catalog-image:
$(call create_push_catalog_image,staging,service/saas-pagerduty-operator-bundle,$$APP_SRE_BOT_PUSH_TOKEN,false,service/app-interface,data/services/osd-operators/cicd/saas/saas-$(OPERATOR_NAME).yaml,hack/generate-operator-bundle.py,$(CATALOG_REGISTRY_ORGANIZATION),$(OPERATOR_NAME))
$(call create_push_catalog_image,production,service/saas-pagerduty-operator-bundle,$$APP_SRE_BOT_PUSH_TOKEN,true,service/app-interface,data/services/osd-operators/cicd/saas/saas-$(OPERATOR_NAME).yaml,hack/generate-operator-bundle.py,$(CATALOG_REGISTRY_ORGANIZATION),$(OPERATOR_NAME))