Compare commits
22 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
98ef010aaa | |
|
|
54f248b933 | |
|
|
a51ef58321 | |
|
|
6c670226fc | |
|
|
f35faaaf4b | |
|
|
7df4bc62f1 | |
|
|
553d53e176 | |
|
|
fa12f1050f | |
|
|
2989d44ed9 | |
|
|
0a07694200 | |
|
|
9e72267167 | |
|
|
83fbe9f1f9 | |
|
|
dcdb4ab63f | |
|
|
8e511672a7 | |
|
|
6e19622752 | |
|
|
ec30eb8b0e | |
|
|
e2961ffe8e | |
|
|
1b4866b098 | |
|
|
1e9f00573d | |
|
|
27ab3adc3a | |
|
|
9588f11bf5 | |
|
|
5f8251325b |
2
main.go
2
main.go
|
|
@ -6,5 +6,5 @@ func main() {
|
||||||
// foo
|
// foo
|
||||||
// bar
|
// bar
|
||||||
// baz
|
// baz
|
||||||
fmt.Println("test2")
|
fmt.Println("hello from test!")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,19 +1,22 @@
|
||||||
|
- git_info: "git.intermodi.ch/p3ls/test"
|
||||||
- git_info: git.intermodi.ch/p3ls/test
|
register: repo
|
||||||
register: r
|
|
||||||
|
|
||||||
- set_fact:
|
- set_fact:
|
||||||
line: "{{ '21' | randomstring }}"
|
line: "{{ '21' | randomstring }}"
|
||||||
|
|
||||||
- lineinfile:
|
- lineinfile:
|
||||||
dest: "{{ r.dest }}/test.txt"
|
dest: "{{ repo.dest }}/test.txt"
|
||||||
line: "{{ line }}"
|
line: "{{ line }}"
|
||||||
|
|
||||||
- git_commit:
|
- git_commit:
|
||||||
repo: git.intermodi.ch/p3ls/test
|
repo: "git.intermodi.ch/p3ls/test"
|
||||||
msg: "{{ line }}"
|
msg: "{{ line }}"
|
||||||
|
|
||||||
- git_push: git.intermodi.ch/p3ls/test
|
- git_info: "git.intermodi.ch/p3ls/test"
|
||||||
|
register: repo
|
||||||
|
|
||||||
|
- git_tag: "git.intermodi.ch/p3ls/test"
|
||||||
|
when: not repo.last_commit_is_tagged
|
||||||
|
|
||||||
|
- git_push: "git.intermodi.ch/p3ls/test"
|
||||||
|
|
||||||
# - git_pull:
|
|
||||||
# repo: git.intermodi.cc/p3ls/test3
|
|
||||||
|
|
@ -1,29 +0,0 @@
|
||||||
|
|
||||||
# - debug:
|
|
||||||
# msg: hello
|
|
||||||
|
|
||||||
- release:
|
|
||||||
name: test
|
|
||||||
owner: p3ls
|
|
||||||
path: ..
|
|
||||||
gitea: true
|
|
||||||
version: patch
|
|
||||||
|
|
||||||
# - go_release:
|
|
||||||
# name: test
|
|
||||||
# owner: p3ls
|
|
||||||
# path: ..
|
|
||||||
# gitea: true
|
|
||||||
# targets: linux/arm
|
|
||||||
# version: patch
|
|
||||||
|
|
||||||
# - update:
|
|
||||||
# owner: p3ls
|
|
||||||
# name: test
|
|
||||||
|
|
||||||
# - release:
|
|
||||||
# name: test
|
|
||||||
# owner: p3ls
|
|
||||||
# path: ../.
|
|
||||||
# gitea: true
|
|
||||||
# version: "1.0.0"
|
|
||||||
|
|
@ -11,16 +11,25 @@
|
||||||
|
|
||||||
- import_tasks: ../git/push.yml
|
- import_tasks: ../git/push.yml
|
||||||
|
|
||||||
# - lineinfile:
|
# - go_build:
|
||||||
# dest: ../../t1/test.txt
|
# repo: "git.intermodi.ch/p3ls/test"
|
||||||
# line: "{{ 21|randomstring }}"
|
# version: "{{ repo.tag }}"
|
||||||
|
# commit: "{{ repo.commit }}"
|
||||||
|
# targets:
|
||||||
|
# - linux/amd64
|
||||||
|
# - darwin/arm64
|
||||||
|
# - windows/amd64
|
||||||
|
# binary: foobar
|
||||||
|
# register: bin
|
||||||
|
|
||||||
- release_create:
|
- release_create:
|
||||||
repo: "git.intermodi.ch/p3ls/test"
|
repo: "git.intermodi.ch/p3ls/test"
|
||||||
|
# files: "{{ bin }}"
|
||||||
paths:
|
paths:
|
||||||
- t1/test.txt
|
- test.txt
|
||||||
- t2/test.txt
|
# - t1/test.txt
|
||||||
|
# - t2/test.txt
|
||||||
- html
|
- html
|
||||||
|
- /Users/stef/Downloads/air.png
|
||||||
path: test.txt
|
path: /Users/stef/Downloads/zoom-out.svg
|
||||||
push: true
|
push: true
|
||||||
22
test.txt
22
test.txt
|
|
@ -1,3 +1,25 @@
|
||||||
vZkkCxP
|
vZkkCxP
|
||||||
jOyX5MfUP2APGkvcZu0sd
|
jOyX5MfUP2APGkvcZu0sd
|
||||||
VmtGAu1u3bAi30hMuJeUR
|
VmtGAu1u3bAi30hMuJeUR
|
||||||
|
CNIG7kHkTAQu0o6KUas4T
|
||||||
|
RmzHQtJPJTuvI8QH8VOIQ
|
||||||
|
nn5xo98ITRgqH0BqCHbUk
|
||||||
|
7x2YxkpDo2PeVMWB6sswC
|
||||||
|
di00j9sMYcqoQSlTsf51w
|
||||||
|
CEtsGYR6uXKhvCK9rfIDV
|
||||||
|
MnT9ILigOCI64P2QfC3UT
|
||||||
|
i5C6msQnnAAjlytegVzed
|
||||||
|
wVU0KBiFf33A9H4quY218
|
||||||
|
7ef7gm5NGiosBWFeqNYGQ
|
||||||
|
FUu1vA65Wbaiyuu2EvGJ6
|
||||||
|
7ATmvdCiMGGNagp9MlSl8
|
||||||
|
hsLNVMeSwgUyTT9dmklg2
|
||||||
|
F3puUYJPJ1vW3pSJ4opbD
|
||||||
|
tGS1IT19EURcJit6jVpZj
|
||||||
|
NdYTR9lXgZLHiGYzHCwEe
|
||||||
|
vn9kM0Fy1HT0k2eVd5YCF
|
||||||
|
CCotQV6ZKOwh9Yi2qvKvP
|
||||||
|
GdvkjljiIXLjzjikm1065
|
||||||
|
YQr2rSF8JIhPkdNuiYoIT
|
||||||
|
9pNUO6Ad9y8tD9qLE90gg
|
||||||
|
joCwajmFmEG320KvHmlww
|
||||||
Loading…
Reference in New Issue