Skip to content

Commit

Permalink
update runner version to 2.313.0
Browse files Browse the repository at this point in the history
Signed-off-by: Daichi Sakaue <daichi-sakaue@cybozu.co.jp>
  • Loading branch information
yokaze committed Feb 8, 2024
1 parent 3776877 commit 2e2faa5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ FROM quay.io/cybozu/ubuntu:22.04 as runner

# Even if the version of the runner is out of date, it will self-update at job execution time. So there is no problem to update it when you notice.
# TODO: Until https://github.com/cybozu-go/meows/issues/137 is fixed, update it manually.
ARG RUNNER_VERSION=2.304.0
ARG RUNNER_VERSION=2.313.0

ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update -y \
Expand Down
21 changes: 12 additions & 9 deletions kindtest/runner_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,15 +113,18 @@ func testRunner() {
finishedAt := time.Now()

By("checking status")
Expect(status).To(PointTo(MatchAllFields(Fields{
"State": Equal("debugging"),
"Result": Equal("failure"),
"FinishedAt": PointTo(BeTemporally("~", finishedAt, 3*time.Second)),
"DeletionTime": BeNil(),
"Extend": PointTo(BeTrue()),
"JobInfo": Not(BeNil()),
"SlackChannel": BeEmpty(),
})))
Eventually(func(g Gomega) {
_, status = waitJobCompletion(repoRunner1NS, repoRunnerPool1Name)
g.Expect(status).To(PointTo(MatchAllFields(Fields{
"State": Equal("debugging"),
"Result": Equal("failure"),
"FinishedAt": PointTo(BeTemporally("~", finishedAt, 3*time.Second)),
"DeletionTime": Not(BeNil()),
"Extend": PointTo(BeTrue()),
"JobInfo": Not(BeNil()),
"SlackChannel": BeEmpty(),
})))
}).Should(Succeed())

By("checking pdb")
_, stderr, err := kubectl("evict", "-n", repoRunner1NS, assignedPod.Name)
Expand Down

0 comments on commit 2e2faa5

Please sign in to comment.