diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md deleted file mode 100644 index eb5ac45d..00000000 --- a/.github/pull_request_template.md +++ /dev/null @@ -1,19 +0,0 @@ -Fixes: -- [ASANA Ticket Title](https://app.asana.com/0/1203769814255679/board) - -## Description of changes - -TODO - - - - -## Notes for code reviewers - -TODO - - diff --git a/.github/workflows/ci-containers.yaml b/.github/workflows/ci-containers.yaml index 6734c796..df62c905 100644 --- a/.github/workflows/ci-containers.yaml +++ b/.github/workflows/ci-containers.yaml @@ -7,13 +7,13 @@ on: branches: - master tags: - - 'v[0-9]+.[0-9]+.[0-9]+' + - 'v*' pull_request: branches: - master jobs: - build-container-images: + build-container-images: outputs: digest: ${{ steps.outputs.outputs.digest }} permissions: @@ -89,14 +89,14 @@ jobs: uses: actions/checkout@v4 - name: Create k8s Kind Cluster - uses: helm/kind-action@v1.8.0 + uses: helm/kind-action@v1.9.0 with: cluster_name: kind config: ./kind/config.yaml - name: Apply local service using image from this run run: | - sed -i 's|image: calyptia/vivo|image: ghcr.io/calyptia/vivo@${{ needs.build-container-images.outputs.digest }}|g' ./vivo-deployment.yaml + sed -i 's|image: calyptia/vivo|image: ghcr.io/chronosphereio/calyptia-vivo@${{ needs.build-container-images.outputs.digest }}|g' ./vivo-deployment.yaml cat ./vivo-deployment.yaml kubectl apply -f ./vivo-deployment.yaml shell: bash @@ -105,8 +105,8 @@ jobs: timeout-minutes: 5 run: | echo "Waiting for deployment to complete..." - until kubectl rollout status deployment calyptia-vivo; do - echo -n "." + until kubectl rollout status deployment calyptia-vivo --timeout=2s; do + kubectl describe deployment calyptia-vivo sleep 2 done echo @@ -126,6 +126,7 @@ jobs: run: | kubectl cluster-info || true kubectl get all || true + kubectl describe pod --selector=app.kubernetes.io/name=vivo || true kubectl get events || true kubectl get pods --all-namespaces -o wide --show-labels || true kubectl logs "$(kubectl get pod --selector=app.kubernetes.io/name=vivo --output=jsonpath={.items..metadata.name})" || true @@ -161,7 +162,7 @@ jobs: with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - + - name: Get Docker tags id: docker_meta uses: docker/metadata-action@v5 @@ -192,7 +193,7 @@ jobs: - name: Sign Container Image continue-on-error: true run: | - cosign sign --force --yes calyptia/vivo@${{ steps.docker_build.outputs.digest }} + cosign sign --recursive --yes calyptia/vivo@${{ steps.docker_build.outputs.digest }} shell: bash release-on-tag: @@ -203,6 +204,7 @@ jobs: permissions: contents: write steps: + - uses: actions/checkout@v4 - name: Release on tag uses: softprops/action-gh-release@v1 with: diff --git a/Dockerfile b/Dockerfile index 845b2d9b..15ebe675 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,7 +27,7 @@ RUN \ find out -name '*.css' -print0 | xargs -0 sed "s@url(/@url($NEXT_PUBLIC_VIVO_BASE_PATH/@g" -i ######### -FROM golang:1.21 as service-builder +FROM golang:1.22 as service-builder # Ensure we produce a static binary to prevent issues between this image and the production one ARG TARGETOS TARGETARCH @@ -43,7 +43,7 @@ COPY packages/service . RUN go build -o vivo-service -trimpath -tags netgo,osusergo . ######## Fluent Bit -FROM fluent/fluent-bit:2.1.10 as production +FROM fluent/fluent-bit:2.2.2 as production ARG vivo_base_path ### Set working directory diff --git a/README.md b/README.md index a51a5501..0859c51f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Vivo -[Vivo](https://github.com/calyptia/vivo) provides a visualization interface for _logs_, _metrics,_ and _traces_. +[Vivo](https://github.com/chronosphereio/calyptia-vivo) provides a visualization interface for _logs_, _metrics,_ and _traces_. ![Calyptia Logo](./docs/hello_calyptia.png) diff --git a/vivo-deployment.yaml b/vivo-deployment.yaml index 6df6a9df..07e4849f 100644 --- a/vivo-deployment.yaml +++ b/vivo-deployment.yaml @@ -49,7 +49,6 @@ spec: spec: containers: - image: calyptia/vivo - imagePullPolicy: Always name: vivo ports: - name: forward