Skip to content

Release v2.10.0

Choose a tag to compare

@github-actions github-actions released this 06 Dec 05:09
· 20 commits to main since this release
0845fcc

This pull request introduces a comprehensive DevContainer setup for the CertVault project, enabling a fully reproducible development environment with Java, Node.js, PostgreSQL, and Redis, along with automated configuration scripts and documentation. In addition, it updates the CI workflow to use newer GitHub Actions versions, enhances Docker build and signing processes, and improves artifact handling.

The most important changes are:

DevContainer Environment Setup:

  • Added a complete DevContainer configuration, including a Dockerfile that installs Java 17, Maven, Node.js 22, pnpm, and PostgreSQL client, and configures npm/pnpm mirrors for faster dependency installation. (.devcontainer/Dockerfile)
  • Introduced devcontainer.json with VS Code extension recommendations, port forwarding, persistent volume mounts, environment variables, and post-create/start hooks. (.devcontainer/devcontainer.json)
  • Added supporting files for Maven (settings.xml), npm/pnpm mirror configs (.npmrc, .pnpmrc), and database initialization (init-db.sql). [1] [2] [3] [4]
  • Provided setup scripts to automate dependency installation and environment readiness checks after container creation and start. (post-create.sh, post-start.sh) [1] [2]
  • Added documentation describing the DevContainer environment, usage instructions, and troubleshooting. (README.md)
  • Added a Docker Compose file to orchestrate the workspace, PostgreSQL, and Redis services with appropriate volumes and environment variables. (docker-compose.yml)

CI/CD Workflow Improvements:

  • Upgraded GitHub Actions to the latest major versions for improved security and reliability, including actions/checkout@v5, actions/setup-java@v5, actions/setup-node@v6, and artifact actions. (backend-ci.yaml) [1] [2] [3] [4] [5] [6]
  • Enhanced Docker build pipeline: added QEMU and BuildX setup for multi-architecture builds, and integrated Cosign for image signing (both with a private key and with GitHub OIDC). (backend-ci.yaml) [1] [2]
  • Improved artifact handling and publishing, including copying and updating Helm chart documentation. (backend-ci.yaml)

Configuration and Documentation:

  • Added a detailed DevContainer README to guide developers on environment usage, customization, and troubleshooting. (README.md)
  • Provided sample npm and pnpm mirror configuration files for fast and reliable package installation in China. (.npmrc, .pnpmrc) [1] [2]

These changes together enable a fast, reliable, and portable local development experience and bring the CI/CD pipeline up to date with best practices.