Commit Graph

18 Commits

Author SHA1 Message Date
db123-test
0d3a108dab chore(ci): switch Docker build cache from registry to local
Use local caching for Docker builds in CI pipeline to simplify
configuration and improve build performance by storing cache
in /tmp/.buildx-cache instead of pushing to registry.
2026-05-04 14:49:43 +03:30
db123-test
fc31ca3d86 chore(ci): add Docker buildx layer caching to CI/CD workflow
Enable registry-based caching for Docker builds by adding
--cache-from and --cache-to flags. This reuses cached layers
from previous builds to speed up build times and reduce network
usage.
2026-05-04 13:34:39 +03:30
db123-test
7221feb6d4 feat: add permanent whitelist list endpoint and rename DB table
- Add GET /api/whitelist/perm/list to list permanent whitelisted entries
- Implement permWhitelistListHandler with API key verification
- Rename permanent_whitelist table to perm_whitelist for consistency
- Update default DB path from ./data to /data
- Comment out build job in CI/CD workflow
2026-05-04 11:29:01 +03:30
db123-test
7a2bd72311 feat: added mirrors for go and for golang image and change the name gate to proxy 2026-05-04 10:49:44 +03:30
db123-test
b094c78318 ci: added removal of buildx builder and then re initializing of it for cleaner ci cd 2026-05-04 10:40:51 +03:30
db123-test
b61e496553 ci: fiddled with build platforms 2026-05-04 10:36:11 +03:30
db123-test
effa25a8bf ci: remove Linux arm64 build from CI/CD pipeline
The arm64 build step has been removed from the GitHub Actions workflow.
This simplifies the pipeline by only building for amd64 targets.
2026-05-04 10:08:43 +03:30
db123-test
19753ec07d fix(ci): use explicit Go binary paths in CI/CD workflow
Update the CI/CD workflow to reference the full path to Go binaries
(/usr/local/go/bin/go, gofmt) instead of relying on PATH resolution.
This ensures the correct Go version is used when running in the
Docker container where the binary location may differ from the
default PATH expectation.
2026-05-04 10:06:00 +03:30
db123-test
73748a9d09 chore(ci-cd): remove redundant Go setup step
Remove the explicit Go installation step in the CI pipeline since Go is already available in the container. The Go proxy mirror configuration remains in place to maintain dependency resolution behavior.
2026-05-04 09:57:21 +03:30
db123-test
c63db6102c chore(ci-cd): setup go environment in CI workflow
Add a setup step to export Go binary path to bashrc before
configuring the proxy mirror, ensuring Go commands are
available in the build environment.
2026-05-04 09:55:52 +03:30
db123-test
55cd06fb51 ci: remove golangci-lint checks from CI pipeline
Removed the golangci-lint installation and linting step from the GitHub Actions workflow, simplifying the CI pipeline.
2026-05-04 09:40:05 +03:30
db123-test
e7d7c71572 ci: use latest golangci-lint version in CI workflow
Replace pinned golangci-lint 1.64.8 version with latest to automatically
receive updates and improvements.
2026-05-04 09:38:37 +03:30
db123-test
72be744484 fix(ci-cd): remove 'v' prefix from golangci-lint version
The install.sh script expects plain version numbers without the 'v' prefix, so using 'v1.64.8' causes the version string to be interpreted incorrectly. Updated the version format to match the expected format '1.64.8'.
2026-05-04 09:38:05 +03:30
db123-test
b4797afd39 ci: update Go proxy mirror and disable GOSUMDB in CI
Update GOPROXY to use go.iranserver.com instead of go.devneeds.ir for dependency downloads.
Disable GOSUMDB validation to speed up the build process and avoid potential checksum mismatches.
2026-05-04 09:36:06 +03:30
db123-test
cd843ed877 fix(ci-cd): add domestic go proxy mirror for faster dep downloads
Configure GOPROXY and GOSUMDB to use Iranian proxy servers
(go.devneeds.ir) before downloading dependencies in CI pipeline.
2026-05-04 09:34:49 +03:30
db123-test
e326c4270c fix(ci-cd): use secrets for G_CLONE_URL instead of env variable
Replace hardcoded G_CLONE_URL references with GitHub secrets to
prevent exposing the repository URL in workflow logs and environment.
2026-05-04 09:25:46 +03:30
db123-test
e29fd6d420 refactor: rename GITEA secrets and variables to G_ prefix
Rename GITEA_CLONE_URL to G_CLONE_URL in all checkout steps
and update GITEA_TOKEN and GITEA_USERNAME to G_TOKEN and
G_USERNAME for Docker registry authentication. This standardizes
secret naming across the CI/CD pipeline.
2026-05-04 09:24:53 +03:30
db123-test
b22db09c2f feat: add CI/CD workflow with linting, building, and docker
Add GitHub Actions workflow that performs linting with golangci-lint,
formats check, cross-compilation for linux/amd64, linux/arm64, and
windows/amd64, and multi-platform docker image publishing to Gitea
registry on pushes to main/master branches.
2026-05-04 09:20:56 +03:30