Skip to content

build: bump version 1.28.0-rc1 -> 1.28.0 #3340

build: bump version 1.28.0-rc1 -> 1.28.0

build: bump version 1.28.0-rc1 -> 1.28.0 #3340

Workflow file for this run

---
name: 'CI'
on:
push:
branches:
- '**'
tags:
- '*'
env:
GIT_SYNC_URL: "https://${{ secrets.GITLAB_USERNAME_ROBOT }}:${{ secrets.GITLAB_TOKEN_ROBOT }}@gitlab.com/nofusscomputing/projects/centurion_erp.git"
jobs:
mkdocs:
name: 'MKDocs'
permissions:
pull-requests: write
contents: write
statuses: write
checks: write
actions: write
uses: nofusscomputing/action_mkdocs/.github/workflows/reusable_mkdocs.yaml@development
python:
name: 'Python'
uses: nofusscomputing/action_python/.github/workflows/python.yaml@development
secrets:
WORKFLOW_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
python-build:
name: 'Python'
if: "!startsWith(github.ref, 'refs/tags/')"
uses: nofusscomputing/action_python/.github/workflows/python-package.yaml@development
python-build_tag:
name: 'Python'
if: startsWith(github.ref, 'refs/tags/')
uses: nofusscomputing/action_python/.github/workflows/python-package.yaml@development
docker:
name: 'Docker'
if: "!startsWith(github.ref, 'refs/tags/')"
needs:
- python-build
uses: nofusscomputing/action_docker/.github/workflows/docker.yaml@development

Check warning on line 54 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / CI

Workflow syntax warning

In .github/workflows/ci.yaml (Line: 54, Col: 11): Error from called workflow nofusscomputing/action_docker/.github/workflows/docker.yaml@development (Line: 177, Col: 7): Conditional expression contains literal text outside replacement tokens. This will cause the expression to always evaluate to truthy. Did you mean to put the entire expression inside ${{ }}?

Check warning on line 54 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / CI

Workflow syntax warning

In .github/workflows/ci.yaml (Line: 54, Col: 11): Error from called workflow nofusscomputing/action_docker/.github/workflows/docker.yaml@development (Line: 323, Col: 7): Conditional expression contains literal text outside replacement tokens. This will cause the expression to always evaluate to truthy. Did you mean to put the entire expression inside ${{ }}?

Check warning on line 54 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / CI

Workflow syntax warning

In .github/workflows/ci.yaml (Line: 54, Col: 11): Error from called workflow nofusscomputing/action_docker/.github/workflows/docker.yaml@development (Line: 343, Col: 11): Conditional expression contains literal text outside replacement tokens. This will cause the expression to always evaluate to truthy. Did you mean to put the entire expression inside ${{ }}?

Check warning on line 54 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / CI

Workflow syntax warning

In .github/workflows/ci.yaml (Line: 54, Col: 11): Error from called workflow nofusscomputing/action_docker/.github/workflows/docker.yaml@development (Line: 352, Col: 11): Conditional expression contains literal text outside replacement tokens. This will cause the expression to always evaluate to truthy. Did you mean to put the entire expression inside ${{ }}?

Check warning on line 54 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / CI

Workflow syntax warning

In .github/workflows/ci.yaml (Line: 54, Col: 11): Error from called workflow nofusscomputing/action_docker/.github/workflows/docker.yaml@development (Line: 364, Col: 11): Conditional expression contains literal text outside replacement tokens. This will cause the expression to always evaluate to truthy. Did you mean to put the entire expression inside ${{ }}?

Check warning on line 54 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / CI

Workflow syntax warning

In .github/workflows/ci.yaml (Line: 54, Col: 11): Error from called workflow nofusscomputing/action_docker/.github/workflows/docker.yaml@development (Line: 391, Col: 11): Conditional expression contains literal text outside replacement tokens. This will cause the expression to always evaluate to truthy. Did you mean to put the entire expression inside ${{ }}?

Check warning on line 54 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / CI

Workflow syntax warning

In .github/workflows/ci.yaml (Line: 54, Col: 11): Error from called workflow nofusscomputing/action_docker/.github/workflows/docker.yaml@development (Line: 408, Col: 11): Conditional expression contains literal text outside replacement tokens. This will cause the expression to always evaluate to truthy. Did you mean to put the entire expression inside ${{ }}?

Check warning on line 54 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / CI

Workflow syntax warning

