102 Commits

Author SHA1 Message Date
69bbcad15b merge with new_struct 2024-05-21 19:04:49 +03:00
b4c00f94b0 Обновить .gitea/workflows/wf_full_p10.yaml
Some checks failed
Full building alt images / test-process (push) Has been cancelled
Full building alt images / build-process (push) Has been cancelled
2024-04-24 18:14:30 +03:00
a13a21ca68 Обновить .gitea/workflows/wf_full_p10.yaml
Some checks failed
Full building alt images / build-process (push) Failing after 2m50s
Full building alt images / test-process (push) Has been cancelled
2024-04-24 18:05:34 +03:00
bc73692c9c Обновить .gitea/workflows/wf_test.yaml
All checks were successful
Test job / test-job (push) Successful in 17s
2024-04-24 17:54:37 +03:00
7cd99ec5f9 Обновить .gitea/workflows/wf_full_p10.yaml 2024-04-24 17:51:43 +03:00
5a1eb308c8 Обновить build.py 2024-04-23 15:41:24 +03:00
54c9a9fcbd Обновить .gitea/workflows/wf_test.yaml
Some checks failed
Full building alt images v2 / test-process-alt (distroless-builder) (push) Has been skipped
Full building alt images v2 / test-process-alt (distroless-devel) (push) Has been skipped
Full building alt images v2 / test-process-alt (distroless-gotop) (push) Has been skipped
Full building alt images v2 / test-process-alt (distroless-static) (push) Has been skipped
Full building alt images v2 / test-process-alt (distroless-true) (push) Has been skipped
Full building alt images v2 / test-process-alt (etcd) (push) Has been skipped
Full building alt images v2 / test-process-alt (gitea) (push) Has been skipped
Full building alt images v2 / test-process-alt (nginx) (push) Has been skipped
Full building alt images v2 / test-process-alt (node) (push) Has been skipped
Full building alt images v2 / test-process-alt (prometheus) (push) Has been skipped
Full building alt images v2 / test-process-alt (python) (push) Has been skipped
Full building alt images v2 / test-process-alt (registry) (push) Has been skipped
Full building alt images v2 / test-process-alt (ruby) (push) Has been skipped
Full building alt images v2 / test-process-alt (systemd) (push) Has been skipped
Full building alt images v2 / test-process-alt (unit) (push) Has been skipped
Full building alt images v2 / test-process-k8s (cert-manager-cainjector) (push) Has been skipped
Full building alt images v2 / test-process-k8s (cert-manager-controller) (push) Has been skipped
Full building alt images v2 / test-process-k8s (cert-manager-webhook) (push) Has been skipped
Full building alt images v2 / test-process-k8s (coredns) (push) Has been skipped
Full building alt images v2 / test-process-k8s (etcd) (push) Has been skipped
Full building alt images v2 / test-process-k8s (flannel) (push) Has been skipped
Full building alt images v2 / test-process-k8s (flannel-cni-plugin) (push) Has been skipped
Full building alt images v2 / test-process-k8s (kube-apiserver) (push) Has been skipped
Full building alt images v2 / test-process-k8s (kube-controller-manager) (push) Has been skipped
Full building alt images v2 / test-process-k8s (kube-proxy) (push) Has been skipped
Full building alt images v2 / test-process-k8s (kube-scheduler) (push) Has been skipped
Full building alt images v2 / test-process-k8s (pause) (push) Has been skipped
Full building alt images v2 / test-process-k8s (trivy-node-collector) (push) Has been skipped
Full building alt images / build-process (push) Failing after 3h2m22s
Full building alt images / test-process (push) Has been cancelled
2024-04-19 18:38:54 +03:00
4c949d2448 Обновить .gitea/workflows/wf_test.yaml 2024-04-19 18:36:26 +03:00
2327ebf753 Обновить .gitea/workflows/wf_test.yaml 2024-04-19 18:34:22 +03:00
c9480280d7 Обновить .gitea/workflows/wf_test.yaml 2024-04-19 18:34:09 +03:00
25b806770e Обновить .gitea/workflows/wf_test.yaml 2024-04-19 18:31:55 +03:00
58b270a3b0 Обновить .gitea/workflows/wf_test.yaml 2024-04-19 18:29:45 +03:00
daeaacf9f1 Обновить .gitea/workflows/wf_test.yaml 2024-04-19 18:27:07 +03:00
a12660480b Обновить .gitea/workflows/wf_full_sis.yaml
Some checks failed
Full building alt images / build-process (push) Successful in 29m32s
Full building alt images / test-process (push) Has been skipped
/ test-job2 (push) Has been cancelled
/ test-job (push) Has been cancelled
2024-04-19 10:38:50 +03:00
380a0edde2 Обновить .gitea/workflows/wf_full_sis.yaml
All checks were successful
Full building alt images / build-process (push) Successful in 2m6s
Full building alt images / test-process (push) Has been skipped
2024-04-19 10:23:37 +03:00
350b30deb8 Обновить .gitea/workflows/testscript
All checks were successful
Full building alt images / build-process (push) Successful in 3m26s
Full building alt images / test-process (push) Successful in 5m26s
2024-04-18 14:21:07 +03:00
fa91af9346 Обновить .gitea/workflows/testscript
All checks were successful
Full building alt images / build-process (push) Successful in 3m10s
Full building alt images / test-process (push) Successful in 5m14s
2024-04-18 13:58:32 +03:00
b2405d1e94 Обновить .gitea/workflows/testscript
All checks were successful
Full building alt images / build-process (push) Successful in 3m14s
Full building alt images / test-process (push) Successful in 2m7s
2024-04-18 13:40:43 +03:00
56965e0770 Обновить .gitea/workflows/testscript 2024-04-18 13:16:08 +03:00
52a99cb816 Обновить .gitea/workflows/testscript 2024-04-18 13:15:41 +03:00
55ccd3baea Обновить .gitea/workflows/wf_full_p10.yaml
All checks were successful
Full building alt images / build-process (push) Successful in 2h51m2s
Full building alt images / test-process (push) Has been skipped
2024-04-18 12:37:00 +03:00
f314eede47 Обновить .gitea/workflows/wf_full_p10.yaml
All checks were successful
Full building alt images / build-process (push) Successful in 10m16s
Full building alt images / test-process (push) Has been skipped
2024-04-18 12:22:42 +03:00
ae072551ba Обновить .gitea/workflows/wf_full_p10.yaml
All checks were successful
Full building alt images / build-process (push) Successful in 2m40s
Full building alt images / test-process (push) Has been skipped
2024-04-18 12:04:36 +03:00
3de460f98b Обновить .gitea/workflows/wf_full_p10.yaml
All checks were successful
Full building alt images / build-process (push) Successful in 2m29s
Full building alt images / test-process (push) Has been skipped
2024-04-18 11:50:31 +03:00
a3b7569639 Обновить .gitea/workflows/wf_full_p10.yaml
Some checks failed
Full building alt images / build-process (push) Failing after 2m4s
Full building alt images / test-process (push) Has been skipped
2024-04-18 11:42:13 +03:00
0e0dd3fd46 Обновить .gitea/workflows/wf_full_p10.yaml
All checks were successful
Full building alt images / build-process (push) Successful in 3m8s
Full building alt images / test-process (push) Successful in 5m36s
2024-04-18 11:06:57 +03:00
04bf7f182d Merge branch 'mymaster'
All checks were successful
Full building alt images / build-process (push) Successful in 3m14s
Full building alt images / test-process (push) Successful in 1m50s
2024-04-18 10:27:50 +03:00
65ba744aa1 Merge remote-tracking branch 'refs/remotes/myrepo/master' 2024-04-17 20:01:09 +03:00
b9f1e5c287 add test script 2024-04-17 19:55:10 +03:00
e1fd09c37e Обновить .gitea/workflows/wf_full_sis.yaml 2024-04-17 18:39:03 +03:00
2d4dd5425b Обновить .gitea/workflows/wf_full_sis.yaml
All checks were successful
Full building alt images / build-process (push) Successful in 3m6s
Full building alt images / test-process (push) Successful in 5m36s
2024-04-17 12:03:39 +03:00
10c33d2b86 Обновить .gitea/workflows/wf_full_sis.yaml
All checks were successful
Full building alt images / build-process (push) Successful in 2m49s
Full building alt images / test-process (push) Successful in 4m48s
2024-04-16 19:50:51 +03:00
53b54589c6 Обновить .gitea/workflows/wf_full_p10.yaml
Some checks failed
Full building alt images / build-process (push) Successful in 2m53s
Full building alt images / test-process (push) Failing after 4m47s
2024-04-16 19:10:26 +03:00
226e407ffa Обновить .gitea/workflows/wf_full_sis.yaml 2024-04-16 19:08:53 +03:00
a021602815 Обновить .gitea/workflows/wf_full_p10.yaml 2024-04-16 18:47:15 +03:00
da897f1524 Обновить .gitea/workflows/wf_full_sis.yaml 2024-04-16 18:46:14 +03:00
876b5dd69a Обновить .gitea/workflows/wf_full_sis.yaml 2024-04-16 18:43:55 +03:00
2a6b4f6d63 Обновить .gitea/workflows/wf_full_sis.yaml
Some checks failed
Full building alt images / build-process (push) Successful in 3m5s
Full building alt images / test-process (push) Failing after 4m57s
2024-04-16 18:27:39 +03:00
d309a0913a Обновить .gitea/workflows/wf_full_p10.yaml 2024-04-16 18:02:15 +03:00
5cba21f04d Обновить .gitea/workflows/wf_full_sis.yaml
Some checks failed
Full building alt images / build-process (push) Successful in 2m52s
Full building alt images / test-process (push) Failing after 4m37s
2024-04-16 17:44:17 +03:00
8483e80261 Обновить .gitea/workflows/wf_full_sis.yaml
All checks were successful
Full building alt images / build-process (push) Successful in 3m0s
Full building alt images / test-process (push) Successful in 2m11s
2024-04-16 17:26:40 +03:00
22ae07c07e Добавить .gitea/workflows/wf_full_p10.yaml 2024-04-16 16:40:13 +03:00
7da6f533fd Обновить .gitea/workflows/wf_full_sis.yaml 2024-04-16 16:39:26 +03:00
5879650bb5 Обновить .gitea/workflows/wf_full.yaml 2024-04-16 16:37:49 +03:00
ec5dfc77c2 Обновить .gitea/workflows/wf_full.yaml
Some checks failed
Full building alt images v2 / test-process-alt (distroless-builder) (push) Has been skipped
Full building alt images v2 / test-process-alt (distroless-devel) (push) Has been skipped
Full building alt images v2 / test-process-alt (distroless-gotop) (push) Has been skipped
Full building alt images v2 / test-process-alt (distroless-static) (push) Has been skipped
Full building alt images v2 / test-process-alt (distroless-true) (push) Has been skipped
Full building alt images v2 / test-process-alt (etcd) (push) Has been skipped
Full building alt images v2 / test-process-alt (gitea) (push) Has been skipped
Full building alt images v2 / test-process-alt (nginx) (push) Has been skipped
Full building alt images v2 / test-process-alt (node) (push) Has been skipped
Full building alt images v2 / test-process-alt (prometheus) (push) Has been skipped
Full building alt images v2 / test-process-alt (python) (push) Has been skipped
Full building alt images v2 / test-process-alt (registry) (push) Has been skipped
Full building alt images v2 / test-process-alt (ruby) (push) Has been skipped
Full building alt images v2 / test-process-alt (systemd) (push) Has been skipped
Full building alt images v2 / test-process-alt (unit) (push) Has been skipped
Full building alt images v2 / test-process-k8s (cert-manager-cainjector) (push) Has been skipped
Full building alt images v2 / test-process-k8s (cert-manager-controller) (push) Has been skipped
Full building alt images v2 / test-process-k8s (cert-manager-webhook) (push) Has been skipped
Full building alt images v2 / test-process-k8s (coredns) (push) Has been skipped
Full building alt images v2 / test-process-k8s (etcd) (push) Has been skipped
Full building alt images v2 / test-process-k8s (flannel) (push) Has been skipped
Full building alt images v2 / test-process-k8s (flannel-cni-plugin) (push) Has been skipped
Full building alt images v2 / test-process-k8s (kube-apiserver) (push) Has been skipped
Full building alt images v2 / test-process-k8s (kube-controller-manager) (push) Has been skipped
Full building alt images v2 / test-process-k8s (kube-proxy) (push) Has been skipped
Full building alt images v2 / test-process-k8s (kube-scheduler) (push) Has been skipped
Full building alt images v2 / test-process-k8s (pause) (push) Has been skipped
Full building alt images v2 / test-process-k8s (trivy-node-collector) (push) Has been skipped
Full building alt images / build-process (push) Failing after 2m26s
Full building alt images / test-process (push) Has been skipped
2024-04-16 16:08:03 +03:00
7308bf40ed Обновить .gitea/workflows/wf_full.yaml 2024-04-16 16:04:50 +03:00
048d9e0dc9 Обновить .gitea/workflows/wf_full2.yaml
Some checks failed
Full building alt images v2 / test-process-alt (devel) (push) Successful in 3m12s
Full building alt images v2 / test-process-alt (distroless-base) (push) Successful in 3m10s
Full building alt images v2 / test-process-alt (distroless-builder) (push) Successful in 3m13s
Full building alt images v2 / test-process-alt (distroless-devel) (push) Successful in 3m11s
Full building alt images v2 / test-process-alt (distroless-gotop) (push) Successful in 3m9s
Full building alt images v2 / test-process-alt (distroless-static) (push) Successful in 3m7s
Full building alt images v2 / test-process-alt (distroless-true) (push) Successful in 3m6s
Full building alt images v2 / test-process-alt (etcd) (push) Successful in 3m11s
Full building alt images v2 / test-process-alt (nginx) (push) Successful in 3m7s
Full building alt images v2 / test-process-alt (gitea) (push) Successful in 3m23s
Full building alt images v2 / test-process-alt (python) (push) Successful in 3m11s
Full building alt images v2 / test-process-alt (registry) (push) Successful in 3m9s
Full building alt images v2 / test-process-alt (ruby) (push) Successful in 3m4s
Full building alt images v2 / test-process-k8s (cert-manager-cainjector) (push) Has been skipped
Full building alt images v2 / test-process-alt (node) (push) Successful in 3m25s
Full building alt images v2 / test-process-k8s (cert-manager-controller) (push) Has been skipped
Full building alt images v2 / test-process-k8s (cert-manager-webhook) (push) Has been skipped
Full building alt images v2 / test-process-k8s (coredns) (push) Has been skipped
Full building alt images v2 / test-process-k8s (etcd) (push) Has been skipped
Full building alt images v2 / test-process-k8s (flannel) (push) Has been skipped
Full building alt images v2 / test-process-k8s (flannel-cni-plugin) (push) Has been skipped
Full building alt images v2 / test-process-k8s (kube-apiserver) (push) Has been skipped
Full building alt images v2 / test-process-alt (prometheus) (push) Successful in 3m39s
Full building alt images v2 / test-process-k8s (kube-controller-manager) (push) Has been skipped
Full building alt images v2 / test-process-k8s (kube-proxy) (push) Has been skipped
Full building alt images v2 / test-process-k8s (kube-scheduler) (push) Has been skipped
Full building alt images v2 / test-process-k8s (pause) (push) Has been skipped
Full building alt images v2 / test-process-k8s (trivy-node-collector) (push) Has been skipped
Full building alt images v2 / test-process-alt (systemd) (push) Has been cancelled
Full building alt images v2 / test-process-alt (unit) (push) Has started running
2024-04-16 15:26:01 +03:00
8dde33afc9 Обновить .gitea/workflows/wf_full.yaml
Some checks failed
Full building alt images / build-process (push) Failing after 2m33s
Full building alt images / test-process (push) Has been skipped
2024-04-16 15:20:57 +03:00
f9ebe0e930 Обновить .gitea/workflows/wf_full2.yaml
Some checks failed
Full building alt images v2 / test-process-alt (distroless-builder) (push) Has been cancelled
Full building alt images v2 / test-process-alt (distroless-static) (push) Has been cancelled
Full building alt images v2 / test-process-alt (distroless-true) (push) Has been cancelled
Full building alt images v2 / test-process-alt (etcd) (push) Has been cancelled
Full building alt images v2 / test-process-alt (distroless-devel) (push) Has been cancelled
Full building alt images v2 / test-process-alt (gitea) (push) Has been cancelled
Full building alt images v2 / test-process-alt (nginx) (push) Has been cancelled
Full building alt images v2 / test-process-alt (node) (push) Has been cancelled
Full building alt images v2 / test-process-alt (prometheus) (push) Has been cancelled
Full building alt images v2 / test-process-alt (python) (push) Has been cancelled
Full building alt images v2 / test-process-alt (registry) (push) Has been cancelled
Full building alt images v2 / test-process-alt (devel) (push) Has been cancelled
Full building alt images v2 / test-process-alt (ruby) (push) Has been cancelled
Full building alt images v2 / test-process-alt (distroless-base) (push) Has been cancelled
Full building alt images v2 / test-process-alt (systemd) (push) Has been cancelled
Full building alt images v2 / test-process-alt (unit) (push) Has been cancelled
Full building alt images v2 / test-process-alt (distroless-gotop) (push) Has been cancelled
Full building alt images v2 / test-process-k8s (cert-manager-cainjector) (push) Has been cancelled
Full building alt images v2 / test-process-k8s (cert-manager-controller) (push) Has been cancelled
Full building alt images v2 / test-process-k8s (cert-manager-webhook) (push) Has been cancelled
Full building alt images v2 / test-process-k8s (coredns) (push) Has been cancelled
Full building alt images v2 / test-process-k8s (etcd) (push) Has been cancelled
Full building alt images v2 / test-process-k8s (flannel) (push) Has been cancelled
Full building alt images v2 / test-process-k8s (flannel-cni-plugin) (push) Has been cancelled
Full building alt images v2 / test-process-k8s (kube-apiserver) (push) Has been cancelled
Full building alt images v2 / test-process-k8s (kube-controller-manager) (push) Has been cancelled
Full building alt images v2 / test-process-k8s (kube-proxy) (push) Has been cancelled
Full building alt images v2 / test-process-k8s (kube-scheduler) (push) Has been cancelled
Full building alt images v2 / test-process-k8s (pause) (push) Has been cancelled
Full building alt images v2 / test-process-k8s (trivy-node-collector) (push) Has been cancelled
2024-04-16 15:17:55 +03:00
4958cce4bb Обновить .gitea/workflows/wf_full2.yaml
All checks were successful
Full building alt images v2 / test-process-alt (distroless-builder) (push) Has been skipped
Full building alt images v2 / test-process-alt (distroless-devel) (push) Has been skipped
Full building alt images v2 / test-process-alt (distroless-gotop) (push) Has been skipped
Full building alt images v2 / test-process-alt (distroless-static) (push) Has been skipped
Full building alt images v2 / test-process-alt (distroless-true) (push) Has been skipped
Full building alt images v2 / test-process-alt (etcd) (push) Has been skipped
Full building alt images v2 / test-process-alt (gitea) (push) Has been skipped
Full building alt images v2 / test-process-alt (nginx) (push) Has been skipped
Full building alt images v2 / test-process-alt (node) (push) Has been skipped
Full building alt images v2 / test-process-alt (prometheus) (push) Has been skipped
Full building alt images v2 / test-process-alt (python) (push) Has been skipped
Full building alt images v2 / test-process-alt (registry) (push) Has been skipped
Full building alt images v2 / test-process-alt (ruby) (push) Has been skipped
Full building alt images v2 / test-process-alt (systemd) (push) Has been skipped
Full building alt images v2 / test-process-alt (unit) (push) Has been skipped
Full building alt images v2 / test-process-k8s (cert-manager-cainjector) (push) Has been skipped
Full building alt images v2 / test-process-k8s (cert-manager-controller) (push) Has been skipped
Full building alt images v2 / test-process-k8s (cert-manager-webhook) (push) Has been skipped
Full building alt images v2 / test-process-k8s (coredns) (push) Has been skipped
Full building alt images v2 / test-process-k8s (etcd) (push) Has been skipped
Full building alt images v2 / test-process-k8s (flannel) (push) Has been skipped
Full building alt images v2 / test-process-k8s (flannel-cni-plugin) (push) Has been skipped
Full building alt images v2 / test-process-k8s (kube-apiserver) (push) Has been skipped
Full building alt images v2 / test-process-k8s (kube-controller-manager) (push) Has been skipped
Full building alt images v2 / test-process-k8s (kube-proxy) (push) Has been skipped
Full building alt images v2 / test-process-k8s (kube-scheduler) (push) Has been skipped
Full building alt images v2 / test-process-k8s (pause) (push) Has been skipped
Full building alt images v2 / test-process-k8s (trivy-node-collector) (push) Has been skipped
Full building alt images / build-process (push) Successful in 4m10s
Full building alt images / test-process (push) Has been skipped
2024-04-16 14:34:13 +03:00
6a7f3e4b47 Обновить .gitea/workflows/wf_full.yaml 2024-04-16 14:30:39 +03:00
219cfcf83c Обновить .gitea/workflows/wf_full2.yaml 2024-04-16 14:27:40 +03:00
6cfa2d4cda Обновить .gitea/workflows/wf_full.yaml
All checks were successful
Full building alt images / build-process (push) Successful in 4m14s
Full building alt images / test-process (push) Has been skipped
Full building alt images / finish_process (push) Successful in 1m10s
2024-04-16 14:23:14 +03:00
a023dc2db8 Обновить .gitea/workflows/wf_full.yaml 2024-04-16 14:21:07 +03:00
c73bfecccf Обновить .gitea/workflows/wf_full.yaml
Some checks failed
Full building alt images / build-process (push) Successful in 2h47m37s
Full building alt images / test-process (push) Failing after 4m42s
Full building alt images / finish_process (push) Successful in 1m5s
2024-04-16 10:54:35 +03:00
7720676c88 add tests for k8s 2024-04-15 19:54:52 +03:00
78c4c97158 Обновить .gitea/workflows/wf_full2.yaml
All checks were successful
Full building alt images v2 / test-process-alt (distroless-base) (push) Successful in 18s
Full building alt images v2 / test-process-alt (distroless-builder) (push) Successful in 17s
Full building alt images v2 / test-process-alt (distroless-devel) (push) Successful in 17s
Full building alt images v2 / test-process-alt (distroless-gotop) (push) Successful in 17s
Full building alt images v2 / test-process-alt (distroless-static) (push) Successful in 18s
Full building alt images v2 / test-process-alt (distroless-true) (push) Successful in 18s
Full building alt images v2 / test-process-alt (etcd) (push) Successful in 17s
Full building alt images v2 / test-process-alt (gitea) (push) Successful in 17s
Full building alt images v2 / test-process-alt (nginx) (push) Successful in 16s
Full building alt images v2 / test-process-alt (node) (push) Successful in 17s
Full building alt images v2 / test-process-alt (prometheus) (push) Successful in 18s
Full building alt images v2 / test-process-alt (python) (push) Successful in 17s
Full building alt images v2 / test-process-alt (registry) (push) Successful in 18s
Full building alt images v2 / test-process-alt (ruby) (push) Successful in 17s
Full building alt images v2 / test-process-alt (systemd) (push) Successful in 17s
Full building alt images v2 / test-process-alt (unit) (push) Successful in 17s
Full building alt images v2 / test-process-k8s (cert-manager-cainjector) (push) Has been skipped
Full building alt images v2 / test-process-k8s (cert-manager-controller) (push) Has been skipped
Full building alt images v2 / test-process-k8s (cert-manager-webhook) (push) Has been skipped
Full building alt images v2 / test-process-k8s (coredns) (push) Has been skipped
Full building alt images v2 / test-process-k8s (etcd) (push) Has been skipped
Full building alt images v2 / test-process-k8s (flannel) (push) Has been skipped
Full building alt images v2 / test-process-k8s (flannel-cni-plugin) (push) Has been skipped
Full building alt images v2 / test-process-k8s (kube-apiserver) (push) Has been skipped
Full building alt images v2 / test-process-k8s (kube-controller-manager) (push) Has been skipped
Full building alt images v2 / test-process-k8s (kube-proxy) (push) Has been skipped
Full building alt images v2 / test-process-k8s (kube-scheduler) (push) Has been skipped
Full building alt images v2 / test-process-k8s (pause) (push) Has been skipped
Full building alt images v2 / test-process-k8s (trivy-node-collector) (push) Has been skipped
Full building alt images v2 / finish_process (push) Successful in 1m0s
2024-04-15 19:51:50 +03:00
0d9343fdb3 Обновить .gitea/workflows/wf_full2.yaml 2024-04-15 19:40:34 +03:00
7dc3d359db Обновить .gitea/workflows/wf_full2.yaml
All checks were successful
Full building alt images v2 / test-process-alt (distroless-base) (push) Successful in 49s
Full building alt images v2 / test-process-alt (distroless-builder) (push) Successful in 49s
Full building alt images v2 / test-process-alt (distroless-devel) (push) Successful in 50s
Full building alt images v2 / test-process-alt (distroless-gotop) (push) Successful in 49s
Full building alt images v2 / test-process-alt (distroless-static) (push) Successful in 50s
Full building alt images v2 / test-process-alt (distroless-true) (push) Successful in 49s
Full building alt images v2 / test-process-alt (etcd) (push) Successful in 48s
Full building alt images v2 / test-process-alt (gitea) (push) Successful in 48s
Full building alt images v2 / test-process-alt (nginx) (push) Successful in 48s
Full building alt images v2 / test-process-alt (node) (push) Successful in 49s
Full building alt images v2 / test-process-alt (prometheus) (push) Successful in 50s
Full building alt images v2 / test-process-alt (python) (push) Successful in 49s
Full building alt images v2 / test-process-alt (registry) (push) Successful in 48s
Full building alt images v2 / test-process-alt (ruby) (push) Successful in 49s
Full building alt images v2 / test-process-alt (systemd) (push) Successful in 50s
Full building alt images v2 / test-process-alt (unit) (push) Successful in 48s
Full building alt images v2 / test-process-k8s (cert-manager-cainjector) (push) Has been skipped
Full building alt images v2 / test-process-k8s (cert-manager-controller) (push) Has been skipped
Full building alt images v2 / test-process-k8s (cert-manager-webhook) (push) Has been skipped
Full building alt images v2 / test-process-k8s (coredns) (push) Has been skipped
Full building alt images v2 / test-process-k8s (etcd) (push) Has been skipped
Full building alt images v2 / test-process-k8s (flannel) (push) Has been skipped
Full building alt images v2 / test-process-k8s (flannel-cni-plugin) (push) Has been skipped
Full building alt images v2 / test-process-k8s (kube-apiserver) (push) Has been skipped
Full building alt images v2 / test-process-k8s (kube-controller-manager) (push) Has been skipped
Full building alt images v2 / test-process-k8s (kube-proxy) (push) Has been skipped
Full building alt images v2 / test-process-k8s (kube-scheduler) (push) Has been skipped
Full building alt images v2 / test-process-k8s (pause) (push) Has been skipped
Full building alt images v2 / test-process-k8s (trivy-node-collector) (push) Has been skipped
Full building alt images v2 / finish_process (push) Successful in 1m0s
2024-04-15 18:29:37 +03:00
403de130b3 Обновить .gitea/workflows/wf_full2.yaml
Some checks failed
Full building alt images v2 / test-process (gitea, cert-manager-cainjector) (push) Has been cancelled
Full building alt images v2 / test-process (gitea, cert-manager-controller) (push) Has been cancelled
Full building alt images v2 / test-process (gitea, cert-manager-webhook) (push) Has been cancelled
Full building alt images v2 / test-process (gitea, coredns) (push) Has been cancelled
Full building alt images v2 / test-process (gitea, etcd) (push) Has been cancelled
Full building alt images v2 / test-process (gitea, flannel) (push) Has been cancelled
Full building alt images v2 / test-process (gitea, flannel-cni-plugin) (push) Has been cancelled
Full building alt images v2 / test-process (gitea, kube-apiserver) (push) Has been cancelled
Full building alt images v2 / test-process (gitea, kube-controller-manager) (push) Has been cancelled
Full building alt images v2 / test-process (gitea, kube-proxy) (push) Has been cancelled
Full building alt images v2 / test-process (gitea, kube-scheduler) (push) Has been cancelled
Full building alt images v2 / test-process (gitea, pause) (push) Has been cancelled
Full building alt images v2 / test-process (gitea, trivy-node-collector) (push) Has been cancelled
Full building alt images v2 / test-process (nginx, cert-manager-cainjector) (push) Has been cancelled
Full building alt images v2 / test-process (nginx, cert-manager-controller) (push) Has been cancelled
Full building alt images v2 / test-process (nginx, cert-manager-webhook) (push) Has been cancelled
Full building alt images v2 / test-process (nginx, coredns) (push) Has been cancelled
Full building alt images v2 / test-process (nginx, etcd) (push) Has been cancelled
Full building alt images v2 / test-process (nginx, flannel) (push) Has been cancelled
Full building alt images v2 / test-process (nginx, flannel-cni-plugin) (push) Has been cancelled
Full building alt images v2 / test-process (nginx, kube-apiserver) (push) Has been cancelled
Full building alt images v2 / test-process (nginx, kube-controller-manager) (push) Has been cancelled
Full building alt images v2 / test-process (nginx, kube-proxy) (push) Has been cancelled
Full building alt images v2 / test-process (nginx, kube-scheduler) (push) Has been cancelled
Full building alt images v2 / test-process (nginx, pause) (push) Has been cancelled
Full building alt images v2 / test-process (nginx, trivy-node-collector) (push) Has been cancelled
Full building alt images v2 / test-process (node, cert-manager-cainjector) (push) Has been cancelled
Full building alt images v2 / test-process (node, cert-manager-controller) (push) Has been cancelled
Full building alt images v2 / test-process (node, cert-manager-webhook) (push) Has been cancelled
Full building alt images v2 / test-process (node, coredns) (push) Has been cancelled
2024-04-15 17:49:43 +03:00
59bc095538 Обновить .gitea/workflows/wf_full.yaml
Some checks failed
Full building alt images / build-process (push) Successful in 3m3s
Full building alt images / test-process (push) Failing after 5m0s
Full building alt images / finish_process (push) Successful in 1m0s
2024-04-15 17:45:43 +03:00
91f1737489 Добавить .gitea/workflows/wf_full2.yaml 2024-04-15 17:36:59 +03:00
1fbe27bca4 Обновить .gitea/workflows/wf_full.yaml
Some checks failed
Full building alt images / build-process (push) Successful in 3m10s
Full building alt images / test-process (push) Failing after 4m53s
Full building alt images / finish_process (push) Successful in 59s
2024-04-15 17:25:07 +03:00
93927be6b3 Обновить .gitea/workflows/wf_full.yaml
Some checks failed
Full building alt images / build-process (push) Successful in 3m12s
Full building alt images / test-process (push) Failing after 5m5s
Full building alt images / finish_process (push) Successful in 59s
2024-04-15 17:04:10 +03:00
4ae36fcc13 Обновить .gitea/workflows/wf_full.yaml
All checks were successful
Full building alt images / build-process (push) Successful in 3m14s
Full building alt images / test-process (push) Successful in 3m19s
Full building alt images / finish_process (push) Successful in 1m1s
2024-04-15 16:51:36 +03:00
a1c2dd7846 Обновить .gitea/workflows/wf_full.yaml
All checks were successful
Full building alt images / build-process (push) Successful in 3m2s
Full building alt images / test-process (push) Successful in 1m54s
Full building alt images / finish_process (push) Successful in 1m1s
2024-04-15 16:44:32 +03:00
a0affe3b1b Обновить .gitea/workflows/wf_full.yaml
All checks were successful
Full building alt images / build-process (push) Successful in 4m3s
Full building alt images / test-process (push) Has been skipped
Full building alt images / finish_process (push) Successful in 1m1s
2024-04-15 16:35:53 +03:00
e876bd1bf0 Обновить .gitea/workflows/wf_full.yaml
All checks were successful
Full building alt images / build-process (push) Successful in 2m10s
Full building alt images / test-process (push) Has been skipped
Full building alt images / finish_process (push) Successful in 59s
2024-04-15 16:30:15 +03:00
8ccf88f288 Обновить .gitea/workflows/wf_full.yaml
Some checks failed
Full building alt images / test-process (push) Has been cancelled
Full building alt images / finish_process (push) Has been cancelled
Full building alt images / build-process (push) Has been cancelled
2024-04-15 16:28:50 +03:00
c091d70ef6 Обновить .gitea/workflows/wf_full.yaml
Some checks failed
Full building alt images / build-process (push) Failing after 2m56s
Full building alt images / test-process (push) Has been skipped
Full building alt images / finish_process (push) Has been skipped
2024-04-15 16:19:16 +03:00
d563003aed Обновить .gitea/workflows/wf_full.yaml
Some checks failed
Full building alt images / build-process (push) Has been cancelled
Full building alt images / test-process (push) Has been cancelled
Full building alt images / finish_process (push) Has been cancelled
2024-04-15 16:11:52 +03:00
f7a330b160 Обновить .gitea/workflows/wf_full.yaml 2024-04-15 16:11:06 +03:00
22f7e136db Обновить .gitea/workflows/wf_full.yaml
All checks were successful
Full building alt images / build-process (push) Successful in 3m3s
Full building alt images / test-process (push) Successful in 3m7s
Full building alt images / finish_process (push) Successful in 59s
2024-04-15 15:28:09 +03:00
0a2d821433 Обновить org/alt/base/test
All checks were successful
Full building alt images / build-process (push) Successful in 3m14s
Full building alt images / test-process (push) Successful in 3m7s
Full building alt images / finish_process (push) Successful in 1m1s
2024-04-15 13:57:57 +03:00
91a49afff5 Обновить .gitea/workflows/wf_full.yaml
All checks were successful
Full building alt images / build-process (push) Successful in 3m4s
Full building alt images / test-process (push) Successful in 2m6s
Full building alt images / finish_process (push) Successful in 59s
2024-04-15 13:26:53 +03:00
d17b884447 Обновить .gitea/workflows/wf_full.yaml
All checks were successful
Full building alt images / build-process (push) Successful in 3m4s
Full building alt images / test-process (push) Successful in 2m9s
Full building alt images / finish_process (push) Successful in 1m2s
2024-04-15 13:12:54 +03:00
00494f0ccd Обновить .gitea/workflows/wf_full.yaml
All checks were successful
Full building alt images / build-process (push) Successful in 2m59s
Full building alt images / test-process (push) Successful in 1m55s
Full building alt images / finish_process (push) Successful in 1m4s
2024-04-15 13:03:20 +03:00
d1f8704ce3 Обновить .gitea/workflows/wf_full.yaml 2024-04-15 13:02:20 +03:00
138cd58024 Обновить .gitea/workflows/wf_full.yaml
All checks were successful
Full building alt images / build-process (push) Successful in 3m1s
Full building alt images / test-process (push) Successful in 1m57s
Full building alt images / finish_process (push) Successful in 59s
2024-04-15 12:25:25 +03:00
4db33da5e3 Обновить .gitea/workflows/wf_full.yaml
All checks were successful
Full building alt images / build-process (push) Successful in 3m0s
Full building alt images / test-process (push) Successful in 2m5s
Full building alt images / finish_process (push) Successful in 1m3s
2024-04-15 11:56:25 +03:00
9bec80e52d Обновить .gitea/workflows/wf_full.yaml 2024-04-15 11:50:43 +03:00
d1f1ba4867 Обновить .gitea/workflows/wf_full.yaml
Some checks failed
Full building alt images / build-process (push) Successful in 3m4s
Full building alt images / test-process (push) Failing after 1m57s
Full building alt images / finish_process (push) Successful in 59s
2024-04-15 10:38:29 +03:00
d9536bcf04 Обновить .gitea/workflows/wf_full.yaml
All checks were successful
Full building alt images / build-process (push) Successful in 2m5s
Full building alt images / test-process (push) Has been skipped
Full building alt images / finish_process (push) Successful in 59s
2024-04-15 10:27:24 +03:00
38b288c40c Обновить .gitea/workflows/wf_full.yaml
All checks were successful
Full building alt images / build-process (push) Successful in 2h34m34s
Full building alt images / test-process (push) Has been skipped
Full building alt images / finish_process (push) Successful in 1m2s
2024-04-12 16:04:32 +03:00
09dc78deaf Обновить .gitea/workflows/wf_test.yaml 2024-04-12 16:01:05 +03:00
b91b534067 Обновить .gitea/workflows/wf_full.yaml
Some checks failed
/ test-job (push) Has been cancelled
/ test-job2 (push) Has been cancelled
Full building alt images / build-process (push) Successful in 2m11s
Full building alt images / test-process (push) Has been skipped
Full building alt images / finish_process (push) Successful in 1m0s
2024-04-12 15:57:40 +03:00
836b9003e8 Обновить .gitea/workflows/wf_full.yaml 2024-04-12 15:56:38 +03:00
e00880a5e0 Обновить .gitea/workflows/wf_full.yaml
Some checks failed
/ test-job (push) Has been cancelled
/ test-job2 (push) Has been cancelled
Full building alt images / build-process (push) Successful in 2m1s
Full building alt images / test-process (push) Has been skipped
Full building alt images / finish_process (push) Has been skipped
2024-04-12 15:50:34 +03:00
78d310fce1 Обновить .gitea/workflows/wf_full.yaml 2024-04-12 15:42:33 +03:00
d957ee81ad add full test 2024-04-12 15:04:06 +03:00
5adbf02c90 add test workflow 2024-04-12 13:01:34 +03:00
716c7e5331 Обновить .gitea/workflows/wf.yaml
All checks were successful
Building alt images / build-process (push) Successful in 10m17s
Building alt images / test-process (push) Successful in 2m7s
Building alt images / finish_process (push) Successful in 1m4s
2024-04-11 17:59:40 +03:00
7b4fa36a1f Обновить .gitea/workflows/wf.yaml
Some checks failed
Building alt images / build-process (push) Successful in 10m0s
Building alt images / test-process (push) Failing after 2m6s
Building alt images / finish_process (push) Has been skipped
2024-04-11 17:45:31 +03:00
299cc889f0 Обновить .gitea/workflows/wf_test.yaml
All checks were successful
/ test-job (push) Successful in 26s
/ test-job2 (push) Successful in 17s
2024-04-11 17:29:37 +03:00
52bdd4d05f Обновить .gitea/workflows/wf_test.yaml
All checks were successful
/ test-job (push) Successful in 27s
/ test-job2 (push) Successful in 17s
2024-04-11 17:04:38 +03:00
9026f3412c Обновить .gitea/workflows/wf_test.yaml
Some checks failed
/ test-job (push) Failing after 24s
/ test-job2 (push) Has been skipped
2024-04-11 17:02:23 +03:00
3936f1cd58 Обновить .gitea/workflows/wf_test.yaml
Some checks failed
/ Test-job (push) Failing after 1m45s
Building alt images / build_process (push) Successful in 10m6s
Building alt images / test_process (push) Failing after 1m47s
Building alt images / finish_process (push) Has been skipped
2024-04-11 16:17:23 +03:00
065c19863d add tests
All checks were successful
/ Test-job (push) Successful in 1m38s
2024-04-11 16:10:52 +03:00
55d9707d24 fix
All checks were successful
Building alt images / build_process (push) Successful in 10m10s
Building alt images / test_process (push) Has been skipped
Building alt images / finish_process (push) Has been skipped
2024-04-10 17:59:24 +03:00
4250455f66 add notification, fix process
All checks were successful
Building alt images / Building_process (push) Successful in 9m42s
2024-04-09 18:50:23 +03:00
d54807cce9 add workflow
Some checks failed
Building alt images / Building_process (push) Failing after 21m46s
2024-04-05 16:29:18 +03:00
2b7e1fec89 change registry url 2024-03-27 12:45:13 +03:00
15 changed files with 419 additions and 0 deletions

