mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-05-22 03:19:38 +00:00
Adding kubectl executions
This commit is contained in:
parent
839d334c1e
commit
fe2034fcca
3 changed files with 18 additions and 15 deletions
17
.github/workflows/deploy-and-test-cluster.yml
vendored
17
.github/workflows/deploy-and-test-cluster.yml
vendored
|
@ -1,14 +1,15 @@
|
|||
name: Deploy and Test Cluster
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- 'k8s/**'
|
||||
pull_request:
|
||||
branches: [main]
|
||||
paths:
|
||||
- 'k8s/**'
|
||||
# push:
|
||||
# branches: [main]
|
||||
# paths:
|
||||
# - 'k8s/**'
|
||||
# pull_request:
|
||||
# branches: [main]
|
||||
# paths:
|
||||
# - 'k8s/**'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
deploy-and-test-cluster:
|
||||
|
|
9
.github/workflows/gradle-build.yml
vendored
9
.github/workflows/gradle-build.yml
vendored
|
@ -4,10 +4,11 @@
|
|||
name: Java CI with Gradle
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
# push:
|
||||
# branches: [ main ]
|
||||
# pull_request:
|
||||
# branches: [ main ]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
7
.github/workflows/maven-build.yml
vendored
7
.github/workflows/maven-build.yml
vendored
|
@ -36,8 +36,8 @@ jobs:
|
|||
- name: Add executable permissions
|
||||
run: chmod a+x mvnw
|
||||
|
||||
- name: Maven install dependencies
|
||||
run: ./mvnw clean install package
|
||||
# - name: Maven install dependencies
|
||||
# run: ./mvnw clean install package
|
||||
|
||||
# - name: Upload JAR artifact
|
||||
# uses: actions/upload-artifact@4
|
||||
|
@ -54,6 +54,7 @@ jobs:
|
|||
with:
|
||||
azcliversion: latest
|
||||
inlineScript: |
|
||||
az account show
|
||||
az aks get-credentials --resource-group grid-capstone --name dev-grid-cluster --admin
|
||||
cat ~/.kube/config
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue