Skip to content

Commit

Permalink
Hack the timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Pavlovskiy committed Aug 15, 2023
1 parent 3568efd commit bc9d550
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/master_merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,24 @@ jobs:
k8s-url: ${{ secrets.KUBERNETES_SERVER_URL }}
k8s-secret: ${{ secrets.KUBERNETES_SECRET }}
- uses: actions/checkout@v3
- uses: fjogeleit/yaml-update-action@main
with:
valueFile: .k8s/prod/carres-api-deployment.yaml
propertyPath: spec.template.metadata.creationTimestamp
value: ${{ github.event.repository.updated_at }}
commitChange: false
- uses: fjogeleit/yaml-update-action@main
with:
valueFile: .k8s/prod/carres-website-deployment.yaml
propertyPath: spec.template.metadata.creationTimestamp
value: ${{ github.event.repository.updated_at }}
commitChange: false
- uses: fjogeleit/yaml-update-action@main
with:
valueFile: .k8s/prod/carres-keycloak-deployment.yaml
propertyPath: spec.template.metadata.creationTimestamp
value: ${{ github.event.repository.updated_at }}
commitChange: false
- uses: azure/k8s-deploy@v4
with:
namespace: carres
Expand Down
1 change: 1 addition & 0 deletions .k8s/prod/carres-api-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ spec:
app: carres-api
template:
metadata:
creationTimestamp: 2022-05-15T23:33:38Z
labels:
app: carres-api
spec:
Expand Down
1 change: 1 addition & 0 deletions .k8s/prod/carres-keycloak-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ spec:
app: carres-keycloak
template:
metadata:
creationTimestamp: 2022-05-15T23:33:38Z
labels:
app: carres-keycloak
spec:
Expand Down
1 change: 1 addition & 0 deletions .k8s/prod/carres-website-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ spec:
app: carres-website
template:
metadata:
creationTimestamp: 2022-05-15T23:33:38Z
labels:
app: carres-website
spec:
Expand Down

0 comments on commit bc9d550

Please sign in to comment.