View File

@ -0,0 +1,74 @@
name: 'Reusable test job'
description: 'Test for images'
outputs:
result:
description: "Result of test (success|failure)"
value: ${{ jobs.example_job.outputs.output1 }}
inputs:
image: string
branch: string
url: string
repo: string
runs:
using: 'composite'
steps:
- name: Update apt
uses: https://gitea.basealt.ru/actions/init-alt-env@v1
- name: Install requires
run: |
echo "apt-get install -y python3-module-tomli python3-module-jinja2 podman buildah"
apt-get install -y python3-module-tomli python3-module-jinja2 podman buildah
echo "apt-get install -y qemu-user-static-binfmt-aarch64 qemu-user-static-binfmt-arm qemu-user-static-binfmt-ppc"
apt-get install -y qemu-user-static-binfmt-aarch64 qemu-user-static-binfmt-arm qemu-user-static-binfmt-ppc
- name: Check out current repo
uses: https://gitea.com/actions/checkout@v4
with:
repository: ${{ gitea.server_url }}/${{ inputs.repo }}/gitea-image-forge
- name: Get test for image
run: |
if test -f ${{ gitea.workspace }}/org/$IM/test; then testscript=$(cat ${{ gitea.workspace }}/org/$IM/test); else testscript=""; fi
echo "TEST=$testscript" >> ${GITHUB_ENV}
echo "test script: $testscript"
env:
IM: ${{ inputs.image }}
BR: ${{ inputs.branch }}
- name: Run test
id: test-script
if: ${{ env.TEST != '' }}
continue-on-error: true
uses: https://gitea.basealt.ru/actions/podman-run-action@v2
with:
image: ${{ inputs.url }}/${{ inputs.repo }}/${{ inputs.image }}:${{ inputs.branch }}
options: --rm
run: ${{ env.TEST }}
- name: Run special test
id: special-test
if: ${{ env.TEST == '' }}
continue-on-error: true
run: |
if [[ IM = 'alt/distroless-true' ]]; then podman run --rm $URL/$REPO/$IM:$BR true; fi
if [[ IM = 'alt/distroless-gotop' ]]; then podman run --rm $URL/$REPO/$IM:$BR --version; fi
env:
IM: ${{ inputs.image }}
BR: ${{ inputs.branch }}
URL: ${{ inputs.url }}
- name: Send notification if test crashed
if: ${{ steps.test-script.outcome == 'failure' || steps.special-test.outcome == 'failure' }}
run: |
issueid=$(curl -X 'GET' "$URL/api/v1/repos/$REPO/gitea-image-forge/issues?state=all&type=issues&page=1&limit=1&token=$T" -H 'accept: application/json' -s | jq '.[].number' -r)
body="Building of image $IM for branch $BR is failed"
curl -X 'POST' "$URL/api/v1/repos/$REPO/gitea-image-forge/issues/$issueid/comments?token=$T" -H 'accept: application/json' -H 'Content-Type: application/json' -d "{ \"body\": \"$body\" }" -s
echo "notification about test error is sent to issue $issueid"
env:
T: ${{ secrets.TOKEN }}
URL: ${{ gitea.server_url }}
IM: ${{ inputs.image }}
BR: ${{ inputs.branch }}
REPO: ${{ inputs.repo }}
- name: Finish test
run: echo "finish test for image $IM on branch $BR"
env:
IM: ${{ inputs.image }}
BR: ${{ inputs.branch }}

