From 796f85e9375dfb56bde0d1495116af1b2b182914 Mon Sep 17 00:00:00 2001 From: Mike Nolan Date: Mon, 17 Nov 2025 19:42:28 +0000 Subject: [PATCH] Add .onedev-buildspec.yml --- .onedev-buildspec.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .onedev-buildspec.yml diff --git a/.onedev-buildspec.yml b/.onedev-buildspec.yml new file mode 100644 index 0000000..74f3b9f --- /dev/null +++ b/.onedev-buildspec.yml @@ -0,0 +1,29 @@ +version: 39 +jobs: +- name: Builds + steps: + - !CheckoutStep + name: Checkout + cloneCredential: !DefaultCredential {} + withLfs: true + withSubmodules: true + cloneDepth: 1 + condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL + - !BuildImageStep + name: Build text board + buildPath: 7 Text Board + output: !RegistryOutput + tags: onedev.site.tesses.net/crosslang/crosslang-tutorials/text-board:latest + registryLogins: + - registryUrl: '@server_url@' + userName: '@job_token@' + passwordSecret: dockersecret + condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL + triggers: + - !BranchUpdateTrigger + branches: master + projects: crosslang/crosslang-tutorials + retryCondition: never + maxRetries: 3 + retryDelay: 30 + timeout: 14400