Update CI things

This commit is contained in:
2021-06-13 09:26:27 -04:00
parent 7c46ad632a
commit 201c2a1a47
4 changed files with 37 additions and 37 deletions

View File

@@ -8,7 +8,7 @@ platform:
steps:
- name: build
image: simon987/ubuntu_ci
image: simon987/sist2-build
commands:
- ./ci/build.sh
- name: docker
@@ -19,8 +19,8 @@ steps:
password:
from_secret: DOCKER_PASSWORD
repo: simon987/sist2
context: ./Docker/
dockerfile: ./Docker/Dockerfile
context: ./
dockerfile: ./Dockerfile
auto_tag: true
auto_tag_suffix: x64-linux
when:
@@ -41,32 +41,32 @@ steps:
source:
- ./VERSION
- ./sist2-x64-linux
- ./sist2-x64-linux-debug.tar.gz
- ./sist2-x64-linux-debug
---
kind: pipeline
type: docker
name: arm64
platform:
arch: arm64
steps:
- name: build
image: simon987/ubuntu_ci_arm
commands:
- ./ci/build_arm64.sh
- name: scp files
image: appleboy/drone-scp
settings:
host:
from_secret: SSH_HOST
port:
from_secret: SSH_PORT
user:
from_secret: SSH_USER
key:
from_secret: SSH_KEY
target: /files/sist2/${DRONE_REPO_OWNER}_${DRONE_REPO_NAME}/arm_${DRONE_BRANCH}_${DRONE_BUILD_NUMBER}_${DRONE_COMMIT}/
source:
- ./sist2-arm64-linux
#---
#kind: pipeline
#type: docker
#name: arm64
#
#platform:
# arch: arm64
#
#steps:
# - name: build
# image: simon987/ubuntu_ci_arm
# commands:
# - ./ci/build_arm64.sh
# - name: scp files
# image: appleboy/drone-scp
# settings:
# host:
# from_secret: SSH_HOST
# port:
# from_secret: SSH_PORT
# user:
# from_secret: SSH_USER
# key:
# from_secret: SSH_KEY
# target: /files/sist2/${DRONE_REPO_OWNER}_${DRONE_REPO_NAME}/arm_${DRONE_BRANCH}_${DRONE_BUILD_NUMBER}_${DRONE_COMMIT}/
# source:
# - ./sist2-arm64-linux