142
.gitea/workflows/wf.yaml Normal file
View File

@ -0,0 +1,142 @@
name: Building alt images
on:
push:
tags:
- '*_*/*'
jobs:
build-process:
runs-on: alt-latest
outputs:
branch: ${{ env.BRANCH }}
image: ${{ env.IMAGE }}
url: ${{ env.URL }}
repo: ${{ env.REPO }}
buildres: ${{ steps.build-script.outcome }}
test: ${{ env.TEST }}
steps:
- name: Check workspace
run: |
repourl=$(echo $GU | cut -d '/' -f 3)
echo "URL=$repourl" >> ${GITHUB_ENV}
reponame=$(echo $GR | cut -d '/' -f 1)
echo "REPO=$reponame" >> ${GITHUB_ENV}
env:
GU: ${{ gitea.server_url }}
GR: ${{ gitea.repository }}
- name: Update apt
uses: https://gitea.basealt.ru/actions/init-alt-env@v1
- name: Install requires
run: |
echo "apt-get install -y python3-module-tomli python3-module-jinja2 podman buildah jq"
apt-get install -y python3-module-tomli python3-module-jinja2 podman buildah jq
echo "apt-get install -y qemu-user-static-binfmt-aarch64 qemu-user-static-binfmt-arm qemu-user-static-binfmt-ppc"
apt-get install -y qemu-user-static-binfmt-aarch64 qemu-user-static-binfmt-arm qemu-user-static-binfmt-ppc
- name: Check out current repo
uses: https://gitea.com/actions/checkout@v4
- name: Login podman gitea
run: |
echo "podman login ${{ env.URL }}"
podman login --username $P_USER --password $P_PASS ${{ env.URL }}
env:
P_USER: ${{ secrets.PODMAN_USER }}
P_PASS: ${{ secrets.PODMAN_PASS }}
- name: Check files in the repository
run: |
ls -a ${{ gitea.workspace }}
- name: Parse target branch and tag from events context, save to env
env:
EV: ${{ toJson(gitea.event) }}
run: |
echo $EV | jq '.ref' -r | sed "s/refs\/tags\//BRANCH=/g" | cut -d '_' -f 1
echo $EV | jq '.ref' -r | sed "s/refs\/tags\//BRANCH=/g" | cut -d '_' -f 1 >> ${GITHUB_ENV}
localimage=$(echo $EV | jq '.ref' -r | sed 's/refs\/tags\///g' | cut -d '_' -f 2)
echo "IMAGE=$localimage" >> ${GITHUB_ENV}
echo "IMAGE=$localimage"
- name: Get test for image
run: |
if test -f ${{ gitea.workspace }}/org/$IM/test; then testscript=$(cat ${{ gitea.workspace }}/org/$IM/test); else testscript=""; fi
echo "TEST=$testscript" >> ${GITHUB_ENV}
env:
IM: ${{ env.IMAGE }}
BR: ${{ env.BRANCH }}
- name: Run building script
id: build-script
run: |
echo "build.py -i $IM -b $BR"
if [[ $BR == 'sisyphus' ]]; then ${{ gitea.workspace }}/build.py -i $IM -b $BR --skip-arches arm; else ${{ gitea.workspace }}/build.py -i $IM -b $BR; fi
env:
IM: ${{ env.IMAGE }}
BR: ${{ env.BRANCH }}
continue-on-error: true
test-process:
needs: build-process
runs-on: alt-latest
outputs:
testres: ${{ steps.test-script.outcome == 'success' || steps.special-test.outcome == 'success' }}
steps:
- name: Update apt
uses: https://gitea.basealt.ru/actions/init-alt-env@v1
- name: Install requires
run: |
echo "apt-get install -y python3-module-tomli python3-module-jinja2 podman buildah"
apt-get install -y python3-module-tomli python3-module-jinja2 podman buildah
echo "apt-get install -y qemu-user-static-binfmt-aarch64 qemu-user-static-binfmt-arm qemu-user-static-binfmt-ppc"
apt-get install -y qemu-user-static-binfmt-aarch64 qemu-user-static-binfmt-arm qemu-user-static-binfmt-ppc
- name: Run test
id: test-script
if: ${{ needs.build-process.outputs.buildres == 'success' && needs.build-process.outputs.test != '' }}
continue-on-error: true
uses: https://gitea.basealt.ru/actions/podman-run-action@v2
with:
image: ${{ needs.build-process.outputs.url }}/${{ needs.build-process.outputs.repo }}/${{ needs.build-process.outputs.image }}:${{ needs.build-process.outputs.branch }}
options: --rm
run: ${{ needs.build_process.outputs.test }}
- name: Run special test
id: special-test
if: ${{ needs.build-process.outputs.buildres == 'success' && needs.build-process.outputs.test == '' }}
continue-on-error: true
run: |
if [[ IM = 'alt/distroless-true' ]]; then podman run --rm $URL/$REPO/$IM:$BR true; fi
if [[ IM = 'alt/distroless-gotop' ]]; then podman run --rm $URL/$REPO/$IM:$BR --version; fi
env:
IM: ${{ needs.build-process.outputs.image }}
BR: ${{ needs.build-process.outputs.branch }}
URL: ${{ needs.build-process.outputs.url }}
REPO: ${{ needs.build-process.outputs.repo }}
finish_process:
needs: [ build-process, test-process ]
runs-on: alt-latest
steps:
- name: Update apt
uses: https://gitea.basealt.ru/actions/init-alt-env@v1
- name: Install requires
run: |
echo "apt-get install -y curl jq"
apt-get install -y curl jq
- name: Delete event tag
run: |
tagname=$(echo $EV | jq '.ref' -r | sed "s/refs\/tags\///g")
curl -X 'DELETE' "https://$URL/api/v1/repos/$REPO/gitea-image-forge/tags/$tagname?token=$T" -H 'accept: application/json' -s
echo "tag $BR_$IM is deleted"
env:
T: ${{ secrets.TOKEN }}
URL: ${{ needs.build-process.outputs.url }}
REPO: ${{ needs.build-process.outputs.repo }}
IM: ${{ needs.build-process.outputs.image }}
BR: ${{ needs.build-process.outputs.branch }}
EV: ${{ toJson(gitea.event) }}
continue-on-error: true
- name: Send comment to issue for notification
run: |
issueid=$(curl -X 'GET' "https://$URL/api/v1/repos/$REPO/gitea-image-forge/issues?state=all&type=issues&page=1&limit=1&token=$T" -H 'accept: application/json' -s | jq '.[].number' -r)
if [[ ${{ needs.build-process.outputs.buildres }} = 'success' ]] && [[ ${{ needs.test-process.outputs.testres }} ]]; then body="Building of image $IM for branch $BR finished success"; else body="Testing of image $IM for branch $BR is failed"; fi
if [[ ${{ needs.build-process.outputs.buildres }} != 'success' ]]; then body="Building of image $IM for branch $BR is failed"; fi
curl -X 'POST' "https://$URL/api/v1/repos/$REPO/gitea-image-forge/issues/$issueid/comments?token=$T" -H 'accept: application/json' -H 'Content-Type: application/json' -d "{ \"body\": \"$body\" }" -s
echo "notification is sent to issue $issueid"
env:
T: ${{ secrets.TOKEN }}
URL: ${{ needs.build-process.outputs.url }}
REPO: ${{ needs.build-process.outputs.repo }}
IM: ${{ needs.build-process.outputs.image }}
BR: ${{ needs.build-process.outputs.branch }}

