Skip to content

Commit

Permalink
ci: increase deploy timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
ernado committed May 31, 2024
1 parent 9398bdc commit 02721b1
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
env:
REGISTRY: ghcr.io
IMAGE_TAG: ghcr.io/${{ github.repository }}
KUBECTL_VERSION: v1.27.1
KUBECTL_VERSION: v1.27.6

jobs:
oteldb:
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
/tmp/kubectl -n faster rollout status deployment otelproxy chotel --timeout=5m
- name: Deploy (Helm)
run: |
helm upgrade --install otel ./helm/oteldb --namespace faster --values .k8s/values.yml --set image.tag=${{ env.sha }}
helm upgrade --timeout 5m --wait --install otel ./helm/oteldb --namespace faster --values .k8s/values.yml --set image.tag=${{ env.sha }}
otelbot:
environment: prod
Expand Down Expand Up @@ -252,8 +252,7 @@ jobs:

- name: Deploy (Helm)
run: |
helm upgrade --install bot ./helm/otelbot --namespace faster --values .k8s/otelbot.values.yml --set image.tag=${{ env.sha }}
/tmp/kubectl -n faster rollout status deployment bot-otelbot --timeout=10m
helm upgrade --timeout 5m --wait --install bot ./helm/otelbot --namespace faster --values .k8s/otelbot.values.yml --set image.tag=${{ env.sha }}
otel:
environment: prod
Expand Down Expand Up @@ -306,5 +305,5 @@ jobs:
- name: Deploy
run: |
/tmp/kubectl -n monitoring apply -f .k8s/otel.yml
/tmp/kubectl -n monitoring rollout status --timeout=1m deployment otel-collector
/tmp/kubectl -n monitoring rollout status --timeout=1m daemonset otel-agent
/tmp/kubectl -n monitoring rollout status --timeout=2m deployment otel-collector
/tmp/kubectl -n monitoring rollout status --timeout=2m daemonset otel-agent

0 comments on commit 02721b1

Please sign in to comment.