diff options
-rw-r--r-- | .onedev-buildspec.yml | 40 | ||||
-rw-r--r-- | PkiAuthenticator.build.sln | 15 |
2 files changed, 54 insertions, 1 deletions
diff --git a/.onedev-buildspec.yml b/.onedev-buildspec.yml new file mode 100644 index 0000000..97e7644 --- /dev/null +++ b/.onedev-buildspec.yml @@ -0,0 +1,40 @@ +version: 24 +jobs: +- name: Push to GitHub + steps: + - !PushRepository + name: GitHub Sync + remoteUrl: https://github.com/VnUgE/PkiAuthenticator.git + userName: VnUgE + passwordSecret: github-access-token + force: false + condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL + triggers: + - !TagCreateTrigger + projects: PkiAuthenticator + - !BranchUpdateTrigger + projects: PkiAuthenticator + retryCondition: never + maxRetries: 3 + retryDelay: 30 + timeout: 3600 +- name: Pull from GitHub + steps: + - !PullRepository + name: Sync from GitHub + remoteUrl: https://github.com/VnUgE/PkiAuthenticator.git + syncToChildProject: false + userName: VnUgE + passwordSecret: github-access-token + refs: refs/heads/* refs/tags/* + withLfs: false + force: false + condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL + triggers: + - !ScheduleTrigger + cronExpression: 0 15 10 ? * * + projects: PkiAuthenticator + retryCondition: never + maxRetries: 3 + retryDelay: 30 + timeout: 3600 diff --git a/PkiAuthenticator.build.sln b/PkiAuthenticator.build.sln index dec2662..2003c2b 100644 --- a/PkiAuthenticator.build.sln +++ b/PkiAuthenticator.build.sln @@ -3,7 +3,20 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.5.33502.453 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PkiAuthenticator", "src/PkiAuthenticator.csproj", "{75848ED7-D09B-44A6-A502-2AA427329C8F}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PkiAuthenticator", "src\PkiAuthenticator.csproj", "{75848ED7-D09B-44A6-A502-2AA427329C8F}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{8A3B529B-1F53-49AC-8015-FA926C037142}" + ProjectSection(SolutionItems) = preProject + .gitattributes = .gitattributes + .gitignore = .gitignore + .onedev-buildspec.yml = .onedev-buildspec.yml + build.readme.txt = build.readme.txt + GitVersion.yml = GitVersion.yml + LICENSE.txt = LICENSE.txt + Module.Taskfile.yaml = Module.Taskfile.yaml + README.md = README.md + Taskfile.yaml = Taskfile.yaml + EndProjectSection EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution |