Compare commits

..

No commits in common. "master" and "v4.22.17" have entirely different histories.

5 changed files with 46 additions and 50 deletions

View File

@ -6,5 +6,5 @@ func main() {
// foo // foo
// bar // bar
// baz // baz
fmt.Println("hello from test!") fmt.Println("test2")
} }

View File

@ -1,22 +1,19 @@
- git_info: "git.intermodi.ch/p3ls/test"
register: repo - git_info: git.intermodi.ch/p3ls/test
register: r
- set_fact: - set_fact:
line: "{{ '21' | randomstring }}" line: "{{ '21' | randomstring }}"
- lineinfile: - lineinfile:
dest: "{{ repo.dest }}/test.txt" dest: "{{ r.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_info: "git.intermodi.ch/p3ls/test" - git_push: 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

29
mgmt/release.yml Normal file
View File

@ -0,0 +1,29 @@
# - 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"

View File

@ -11,25 +11,16 @@
- import_tasks: ../git/push.yml - import_tasks: ../git/push.yml
# - go_build: # - lineinfile:
# repo: "git.intermodi.ch/p3ls/test" # dest: ../../t1/test.txt
# version: "{{ repo.tag }}" # line: "{{ 21|randomstring }}"
# 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:
- test.txt - t1/test.txt
# - t1/test.txt - t2/test.txt
# - t2/test.txt
- html - html
- /Users/stef/Downloads/air.png
path: /Users/stef/Downloads/zoom-out.svg path: test.txt
push: true push: true

View File

@ -1,25 +1,4 @@
vZkkCxP vZkkCxP
jOyX5MfUP2APGkvcZu0sd jOyX5MfUP2APGkvcZu0sd
VmtGAu1u3bAi30hMuJeUR VmtGAu1u3bAi30hMuJeUR
CNIG7kHkTAQu0o6KUas4T CNIG7kHkTAQu0o6KUas4T
RmzHQtJPJTuvI8QH8VOIQ
nn5xo98ITRgqH0BqCHbUk
7x2YxkpDo2PeVMWB6sswC
di00j9sMYcqoQSlTsf51w
CEtsGYR6uXKhvCK9rfIDV
MnT9ILigOCI64P2QfC3UT
i5C6msQnnAAjlytegVzed
wVU0KBiFf33A9H4quY218
7ef7gm5NGiosBWFeqNYGQ
FUu1vA65Wbaiyuu2EvGJ6
7ATmvdCiMGGNagp9MlSl8
hsLNVMeSwgUyTT9dmklg2
F3puUYJPJ1vW3pSJ4opbD
tGS1IT19EURcJit6jVpZj
NdYTR9lXgZLHiGYzHCwEe
vn9kM0Fy1HT0k2eVd5YCF
CCotQV6ZKOwh9Yi2qvKvP
GdvkjljiIXLjzjikm1065
YQr2rSF8JIhPkdNuiYoIT
9pNUO6Ad9y8tD9qLE90gg
joCwajmFmEG320KvHmlww