Skip to content

Commit

Permalink
Update CICD.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ChadenBA authored Apr 19, 2024
1 parent 9a34934 commit 96a9ade
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/CICD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,16 +89,20 @@ jobs:
uses: tale/kubectl-action@v1
with:
base64-kube-config: ${{ secrets.KUBE_CONFIG }}
- name: Testing
- name: Print Environment Variables
run: |
kubectl cluster-info
kubectl get pods -n kube-system
echo "current-context:" $(kubectl config current-context)
echo "environment-kubeconfig:" ${KUBECONFIG}
- name: deploy to Kubernetes
echo "GitHub Event: $GITHUB_EVENT_NAME"
echo "GitHub Repository: $GITHUB_REPOSITORY"
echo "GitHub Ref: $GITHUB_REF"
echo "GitHub Actor: $GITHUB_ACTOR"
echo "Current Branch: $(git rev-parse --abbrev-ref HEAD)"
echo "Kubeconfig Contents:"
cat $KUBECONFIG
- name: Debug Kubernetes Cluster
run: |
kubectl apply -f deployment-service.yml
kubectl get svc -n webapps
kubectl cluster-info
kubectl get pods --all-namespaces
- name: Update dependency graph
uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6

0 comments on commit 96a9ade

Please sign in to comment.