Compare commits
27 Commits
55e125c3a4
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
331e54efd7
|
|||
|
cc540bcca0
|
|||
|
ddc1126bd8
|
|||
|
a0e1fe5f95
|
|||
|
f3a4fcae62
|
|||
|
75cd3f9478
|
|||
|
390fef106d
|
|||
|
467b94fb5a
|
|||
|
57cf758a56
|
|||
|
97beda7482
|
|||
|
97433e5a7a
|
|||
|
7e1f53b5b0
|
|||
|
d44f678f2c
|
|||
|
25a77d941f
|
|||
|
34834e8c9b
|
|||
|
0732890cb3
|
|||
|
a4d2016752
|
|||
|
59cf673c80
|
|||
|
e1fafc8063
|
|||
|
8ec42c53a2
|
|||
|
c8e677c1e7
|
|||
|
7e085d15f2
|
|||
|
a63da99d5d
|
|||
|
2a983b9cdc
|
|||
|
e563bbfd0d
|
|||
|
4ff3acb1d3
|
|||
|
ed7e71e1c8
|
24
.drone.yml
24
.drone.yml
@@ -34,6 +34,7 @@ steps:
|
||||
DRONE_TOKEN:
|
||||
from_secret: drone_token
|
||||
commands:
|
||||
- exit 0
|
||||
- set -eu
|
||||
- eval `ssh-agent`
|
||||
- mkdir -p ~/.ssh
|
||||
@@ -61,9 +62,26 @@ steps:
|
||||
- name: release
|
||||
image: marcoieni/release-plz:0.3.16
|
||||
commands:
|
||||
- release-plz release-pr --git-token $GITEA_TOKEN --backend gitea
|
||||
environments:
|
||||
GITEA_TOKEN:
|
||||
- mkdir -p .cargo
|
||||
- |
|
||||
cat <<EOF >> .cargo/config.toml
|
||||
[registry]
|
||||
default = "gitea"
|
||||
|
||||
[registries.gitea]
|
||||
index = "https://git.kjuulh.io/kjuulh/_cargo-index.git"
|
||||
|
||||
#[net]
|
||||
#git-fetch-with-cli = true
|
||||
EOF
|
||||
- |
|
||||
cat <<EOF >> .cargo/credentials.toml
|
||||
[registries.gitea]
|
||||
token = "Bearer $GIT_TOKEN"
|
||||
EOF
|
||||
- release-plz release-pr --git-token="$GIT_TOKEN" --backend gitea --registry gitea
|
||||
environment:
|
||||
GIT_TOKEN:
|
||||
from_secret: gitea_token
|
||||
when:
|
||||
branch:
|
||||
|
||||
7
.gitignore
vendored
7
.gitignore
vendored
@@ -1,2 +1,9 @@
|
||||
.shuttle/
|
||||
.env
|
||||
|
||||
|
||||
# Added by cargo
|
||||
|
||||
/target
|
||||
.cargo/config.toml
|
||||
.cargo/credentials.toml
|
||||
|
||||
8
Cargo.toml
Normal file
8
Cargo.toml
Normal file
@@ -0,0 +1,8 @@
|
||||
[package]
|
||||
name = "shuttle-drone-templates"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
3
src/main.rs
Normal file
3
src/main.rs
Normal file
@@ -0,0 +1,3 @@
|
||||
fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
||||
Reference in New Issue
Block a user