Skip to content

Commit 9881db9

Browse files
DanielHabenichtrestyled-io[bot]restyled-commits
authored
fix: compatibility with kubernetes 1.22 (#827)
* fix kubernetes api version * fix error * migrate other steps according to https://kubernetes.io/docs/reference/using-api/deprecation-guide/#ingress-v122 * beta migration * update to higher kubernetes version comatibility * Restyled by prettier (#828) Co-authored-by: Restyled.io <commits@restyled.io> * Update Phonebook.pr.yml for Azure Pipelines * update pipeline vm specifiers * Update demo/Phonebook.MockBackend.yml Co-authored-by: restyled-io[bot] <32688539+restyled-io[bot]@users.noreply.github.com> Co-authored-by: Restyled.io <commits@restyled.io>
1 parent 76a6de0 commit 9881db9

16 files changed

+34
-28
lines changed

.azure/pipelines/Phonebook.preview.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- job: build_phonebook_frontend
1515
displayName: 'Phonebook Frontend'
1616
pool:
17-
vmImage: 'ubuntu-16.04'
17+
vmImage: 'ubuntu-latest'
1818
steps:
1919
- task: UseNode@1
2020
inputs:
@@ -40,7 +40,7 @@ jobs:
4040
- job: build_phonebook_source_peoplesoft
4141
displayName: 'Phonebook Source Peoplesoft'
4242
pool:
43-
vmImage: 'ubuntu-16.04'
43+
vmImage: 'ubuntu-latest'
4444
steps:
4545
- task: UseNode@1
4646
inputs:
@@ -63,7 +63,7 @@ jobs:
6363
- job: build_phonebook_helm
6464
displayName: Phonebook Helm Chart
6565
pool:
66-
vmImage: 'ubuntu-16.04'
66+
vmImage: 'ubuntu-latest'
6767
steps:
6868
- task: HelmInstaller@1
6969
displayName: Helm install latest
@@ -86,7 +86,7 @@ jobs:
8686
- build_phonebook_helm
8787
displayName: 'Deploy Preview'
8888
pool:
89-
vmImage: 'ubuntu-16.04'
89+
vmImage: 'ubuntu-latest'
9090
variables:
9191
namespace: $(image_tag_frontend)
9292
steps:
@@ -159,7 +159,7 @@ jobs:
159159
condition: succeededOrFailed()
160160
displayName: 'Delete Preview Environment'
161161
pool:
162-
vmImage: 'ubuntu-16.04'
162+
vmImage: 'ubuntu-latest'
163163
variables:
164164
namespace: $(image_tag_frontend)
165165
steps:

.azure/pipelines/pr/Phonebook.Assets.pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- job: build
1212
displayName: build docker image
1313
pool:
14-
vmImage: 'ubuntu-16.04'
14+
vmImage: 'ubuntu-latest'
1515
steps:
1616
- bash: |
1717
docker build .

.azure/pipelines/pr/Phonebook.Frontend.pr.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- job: E2E
1212
displayName: E2E Tests
1313
pool:
14-
vmImage: 'ubuntu-16.04'
14+
vmImage: 'ubuntu-latest'
1515
steps:
1616
- task: UseNode@1
1717
inputs:
@@ -33,7 +33,7 @@ jobs:
3333
- job: Unit
3434
displayName: Unit Tests
3535
pool:
36-
vmImage: 'ubuntu-16.04'
36+
vmImage: 'ubuntu-latest'
3737
steps:
3838
- task: UseNode@1
3939
inputs:
@@ -55,7 +55,7 @@ jobs:
5555
- job: build
5656
displayName: Build
5757
pool:
58-
vmImage: 'Ubuntu-16.04'
58+
vmImage: 'ubuntu-latest'
5959
steps:
6060
- task: UseNode@1
6161
inputs:

.azure/pipelines/pr/Phonebook.Source.MockPeopleBackend.pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- job: build
1212
displayName: build docker image
1313
pool:
14-
vmImage: 'ubuntu-16.04'
14+
vmImage: 'ubuntu-latest'
1515
steps:
1616
- bash: |
1717
docker build -f synthetic.Dockerfile .

.azure/pipelines/pr/Phonebook.Source.PeopleSoft.pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- job: build
1212
displayName: build docker image
1313
pool:
14-
vmImage: 'ubuntu-16.04'
14+
vmImage: 'ubuntu-latest'
1515
steps:
1616
- bash: |
1717
docker build .

.azure/pipelines/pr/Phonebook.pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- job: helm
1212
displayName: helm
1313
pool:
14-
vmImage: 'ubuntu-16.04'
14+
vmImage: 'ubuntu-latest'
1515
steps:
1616
- task: HelmInstaller@1
1717
displayName: Helm install latest

.azure/pipelines/pr/docs.pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- job: build
1212
displayName: build docs
1313
pool:
14-
vmImage: 'ubuntu-16.04'
14+
vmImage: 'ubuntu-latest'
1515
steps:
1616
- task: UseRubyVersion@0
1717
displayName: 'Use Ruby >= 2.5'

.azure/pipelines/production/Phonebook.Assets.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- job: build
1313
displayName: build docker image
1414
pool:
15-
vmImage: 'ubuntu-16.04'
15+
vmImage: 'ubuntu-latest'
1616
steps:
1717
- bash: |
1818
docker build -t $dockerRepo:$tag .

.azure/pipelines/production/Phonebook.Frontend.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ trigger:
99
pr: none
1010

1111
pool:
12-
vmImage: 'Ubuntu-16.04'
12+
vmImage: 'ubuntu-latest'
1313
steps:
1414
- task: UseNode@1
1515
inputs:

.azure/pipelines/production/Phonebook.Source.MockPeopleBackend.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- job: build
1313
displayName: build docker image
1414
pool:
15-
vmImage: 'ubuntu-16.04'
15+
vmImage: 'ubuntu-latest'
1616
steps:
1717
- bash: |
1818
docker build -t $dockerRepo:$tag -f synthetic.Dockerfile .

0 commit comments

Comments
 (0)