-
Notifications
You must be signed in to change notification settings - Fork 92
/
Makefile
28 lines (22 loc) · 1.14 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
FIPS_ENABLED=true
include boilerplate/generated-includes.mk
.PHONY: boilerplate-update
boilerplate-update:
@boilerplate/update
# Include local Makefile libraries
include functions.mk
CATALOG_REGISTRY_ORGANIZATION?=app-sre
.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-configure-alertmanager-operator-bundle,$$APP_SRE_BOT_PUSH_TOKEN,false,service/app-interface,data/services/osd-operators/cicd/saas/saas-$(OPERATOR_NAME).yaml,build/generate-operator-bundle.py,$(CATALOG_REGISTRY_ORGANIZATION))
$(call create_push_catalog_image,production,service/saas-configure-alertmanager-operator-bundle,$$APP_SRE_BOT_PUSH_TOKEN,true,service/app-interface,data/services/osd-operators/cicd/saas/saas-$(OPERATOR_NAME).yaml,build/generate-operator-bundle.py,$(CATALOG_REGISTRY_ORGANIZATION))