View File

@ -0,0 +1,169 @@
name: Full building alt images v2
on:
push:
tags:
- '*#*'
jobs:
build-process:
runs-on: alt-p10
outputs:
branch: ${{ env.BRANCH }}
org: ${{ env.ORG }}
url: ${{ env.URL }}
repo: ${{ env.REPO }}
buildres: ${{ steps.build-script.outcome }}
steps:
- name: Check workspace
run: |
repourl=$(echo $GU | cut -d '/' -f 3)
echo "URL=$repourl" >> ${GITHUB_ENV}
echo $repourl
reponame=$(echo $GR | cut -d '/' -f 1)
echo "REPO=$reponame" >> ${GITHUB_ENV}
echo $reponame
env:
GU: ${{ gitea.server_url }}
GR: ${{ gitea.repository }}
- name: Update apt
uses: https://gitea.basealt.ru/actions/init-alt-env@v1
- name: Install requires
run: |
echo "apt-get install -y python3-module-tomli python3-module-jinja2 podman buildah jq curl"
apt-get install -y python3-module-tomli python3-module-jinja2 podman buildah jq curl
echo "apt-get install -y qemu-user-static-binfmt-aarch64 qemu-user-static-binfmt-arm qemu-user-static-binfmt-ppc"
apt-get install -y qemu-user-static-binfmt-aarch64 qemu-user-static-binfmt-arm qemu-user-static-binfmt-ppc
- name: Check out current repo
uses: https://gitea.com/actions/checkout@v4
- name: Parse target branch and tag from events context, save to env
env:
EV: ${{ toJson(gitea.event) }}
run: |
echo $EV | jq '.ref' -r | sed "s/refs\/tags\//BRANCH=/g" | cut -d '#' -f 1
echo $EV | jq '.ref' -r | sed "s/refs\/tags\//BRANCH=/g" | cut -d '#' -f 1 >> ${GITHUB_ENV}
org=$(echo $EV | jq '.ref' -r | sed 's/refs\/tags\///g' | cut -d '#' -f 2)
echo "ORG=$org" >> ${GITHUB_ENV}
echo "ORG=$org"
- name: Login podman gitea
run: |
echo "podman login ${{ env.URL }}"
podman login --username $P_USER --password $P_PASS ${{ env.URL }}
env:
P_USER: ${{ secrets.PODMAN_USER }}
P_PASS: ${{ secrets.PODMAN_PASS }}
- name: Run building script
id: build-script
run: |
build_args="-b $BR"
if [[ $BR == 'sisyphus' ]]; then build_args="$build_args --skip-arches arm"; fi
if [[ $ORG == 'k8s' ]]; then build_args="$build_args --overwrite-organization $ORG-$BR"; fi
echo "build.py $build_args"
${{ gitea.workspace }}/build.py $build_args -i alt/distroless-true
env:
ORG: ${{ env.ORG }}
BR: ${{ env.BRANCH }}
continue-on-error: true
- name: Send notification if build crashed
if: ${{ steps.build-script.outcome != 'success' }}
run: |
issueid=$(curl -X 'GET' "$URL/api/v1/repos/$REPO/gitea-image-forge/issues?state=all&type=issues&page=1&limit=1&token=$T" -H 'accept: application/json' -s | jq '.[].number' -r)
body="Building images finish with some errors."
curl -X 'POST' "$URL/api/v1/repos/$REPO/gitea-image-forge/issues/$issueid/comments?token=$T" -H 'accept: application/json' -H 'Content-Type: application/json' -d "{ \"body\": \"$body\" }" -s
echo "notification about test error is sent to issue $issueid"
env:
T: ${{ secrets.TOKEN }}
BR: ${{ env.BRANCH }}
URL: ${{ gitea.server_url }}
REPO: ${{ env.REPO }}
- name: Delete event tag
run: |
tagname=$(echo $EV | jq '.ref' -r | sed "s/refs\/tags\///g")
curl -X 'DELETE' "$URL/api/v1/repos/$REPO/gitea-image-forge/tags/$tagname?token=$T" -H 'accept: application/json' -s
echo "tag $tagname is deleted"
env:
T: ${{ secrets.TOKEN }}
BR: ${{ env.BRANCH }}
URL: ${{ gitea.server_url }}
REPO: ${{ env.REPO }}
EV: ${{ toJson(gitea.event) }}
test-process-alt:
needs: build-process
if: ${{ needs.build-process.outputs.buildres == 'success' && needs.build-process.outputs.org == 'alt' }}
runs-on: alt-p10
strategy:
max-parallel: 5
matrix:
images:
- apache2
- base
- buildpack-deps
- buildpack-deps-curl
- buildpack-deps-scm
- devel
- distroless-base
- distroless-builder
- distroless-devel
- distroless-gotop
- distroless-static
- distroless-true
- etcd
- gitea
- nginx
- node
- prometheus
- python
- registry
- ruby
- systemd
- unit
steps:
- name: Update apt
uses: ${{ gitea.server_url }}/actions/init-alt-env@v1
- name: Install requires
run: |
echo "apt-get install -y python3-module-tomli python3-module-jinja2 podman buildah curl jq"
apt-get install -y python3-module-tomli python3-module-jinja2 podman buildah curl jq
- uses: https://gitea.basealt.ru/actions/image-forge-test@v1
continue-on-error: true
with:
image: ${{ matrix.images }}
branch: ${{ needs.build-process.outputs.branch }}
org: ${{ needs.build-process.outputs.org }}
url: ${{ needs.build-process.outputs.url }}
repo: ${{ needs.build-process.outputs.repo }}
test-process-k8s:
needs: build-process
if: ${{ needs.build-process.outputs.buildres == 'success' && needs.build-process.outputs.org == 'k8s' }}
runs-on: alt-p10
strategy:
max-parallel: 5
matrix:
images:
- cert-manager-cainjector
- cert-manager-controller
- cert-manager-webhook
- coredns
- etcd
- flannel
- flannel-cni-plugin
- kube-apiserver
- kube-controller-manager
- kube-proxy
- kube-scheduler
- pause
- trivy-node-collector
steps:
- name: Update apt
uses: ${{ gitea.server_url }}/actions/init-alt-env@v1
- name: Install requires
run: |
echo "apt-get install -y python3-module-tomli python3-module-jinja2 podman buildah curl jq"
apt-get install -y python3-module-tomli python3-module-jinja2 podman buildah curl jq
- uses: https://gitea.basealt.ru/actions/image-forge-test@v1
continue-on-error: true
with:
image: ${{ matrix.images }}
branch: ${{ needs.build-process.outputs.branch }}
org: ${{ needs.build-process.outputs.org }}
url: ${{ needs.build-process.outputs.url }}
repo: ${{ needs.build-process.outputs.repo }}

