Compare commits
1 commit
b24a9edf96
...
e20060c14a
Author | SHA1 | Date | |
---|---|---|---|
KemoNine | e20060c14a |
49
.drone.yml
Normal file
49
.drone.yml
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: default
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
|
||||||
|
platform:
|
||||||
|
os: linux
|
||||||
|
arch: arm64
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: cache
|
||||||
|
temp: {}
|
||||||
|
|
||||||
|
environment:
|
||||||
|
DEBIAN_FRONTEND: noninteractive
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build
|
||||||
|
image: golang:1.15
|
||||||
|
pull: always
|
||||||
|
volumes:
|
||||||
|
- name: cache
|
||||||
|
path: /drone/src/out
|
||||||
|
commands:
|
||||||
|
- cd /drone/src
|
||||||
|
- go build -o out/wifi cmd/wifi/wifi.go
|
||||||
|
- cp CHANGELOG.md out/
|
||||||
|
- name: gitea-release
|
||||||
|
image: plugins/gitea-release
|
||||||
|
volumes:
|
||||||
|
- name: cache
|
||||||
|
path: /opt/artifacts
|
||||||
|
settings:
|
||||||
|
api_key:
|
||||||
|
from_secret: gitea_token
|
||||||
|
base_url: https://git.kemonine.info
|
||||||
|
title: $DRONE_TAG
|
||||||
|
note: Please see the CHANGELOG.md file for details
|
||||||
|
files:
|
||||||
|
- /opt/artifacts/*
|
||||||
|
checksum:
|
||||||
|
- md5
|
||||||
|
- sha1
|
||||||
|
- sha256
|
||||||
|
- sha512
|
|
@ -1,5 +1,9 @@
|
||||||
# Change Log
|
# Change Log
|
||||||
|
|
||||||
|
## 20200826.2
|
||||||
|
|
||||||
|
- Add drone configuration to auto-build tags and release artifacts
|
||||||
|
|
||||||
## 20200826.1
|
## 20200826.1
|
||||||
|
|
||||||
- Initial bring up of the wifi configuration utility
|
- Initial bring up of the wifi configuration utility
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
|
|
||||||
The go sources for various PiFrame commands, etc used by the project.
|
The go sources for various PiFrame commands, etc used by the project.
|
||||||
|
|
||||||
|
# Releases
|
||||||
|
|
||||||
|
Releases are snapshot builds of the entire repo. We tag/build when we feel the code is ready for release. There is no 'schedule' other than 'its ready'.
|
||||||
|
|
||||||
# Licensing
|
# Licensing
|
||||||
|
|
||||||
Unless otherwise stated all source code is licensed under the [Apache 2 License](LICENSE-APACHE-2.0.txt).
|
Unless otherwise stated all source code is licensed under the [Apache 2 License](LICENSE-APACHE-2.0.txt).
|
||||||
|
|
Loading…
Reference in a new issue