Skip to content

Commit

Permalink
use quay.io/denis_codefresh/argo-events
Browse files Browse the repository at this point in the history
  • Loading branch information
denis-codefresh committed Aug 15, 2023
1 parent 43ea3ee commit 9fcb428
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
- run: go install github.com/spdx/spdx-sbom-generator/cmd/generator@v0.0.13
- run: mkdir -p dist
- run: generator -o dist -p .
- run: bom generate --image quay.io/codefresh/argo-events:$VERSION -o dist/argo-events.spdx
- run: bom generate --image quay.io/denis_codefresh/argo-events:$VERSION -o dist/argo-events.spdx
# pack the boms into one file to make it easy to download
- run: tar -zcf sbom.tar.gz dist/*.spdx
- uses: actions/upload-artifact@v3
Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ GIT_TREE_STATE=$(shell if [ -z "`git status --porcelain`" ]; then echo "clean" ;
EXECUTABLES = curl docker gzip go

# docker image publishing options
DOCKER_PUSH?=false
IMAGE_NAMESPACE?=quay.io/argoproj
DOCKER_PUSH?=true
IMAGE_NAMESPACE?=quay.io/denis_codefresh
VERSION?=v1.7.3-cap-CR-19893
BASE_VERSION:=v1.7.3-cap-CR-19893

Expand Down Expand Up @@ -140,7 +140,7 @@ docs/assets/diagram.png: go-diagrams/diagram.dot
.PHONY: start
start: image
kubectl apply -f test/manifests/argo-events-ns.yaml
kubectl kustomize test/manifests | sed 's@quay.io/codefresh/@$(IMAGE_NAMESPACE)/@' | sed 's/:$(BASE_VERSION)/:$(VERSION)/' | kubectl -n argo-events apply -l app.kubernetes.io/part-of=argo-events --prune=false --force -f -
kubectl kustomize test/manifests | sed 's@quay.io/denis_codefresh/@$(IMAGE_NAMESPACE)/@' | sed 's/:$(BASE_VERSION)/:$(VERSION)/' | kubectl -n argo-events apply -l app.kubernetes.io/part-of=argo-events --prune=false --force -f -
kubectl -n argo-events wait --for=condition=Ready --timeout 60s pod --all

$(GOPATH)/bin/golangci-lint:
Expand Down Expand Up @@ -176,7 +176,7 @@ check-version-warning:

.PHONY: update-manifests-version
update-manifests-version:
cat manifests/base/kustomization.yaml | sed 's/newTag: .*/newTag: $(VERSION)/' | sed 's@value: quay.io/codefresh/argo-events:.*@value: quay.io/codefresh/argo-events:$(VERSION)@' > /tmp/base_kustomization.yaml
cat manifests/base/kustomization.yaml | sed 's/newTag: .*/newTag: $(VERSION)/' | sed 's@value: quay.io/denis_codefresh/argo-events:.*@value: quay.io/denis_codefresh/argo-events:$(VERSION)@' > /tmp/base_kustomization.yaml
mv /tmp/base_kustomization.yaml manifests/base/kustomization.yaml
cat manifests/extensions/validating-webhook/kustomization.yaml | sed 's/newTag: .*/newTag: $(VERSION)/' > /tmp/wh_kustomization.yaml
mv /tmp/wh_kustomization.yaml manifests/extensions/validating-webhook/kustomization.yaml
Expand Down
4 changes: 2 additions & 2 deletions manifests/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ resources:

images:
- name: quay.io/argoproj/argo-events
newName: quay.io/codefresh/argo-events
newName: quay.io/denis_codefresh/argo-events
newTag: v1.7.3-cap-CR-19893

patchesStrategicMerge:
Expand All @@ -28,5 +28,5 @@ patchesStrategicMerge:
- name: controller-manager
env:
- name: ARGO_EVENTS_IMAGE
value: quay.io/codefresh/argo-events:v1.7.3-cap-CR-19893
value: quay.io/denis_codefresh/argo-events:v1.7.3-cap-CR-19893
2 changes: 1 addition & 1 deletion manifests/extensions/validating-webhook/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ namespace: argo-events

images:
- name: quay.io/argoproj/argo-events
newName: quay.io/codefresh/argo-events
newName: quay.io/denis_codefresh/argo-events
newTag: v1.7.3-cap-CR-19893
2 changes: 1 addition & 1 deletion manifests/install-validating-webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ spec:
fieldPath: metadata.namespace
- name: PORT
value: "443"
image: quay.io/codefresh/argo-events:v1.7.3-cap-CR-19893
image: quay.io/denis_codefresh/argo-events:v1.7.3-cap-CR-19893
imagePullPolicy: Always
name: webhook
serviceAccountName: argo-events-webhook-sa
4 changes: 2 additions & 2 deletions manifests/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -376,12 +376,12 @@ spec:
- controller
env:
- name: ARGO_EVENTS_IMAGE
value: quay.io/codefresh/argo-events:v1.7.3-cap-CR-19893
value: quay.io/denis_codefresh/argo-events:v1.7.3-cap-CR-19893
- name: NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: quay.io/codefresh/argo-events:v1.7.3-cap-CR-19893
image: quay.io/denis_codefresh/argo-events:v1.7.3-cap-CR-19893
imagePullPolicy: Always
livenessProbe:
httpGet:
Expand Down
4 changes: 2 additions & 2 deletions manifests/namespace-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -297,12 +297,12 @@ spec:
- --namespaced
env:
- name: ARGO_EVENTS_IMAGE
value: quay.io/codefresh/argo-events:v1.7.3-cap-CR-19893
value: quay.io/denis_codefresh/argo-events:v1.7.3-cap-CR-19893
- name: NAMESPACE
valueFrom:
fieldRef:
fieldPath: metadata.namespace
image: quay.io/codefresh/argo-events:v1.7.3-cap-CR-19893
image: quay.io/denis_codefresh/argo-events:v1.7.3-cap-CR-19893
imagePullPolicy: Always
livenessProbe:
httpGet:
Expand Down

0 comments on commit 9fcb428

Please sign in to comment.