Обновить .gitea/workflows/wf_full2.yaml
Some checks failed
Full building alt images v2 / build-process (push) Failing after 3m3s
Full building alt images v2 / test-process-alt (apache2) (push) Has been skipped
Full building alt images v2 / test-process-alt (base) (push) Has been skipped
Full building alt images v2 / test-process-alt (buildpack-deps) (push) Has been skipped
Full building alt images v2 / test-process-alt (buildpack-deps-curl) (push) Has been skipped
Full building alt images v2 / test-process-alt (buildpack-deps-scm) (push) Has been skipped
Full building alt images v2 / test-process-alt (devel) (push) Has been skipped
Full building alt images v2 / test-process-alt (distroless-base) (push) Has been skipped
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

This commit is contained in:
Надежда Федорова 2024-04-16 14:34:13 +03:00
parent 6a7f3e4b47
commit 4958cce4bb

View File

@ -74,7 +74,18 @@ jobs:
T: ${{ secrets.TOKEN }}
BR: ${{ env.BRANCH }}
URL: ${{ gitea.server_url }}
REPO: ${{ env.REPO }}
REPO: ${{ env.REPO }}
- 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 $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' }}
@ -114,7 +125,6 @@ jobs:
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
if: ${{ needs.build-process.outputs.org == 'alt' }}
with:
image: ${{ matrix.images }}
branch: ${{ needs.build-process.outputs.branch }}
@ -151,31 +161,9 @@ jobs:
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
if: ${{ needs.build-process.outputs.org == 'alt' }}
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 }}
finish_process:
needs: build-process
runs-on: alt-p10
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 }}
BR: ${{ needs.build-process.outputs.branch }}
EV: ${{ toJson(gitea.event) }}
repo: ${{ needs.build-process.outputs.repo }}