In .github/workflows/ci.yaml (Line: 54, Col: 11): Error from called workflow nofusscomputing/action_docker/.github/workflows/docker.yaml@development (Line: 423, Col: 11): Conditional expression contains literal text outside replacement tokens. This will cause the expression to always evaluate to truthy. Did you mean to put the entire expression inside ${{ }}?

Check warning on line 54 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / CI

Workflow syntax warning

In .github/workflows/ci.yaml (Line: 54, Col: 11): Error from called workflow nofusscomputing/action_docker/.github/workflows/docker.yaml@development (Line: 437, Col: 11): Conditional expression contains literal text outside replacement tokens. This will cause the expression to always evaluate to truthy. Did you mean to put the entire expression inside ${{ }}?

Check warning on line 54 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / CI

Workflow syntax warning

In .github/workflows/ci.yaml (Line: 54, Col: 11): Error from called workflow nofusscomputing/action_docker/.github/workflows/docker.yaml@development (Line: 495, Col: 11): Conditional expression contains literal text outside replacement tokens. This will cause the expression to always evaluate to truthy. Did you mean to put the entire expression inside ${{ }}?
with:
DOCKER_BUILD_IMAGE_NAME: "nofusscomputing/centurion-erp"
DOCKER_PUBLISH_REGISTRY: "docker.io"
DOCKER_PUBLISH_IMAGE_NAME: "nofusscomputing/centurion-erp"
secrets:
DOCKER_PUBLISH_USERNAME: ${{ secrets.NFC_DOCKERHUB_USERNAME }}
DOCKER_PUBLISH_PASSWORD: ${{ secrets.NFC_DOCKERHUB_TOKEN }}
docker_tag:
name: 'Docker'
if: startsWith(github.ref, 'refs/tags/')
needs:
- python-build_tag
uses: nofusscomputing/action_docker/.github/workflows/docker.yaml@development
with:
DOCKER_BUILD_IMAGE_NAME: "nofusscomputing/centurion-erp"
DOCKER_PUBLISH_REGISTRY: "docker.io"
DOCKER_PUBLISH_IMAGE_NAME: "nofusscomputing/centurion-erp"
secrets:
DOCKER_PUBLISH_USERNAME: ${{ secrets.NFC_DOCKERHUB_USERNAME }}
DOCKER_PUBLISH_PASSWORD: ${{ secrets.NFC_DOCKERHUB_TOKEN }}
integration-test:
name: 'Integration Test'
uses: nofusscomputing/action_python/.github/workflows/python-integration.yaml@development
needs:
- docker
with:
POSTGRES_VERSIONS: '[ "13", "14", "15", "16", "17" ]'
PYTHON_VERSION: '3.11'
RABBITMQ_VERSIONS: '[ "3.12", "3.13", "4.0", "4.1" ]'
secrets:
WORKFLOW_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
integration-test_tag:
name: 'Integration Test'
uses: nofusscomputing/action_python/.github/workflows/python-integration.yaml@development
needs:
- docker_tag
with:
POSTGRES_VERSIONS: '[ "13", "14", "15", "16", "17" ]'
PYTHON_VERSION: '3.11'
RABBITMQ_VERSIONS: '[ "3.12", "3.13", "4.0", "4.1" ]'
secrets:
WORKFLOW_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
python-publish:
name: Python
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/p/centurion-erp/
permissions:
id-token: write
needs:
- python-build_tag
steps:
- name: Download built artifact to dist/
uses: actions/download-artifact@v4
with:
name: Packages
path: dist
- name: Publish
uses: pypa/gh-action-pypi-publish@release/v1
gitlab-mirror:
if: ${{ github.repository == 'nofusscomputing/centurion_erp' }}
runs-on: ubuntu-latest
steps:
- name: Checks
shell: bash
run: |
if [ "0${{ env.GIT_SYNC_URL }}" == "0" ]; then
echo "[ERROR] you must define variable GIT_SYNC_URL for mirroring this repository.";
exit 1;
fi
- name: clone
shell: bash
run: |
git clone --mirror https://github.com/${{ github.repository }} repo;
ls -la repo/
- name: add remote
shell: bash
run: |
cd repo;
echo "**************************************** - git remote -v";
git remote -v;
echo "****************************************";
git remote add destination $GIT_SYNC_URL;
- name: push branches
shell: bash
run: |
cd repo;
echo "**************************************** - git branch";
git branch;
echo "****************************************";
# git push destination --all --force;
git push destination --mirror || true;
# - name: push tags
# shell: bash
# run: |
# cd repo;
# echo "**************************************** - git tag";
# git tag;
# echo "****************************************";
# git push destination --tags --force;