-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1480 from prefeiturasp/hotfix/1.33.7
Hotfix/1.33.7
- Loading branch information
Showing
7 changed files
with
89 additions
and
66 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -152,7 +152,21 @@ jobs: | |
RANCHER_TOKEN: ${{ secrets.RANCHER_TOKEN }} | ||
NAMESPACE: sme-ptrf-hom2 | ||
WORKLOAD: ptrf-backend,ptrf-celery,ptrf-flower | ||
|
||
|
||
- name: send failure message | ||
if: ${{ failure() }} | ||
uses: appleboy/telegram-action@master | ||
with: | ||
to: ${{ secrets.TELEGRAM_TO }} | ||
token: ${{ secrets.TELEGRAM_TOKEN }} | ||
message: | | ||
💥 Failed in ${{ github.ref_name }}! | ||
${{ github.actor }} created commit: | ||
Commit message: ${{ github.event.commits[0].message }} | ||
Repository: ${{ github.repository }} | ||
See changes: https://github.com/${{ github.repository }}/commit/${{github.sha}} | ||
Actions: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} | ||
deploy-k8s-dev: | ||
|
||
runs-on: self-hosted | ||
|
@@ -169,7 +183,21 @@ jobs: | |
RANCHER_TOKEN: ${{ secrets.RANCHER_TOKEN }} | ||
NAMESPACE: sme-ptrf | ||
WORKLOAD: ptrf-backend,ptrf-celery,ptrf-flower | ||
|
||
|
||
- name: send failure message | ||
if: ${{ failure() }} | ||
uses: appleboy/telegram-action@master | ||
with: | ||
to: ${{ secrets.TELEGRAM_TO }} | ||
token: ${{ secrets.TELEGRAM_TOKEN }} | ||
message: | | ||
💥 Failed in ${{ github.ref_name }}! | ||
${{ github.actor }} created commit: | ||
Commit message: ${{ github.event.commits[0].message }} | ||
Repository: ${{ github.repository }} | ||
See changes: https://github.com/${{ github.repository }}/commit/${{github.sha}} | ||
Actions: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} | ||
deploy-k8s-prod: | ||
|
||
runs-on: self-hosted | ||
|
@@ -187,6 +215,14 @@ jobs: | |
NAMESPACE: sme-ptrf | ||
WORKLOAD: ptrf-backend,ptrf-celery,ptrf-flower | ||
|
||
- name: Redeploy Pre Prod | ||
uses: luizhpriotto/[email protected] | ||
env: | ||
RANCHER_URL: ${{ secrets.RANCHER_URL }} | ||
RANCHER_TOKEN: ${{ secrets.RANCHER_TOKEN }} | ||
NAMESPACE: sme-sigescola-pre | ||
WORKLOAD: ptrf-backend,ptrf-celery,ptrf-flower | ||
|
||
- name: Redeploy Treinamento | ||
uses: luizhpriotto/[email protected] | ||
env: | ||
|
@@ -216,19 +252,4 @@ jobs: | |
Repository: ${{ github.repository }} | ||
See changes: https://github.com/${{ github.repository }}/commit/${{github.sha}} | ||
Actions: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} | ||
deploy-k8s-pre-prod: | ||
|
||
runs-on: self-hosted | ||
needs: [ build,sonar ] | ||
if: ${{ github.ref == 'refs/heads/pre-prod' }} | ||
environment: | ||
name: production | ||
steps: | ||
|
||
- name: Redeploy Pre Prod | ||
uses: luizhpriotto/[email protected] | ||
env: | ||
RANCHER_URL: ${{ secrets.RANCHER_URL }} | ||
RANCHER_TOKEN: ${{ secrets.RANCHER_TOKEN }} | ||
NAMESPACE: sme-sigescola-pre | ||
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
__version__ = "1.33.6" | ||
__version__ = "1.33.7" | ||
|
||
|
||
__version_info__ = tuple( | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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