Skip to content

Commit

Permalink
debug statements for image tag
Browse files Browse the repository at this point in the history
  • Loading branch information
odacremolbap committed Aug 28, 2023
1 parent c722204 commit d90149e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/build-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ jobs:
IMAGE_TAG=sha-${GITHUB_SHA:0:7}
[[ ${GITHUB_REF_TYPE} == "tag" ]] && IMAGE_TAG=${GITHUB_REF_NAME}
echo "IMAGE_TAG=${IMAGE_TAG}" >> $GITHUB_OUTPUT
echo "IMAGE_TAG=${IMAGE_TAG}"
- name: Publish container images
env:
Expand All @@ -87,6 +88,7 @@ jobs:
DIST_DIR: /tmp/dist
run: |
IMAGE_TAG=${{ steps.image-tag.outputs.IMAGE_TAG }} make release
echo "IMAGE_TAG=${IMAGE_TAG}"
- name: Upload artifact
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/e2e-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,15 @@ jobs:
- name: Deploy TriggerMesh
run: |
echo "IMAGE_TAG=${{ github.event.client_payload.image_tag }}"
sed -i config/500-*.yaml \
-e "s|ko://github.com/triggermesh/triggermesh-event-sources-bundle/cmd/\(.*$\)|gcr.io/triggermesh/event-sources-bundle/\1:${{ github.event.client_payload.image_tag }}|g"
kubectl apply -f config/
kubectl -n knative-serving wait deployments.app --timeout=5m --for=condition=Available -l app.kubernetes.io/name=knative-serving
kubectl -n knative-eventing wait deployments.app --timeout=5m --for=condition=Available -l app.kubernetes.io/name=knative-eventing
kubectl -n triggermesh wait deployments.app --timeout=10m --for=condition=Available -l app.kubernetes.io/part-of=triggermesh
kubectl -n triggermesh wait deployments.app --timeout=5m --for=condition=Available -l app.kubernetes.io/part-of=triggermesh
- name: Install Ginkgo
run: go install github.com/onsi/ginkgo/v2/ginkgo
Expand Down

0 comments on commit d90149e

Please sign in to comment.