Open
Conversation
Feat/ci cd
This PR introduces a Dockerfile and Kubernetes deployment configurations to enable seamless containerization and deployment of the PetClinic REST API on Azure Kubernetes Service (AKS)
- Migrate from deprecated actions/upload-artifact@v3 to @v4 - Update actions/setup-java and actions/cache to v4 - Add explicit Minikube and MySQL client installation - Fix output setting syntax for GITHUB_OUTPUT - Specify ubuntu-24.04 runner explicitly
- Fix 'source' command syntax for minikube docker-env - Add explicit Docker installation before Minikube - Include proper environment setup for Minikube context - Add error handling for Minikube initialization - Update Minikube version to 1.35.0 Error resolved: * Fixed 'source: usage: source filename [arguments]' error * Ensures proper Docker environment configuration * Prevents exit code 2 during Minikube setup
- Remove existing containerd before installing docker.io - Add explicit containerd.io installation - Clean up package cache before installation - Add error handling for package installation
- Remove problematic docker-buildx-plugin installation - Simplify to only essential packages (docker.io, conntrack, curl) - Clean up redundant dependency cleanup steps - Maintain core Minikube deployment functionality - Add || true for non-critical usermod command The buildx plugin isn't required for basic Minikube deployments. This change resolves the package installation errors while keeping all necessary functionality for the Spring PetClinic deployment.
- Keep docker.io, conntrack, and curl installation (critical for Minikube) - Add containerd conflict resolution - Add Docker version check for validation - Skip usermod errors safely in CI These packages are required because: - docker.io: Container runtime for Minikube - conntrack: Kubernetes networking requirement - curl: Needed to fetch Minikube binary
- Keep docker.io, conntrack, and curl installation (critical for Minikube) - Add containerd conflict resolution - Add Docker version check for validation - Skip usermod errors safely in CI These packages are required because: - docker.io: Container runtime for Minikube - conntrack: Kubernetes networking requirement - curl: Needed to fetch Minikube binary
…tion - Add comprehensive containerd/docker conflict handling - Implement fallback installation paths - Include verification steps for all tools - Suppress non-critical errors in CI environment - Ensure Docker is properly configured and running The improved installation process now: 1. Handles package conflicts gracefully 2. Works across different Ubuntu/Docker versions 3. Provides verification of successful setup 4. Prevents CI failures from benign issues
…tion - Add comprehensive containerd/docker conflict handling - Implement fallback installation paths - Include verification steps for all tools - Suppress non-critical errors in CI environment - Ensure Docker is properly configured and running The improved installation process now: 1. Handles package conflicts gracefully 2. Works across different Ubuntu/Docker versions 3. Provides verification of successful setup 4. Prevents CI failures from benign issues
Initial commit for dev branch: Setup basic app structure and Minikube config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information