View File

@ -0,0 +1,23 @@
name: Test job
on:
push:
tags:
- 'test*'
jobs:
test-job:
runs-on: alt-latest
steps:
- name: Parse target branch
run: |
echo $EV
echo ${{ github.action_path }}
echo ${{ github.action_ref }}
echo ${{ github.event }}
echo ${{ github.event_name }}
echo ${{ github.event_path }}
echo ${{ github.triggering_actor }}
echo ${{ github.workspace }}
echo ${{ github.ref_name }}
env:
EV: ${{ toJson(gitea.event) }}

View File

@ -0,0 +1 @@
cainjector --help

View File

@ -0,0 +1 @@
controller --help

View File

@ -0,0 +1 @@
webhook --help

1
org/k8s/coredns/test Normal file
View File

@ -0,0 +1 @@
coredns --version

1
org/k8s/etcd/test Normal file
View File

@ -0,0 +1 @@
etcd --version

1
org/k8s/flannel/test Normal file
View File

@ -0,0 +1 @@
flanneld --version

View File

@ -0,0 +1 @@
kube-apiserver --version

View File

@ -0,0 +1 @@
kube-controller-manager --version

1
org/k8s/kube-proxy/test Normal file
View File

@ -0,0 +1 @@
kube-proxy --version

View File

@ -0,0 +1 @@
kube-scheduler --version

View File

@ -0,0 +1 @@
node-collector --help