buildkite_constants.py 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. # Copyright Materialize, Inc. and contributors. All rights reserved.
  2. #
  3. # Use of this software is governed by the Business Source License
  4. # included in the LICENSE file at the root of this repository.
  5. #
  6. # As of the Change Date specified in that file, in accordance with
  7. # the Business Source License, use of this software will be governed
  8. # by the Apache License, Version 2.0.
  9. BUILDKITE_BUILD_STATES = [
  10. "running",
  11. "scheduled",
  12. "passed",
  13. "failing",
  14. "failed",
  15. "blocked",
  16. "canceled",
  17. "canceling",
  18. "skipped",
  19. "not_run",
  20. "finished",
  21. ]
  22. BUILDKITE_FAILED_BUILD_STATES = [
  23. "failing",
  24. "failed",
  25. ]
  26. BUILDKITE_COMPLETED_BUILD_STATES = [
  27. "passed",
  28. "failed",
  29. "canceled",
  30. "skipped",
  31. "not_run",
  32. "finished",
  33. ]
  34. BUILDKITE_BUILD_STEP_STATES = [
  35. "assigned",
  36. "broken",
  37. "canceled",
  38. "failed",
  39. "passed",
  40. "running",
  41. "scheduled",
  42. "skipped",
  43. "timed_out",
  44. "unblocked",
  45. "waiting",
  46. "waiting_failed",
  47. ]
  48. BUILDKITE_COMPLETED_BUILD_STEP_STATES = [
  49. "broken",
  50. "canceled",
  51. "failed",
  52. "passed",
  53. "skipped",
  54. "timed_out",
  55. "waiting_failed",
  56. ]
  57. BUILDKITE_RELEVANT_COMPLETED_BUILD_STEP_STATES = [
  58. "failed",
  59. "passed",
  60. "timed_out",
  61. ]
  62. BUILDKITE_RELEVANT_FAILED_BUILD_STEP_STATES = [
  63. "failed",
  64. "timed_out",
  65. ]