Skip to content

Commit

Permalink
feat: use scarf.sh registry for all container images (#507)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: We are introducing scarf.sh for download tracking to have valuable information that will show us adoption rates for the toolkit.
  • Loading branch information
mowies authored Dec 13, 2022
1 parent 23ddfa3 commit 647c6a1
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/actions/deploy-klt-on-cluster/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ runs:
shell: bash
run: |
sed -i 's/imagePullPolicy: Always/imagePullPolicy: Never/g' ~/download/artifacts/keptn-lifecycle-operator-manifest-test/release.yaml
sed -i 's/ghcr.io\/keptn\/functions-runtime:.*/localhost:5000\/keptn\/functions-runtime:${{ inputs.functions_runtime_tag }}/g' ~/download/artifacts/keptn-lifecycle-operator-manifest-test/release.yaml
sed -i 's/ghcr.keptn.sh\/keptn\/functions-runtime:.*/localhost:5000\/keptn\/functions-runtime:${{ inputs.functions_runtime_tag }}/g' ~/download/artifacts/keptn-lifecycle-operator-manifest-test/release.yaml
kubectl apply -f ~/download/artifacts/keptn-lifecycle-operator-manifest-test
kubectl apply -f ~/download/artifacts/scheduler-manifest-test
kubectl rollout status deployment keptn-scheduler -n keptn-lifecycle-toolkit-system -w
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ jobs:

- name: Create manifests
env:
RELEASE_REGISTRY: ghcr.keptn.sh/keptn
TAG: ${{ needs.release-please.outputs.tag_name }}
run: |
cd scheduler
Expand Down
2 changes: 1 addition & 1 deletion operator/config/manager/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
images:
- name: controller
newName: docker.io/thschue/keptn-lifecycle-operator
newName: ghcr.keptn.sh/keptn/keptn-lifecycle-operator
newTag: "202211141668444272"
2 changes: 1 addition & 1 deletion operator/config/manager/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ spec:
- name: OTEL_COLLECTOR_URL
value: otel-collector:4317
- name: FUNCTION_RUNNER_IMAGE
value: ghcr.io/keptn/functions-runtime:v0.4.1 #x-release-please-version
value: ghcr.keptn.sh/keptn/functions-runtime:v0.4.1 #x-release-please-version
securityContext:
allowPrivilegeEscalation: false
capabilities:
Expand Down
10 changes: 2 additions & 8 deletions scheduler/manifests/install/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@ configMapGenerator:
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
images:
- name: image
newName: ghcr.io/keptn/scheduler
newTag: "202211041667586936"
- name: klfc-scheduler
newName: docker.io/thschue/scheduler
newTag: "202211021667386780"
- name: scheduler
newName: docker.io/thschue/scheduler
newTag: "202211071667824605"
newName: ghcr.keptn.sh/keptn/scheduler
newTag: 0.5.0-next.13

0 comments on commit 647c6a1

Please sign in to comment.