remove the ci
This commit is contained in:
@ -1,29 +0,0 @@
|
|||||||
version: 39
|
|
||||||
jobs:
|
|
||||||
- name: Build
|
|
||||||
steps:
|
|
||||||
- !CheckoutStep
|
|
||||||
name: Checkout
|
|
||||||
cloneCredential: !DefaultCredential {}
|
|
||||||
withLfs: true
|
|
||||||
withSubmodules: false
|
|
||||||
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
|
||||||
- !BuildImageStep
|
|
||||||
name: Build Docker Image
|
|
||||||
dockerfile: Dockerfile.run
|
|
||||||
output: !RegistryOutput
|
|
||||||
tags: onedev.site.tesses.net/tesses-framework/tesses-framework:latest
|
|
||||||
registryLogins:
|
|
||||||
- registryUrl: '@server_url@'
|
|
||||||
userName: '@job_token@'
|
|
||||||
passwordSecret: dockersecret
|
|
||||||
platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/riscv64,linux/s390x
|
|
||||||
moreOptions: --build-arg GITEA_USERPASS="@secret:GITEA_USERPASS@"
|
|
||||||
condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL
|
|
||||||
triggers:
|
|
||||||
- !BranchUpdateTrigger
|
|
||||||
projects: tesses-framework
|
|
||||||
retryCondition: never
|
|
||||||
maxRetries: 3
|
|
||||||
retryDelay: 30
|
|
||||||
timeout: 14400
|
|
||||||
@ -1,5 +0,0 @@
|
|||||||
FROM onedev.site.tesses.net/dependencies/dependencies:latest
|
|
||||||
COPY . /usr/src
|
|
||||||
|
|
||||||
WORKDIR /usr/src
|
|
||||||
RUN mkdir build && cd build && cmake -S .. -B . -DCMAKE_INSTALL_PREFIX=/usr && make -j12 && make install && cpack -G DEB && curl --user $GITEA_USERPASS --upload-file TessesFramework-1.0.0-Linux.deb https://gitea-pkg.site.tesses.net/api/packages/tesses50/debian/pool/noble/main/upload ; true && cd .. && rm -rf build
|
|
||||||
Reference in New Issue
Block a user