You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Build the docker image: `docker build . -t kubeshop/testkube-executor-keptn:dev` (Note: Ensure that you use the correct DockerHub account/organization)
28
-
* Run the docker image locally: `docker run --rm -it -p 8080:8080 kubeshop/testkube-executor-keptn:dev`
29
-
* Push the docker image to DockerHub: `docker push kubeshop/testkube-executor-keptn:dev` (Note: Ensure that you use the correct DockerHub account/organization)
27
+
* Build the docker image: `docker build . -t kubeshop/testkube-executor-keptn:0.12.0` (Note: Ensure that you use the correct DockerHub account/organization)
28
+
* Run the docker image locally: `docker run --rm -it -p 8080:8080 kubeshop/testkube-executor-keptn:0.12.0`
29
+
* Push the docker image to DockerHub: `docker push kubeshop/testkube-executor-keptn:0.12.0` (Note: Ensure that you use the correct DockerHub account/organization)
30
30
* Deploy the service using `kubectl`: `kubectl apply -f deploy/`
31
31
* Delete/undeploy the service using `kubectl`: `kubectl delete -f deploy/`
32
-
* Watch the deployment using `kubectl`: `kubectl -n keptn get deployment keptn-service-template-go -o wide`
33
-
* Get logs using `kubectl`: `kubectl -n keptn logs deployment/keptn-service-template-go -f`
34
-
* Watch the deployed pods using `kubectl`: `kubectl -n keptn get pods -l run=keptn-service-template-go`
32
+
* Watch the deployment using `kubectl`: `kubectl -n keptn get deployment testkube-executor-keptn -o wide`
33
+
* Get logs using `kubectl`: `kubectl -n keptn logs deployment/testkube-executor-keptn -f`
34
+
* Watch the deployed pods using `kubectl`: `kubectl -n keptn get pods -l run=testkube-executor-keptn`
35
35
* Deploy the service using [Skaffold](https://skaffold.dev/): `skaffold run --default-repo=your-docker-registry --tail` (Note: Replace `your-docker-registry` with your DockerHub username; also make sure to adapt the image name in [skaffold.yaml](skaffold.yaml))
Copy file name to clipboardExpand all lines: eventhandlers.go
-2Lines changed: 0 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3,12 +3,10 @@ package main
3
3
// Here is a generic example of an echo service: https://github.com/keptn-sandbox/echo-service
4
4
// It listens for all cloud events (see deploy/service.yaml: PUBSUB_TOPIC wildcard: "sh.keptn.>"") and automatically responds with .started and .finished events
5
5
import (
6
-
"fmt"
7
6
"log"
8
7
"time"
9
8
10
9
cloudevents "github.com/cloudevents/sdk-go/v2"// make sure to use v2 cloudevents here
0 commit comments