67 Commits

Author SHA1 Message Date
b8918b3d03 Update .gitea/workflows/release.yml
Some checks failed
Release / Tag release (push) Successful in 28s
Release / Create Release (push) Successful in 13s
Release / Publish Docker Images (push) Failing after 2m7s
Security / sonarqube (push) Failing after 2m8s
Security / snyk (push) Successful in 1m32s
2025-05-10 22:27:22 +02:00
4369470727 chore(ci): remove get_release_id task (#484)
All checks were successful
Security / snyk (push) Successful in 2m54s
Security / sonarqube (push) Successful in 3m22s
Okay, I will analyze the provided Git diff and explain the proposed changes.

**Overall Summary**

The diff shows a commented-out job in the `.gitea/workflows/release.yml` file.  The job `get_release_id` and its associated steps are being commented out. Also, the `needs` attribute for `create_docker` job has been changed.

**Detailed Explanation**

1.  **Commenting out the `get_release_id` job:**

    The entire `get_release_id` job block is being commented out. This includes the `name`, `runs-on`, `needs`, `outputs`, and `steps` sections.

    ```diff
    --- a/.gitea/workflows/release.yml
    +++ b/.gitea/workflows/release.yml
    @@ -23,26 +23,26 @@ jobs:
        secrets:
          ACTIONS_TOKEN: ${{ secrets.ACTIONS_TOKEN }}

    -  get_release_id:
    -    name: Get Release ID
    -    runs-on: ubuntu-latest
    -    needs: [tag, create_release]
    -    outputs:
    -      releaseid: ${{ steps.getid.outputs.releaseid }}
    -    steps:
    -      - name: Get Release ID
    -        id: getid
    -        run: |
    -          rid=$(curl -s -X 'GET' \
    -          -H 'accept: application/json' \
    -          '${{ gitea.server_url }}/api/v1/repos/${{ gitea.repository }}/releases/latest' | jq -r '.id')
    -          echo "releaseid=$rid" >> "$GITEA_OUTPUT"
    -          echo "$rid"
    +  # get_release_id:
    +  #   name: Get Release ID
    +  #   runs-on: ubuntu-latest
    +  #   needs: create_release
    +  #   outputs:
    +  #     releaseid: ${{ steps.getid.outputs.releaseid }}
    +  #   steps:
    +  #     - name: Get Release ID
    +  #     - id: getid
    +  #     - run: |
    +  #       rid=$(curl -s -X 'GET' \
    +  #       -H 'accept: application/json' \
    +  #       '${{ gitea.server_url }}/api/v1/repos/${{ gitea.repository }}/releases/latest' | jq -r '.id')
    +  #       echo "releaseid=$rid" >> "$GITEA_OUTPUT"
    +  #       echo "$rid"
    ```

    The original `get_release_id` job was responsible for fetching the ID of the latest release using a `curl` command against the Gitea API. The output `releaseid` was likely intended to be used by subsequent jobs.  Commenting this out means this ID will no longer be available.

2.  **Modifying the `needs` attribute for the `create_docker` job:**

    The `needs` attribute of the `create_docker` job has been modified.

    ```diff
    --- a/.gitea/workflows/release.yml
    +++ b/.gitea/workflows/release.yml
    @@ -50,7 +50,7 @@
     create_docker:
       name: Publish Docker Images
       runs-on: ubuntu-latest
    -  needs: tag
    +  needs: create_release
       steps:
         - name: Update Docker configuration
           continue-on-error: true
    ```

    The original `needs: tag` has been changed to `needs: create_release`. This means that the `create_docker` job will now only run after the `create_release` job has completed successfully, instead of after the `tag` job.

**Impact and Potential Reasons**

*   **Removal of Release ID:** By commenting out `get_release_id`, any downstream jobs relying on the `releaseid` output will likely break.  The reason for removing this is not apparent from the diff, but it could be due to:

    *   The ID is no longer needed.
    *   The method for obtaining the ID has changed and is implemented elsewhere.
    *   The job was causing issues and is being temporarily disabled.
    *   The job was not functioning as intended.

*   **Changing Dependency for Docker Image Creation:**  Changing the dependency of `create_docker` to `create_release` suggests a change in the intended workflow.  Previously, the Docker image creation was triggered by the creation of a tag. Now, it's triggered specifically by the creation of a release. This might be done to ensure that Docker images are only built and published when a formal release is made, rather than on every tag.

It's important to examine the broader context of the pull request and any associated issues to understand the rationale behind these changes more fully.

Reviewed-on: #484
2025-05-10 22:15:19 +02:00
ed35c1b8e6 fix(ci): fix release workflow (#482)
Some checks failed
Security / snyk (push) Has been cancelled
Security / sonarqube (push) Has been cancelled
Reviewed-on: #482
2025-05-10 21:39:56 +02:00
6530b4c620 Update .gitea/workflows/release.yml
Some checks failed
Release / Manual Trigger Cleanup (push) Has been skipped
Release / Create Release (push) Successful in 32s
Release / Build Docker Images (push) Failing after 2m49s
Security / sonarqube (push) Successful in 6m44s
Security / snyk (push) Successful in 8m24s
2025-02-18 22:39:49 +01:00
74c1bea948 Update .gitea/workflows/release.yml
All checks were successful
Security / sonarqube (push) Successful in 55s
Security / snyk (push) Successful in 57s
2025-02-18 22:37:51 +01:00
a5312ba3fb Update .gitea/workflows/release.yml
All checks were successful
Security / sonarqube (push) Successful in 1m3s
Security / snyk (push) Successful in 1m4s
2025-02-18 22:31:04 +01:00
2790eb1370 chore(deps): update docker/build-push-action action to v6
Some checks failed
Enforce Conventional Commit PR Title / Validate PR Title (pull_request) Failing after 5s
CI / ci (pull_request) Successful in 1m12s
2025-01-02 21:01:09 +00:00
89c1f64386
fix(ci): use the conventionalcommits preset instead of angular 2025-01-02 20:19:37 +00:00
f2138ba2b7
fix(ci): build and push correctly 2025-01-02 20:03:38 +00:00
b5b3388a98
fix(ci): build and push correctly 2025-01-02 20:01:07 +00:00
70e3427b38
fix(ci): build and push correctly 2025-01-02 19:56:29 +00:00
d7884e9149
fix(ci): build and push correctly 2025-01-02 19:53:31 +00:00
f256e6bd1a
fix(ci): build and push correctly 2025-01-02 19:46:54 +00:00
9f9f03b521
fix(ci): build and push correctly 2025-01-02 19:37:55 +00:00
a4c1ae8222
fix(ci): print metadata 2025-01-02 19:27:55 +00:00
4db2dd8ea5
fix(ci): manually build and push images 2025-01-02 19:19:43 +00:00
f68b5e29d1
fix(ci): manually build and push images 2025-01-02 19:17:43 +00:00
26e51e23b8
fix(ci): manually build and push images 2025-01-02 19:15:50 +00:00
523648ab73
fix(ci): manually build and push images 2025-01-02 19:09:47 +00:00
abb2b3202c
fix(ci): manually build and push images 2025-01-02 19:07:34 +00:00
9375ae10c3
fix(ci): manually build and push images 2025-01-02 19:05:19 +00:00
fb35156a28
fix(ci): allow insecure registry 2025-01-02 18:47:33 +00:00
b69609551f
fix(ci): re-enable pushing of images to registry 2025-01-02 18:41:30 +00:00
d616711cf5
fix(ci): re-enable pushing of images to registry 2025-01-02 18:38:22 +00:00
2a7df3d413
fix(ci): use metadata module to extract tags 2025-01-02 18:32:06 +00:00
edff65d35d
fix(ci): correct docker push cmds 2025-01-02 18:21:12 +00:00
d006ebf9fc
fix(ci): correct docker push cmds for Gitea images 2025-01-02 18:17:07 +00:00
0389ad841b
fix(ci): correctly retrieve release name 2025-01-02 18:14:44 +00:00
c946991eb2
fix(ci): correctly retrieve release name 2025-01-02 18:08:16 +00:00
e1bc246e10
chore(ci): clean up release workflow 2025-01-02 18:01:56 +00:00
14ee2bca3a
fix(ci): directly call API to create release fix 2 2025-01-02 17:58:22 +00:00
23a28d2226
fix(ci): directly call API to create release fix 2025-01-02 17:54:53 +00:00
c4b9bb0714
fix(ci): directly call API to create release 2025-01-02 17:51:28 +00:00
4190a6bce2
fix(ci): fix if statement 2025-01-02 17:45:50 +00:00
a5325d96eb
fix(ci): fix if statement 2025-01-02 17:45:41 +00:00
7eb332eec7
fix(ci): split Docker build stages 2025-01-02 17:44:25 +00:00
2d10fb9270
fix(ci): remove get_latest_tag / get_last_tag 2025-01-02 17:30:20 +00:00
742ae10e76
fix(ci): fix release 2025-01-02 17:25:18 +00:00
389a066529
chore(ci): upload changelog file 2025-01-02 17:18:19 +00:00
4e24815792
fix(ci): fix changelog layout 2025-01-01 04:10:45 +00:00
9f5f573270
fix(ci): fix changelog layout 2025-01-01 04:03:35 +00:00
1ee8896ee4 chore(deps): update actions/checkout action to v4.2.2
Some checks are pending
CI / ci (pull_request) Waiting to run
2025-01-01 03:18:14 +00:00
597f4c572e
chore(ci): manually build changelog 2025-01-01 02:39:40 +00:00
a5a687face
chore(ci): manually build changelog 2025-01-01 02:11:01 +00:00
f68fe68048
fix(ci): specify correct platform 2025-01-01 01:57:05 +00:00
28b357989c
fix(ci): specify correct URL 2025-01-01 01:54:00 +00:00
fcd9f1ca69
fix(ci): specify correct URL 2025-01-01 01:48:25 +00:00
5145017bd6
fix(ci): switch to new action module that doesn't require GitHub 2025-01-01 01:44:02 +00:00
9b88b680f0
chore(ci): temporarily allow unit tests to fail 2025-01-01 01:26:17 +00:00
e4f0ac9ffe
chore(ci): temporarily allow unit tests to fail 2025-01-01 01:24:46 +00:00