File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88 - main
99
1010jobs :
11- docker :
12- runs-on : self-hosted
11+ ci :
12+ runs-on : ubuntu-latest
1313 steps :
1414 -
1515 name : Shorten commit id
2727 uses : docker/build-push-action@v6
2828 with :
2929 push : true
30- tags : tyrelfecha/python-app:${{ env.COMMIT_ID }}
30+ tags : tyrelfecha/python-app:${{ env.COMMIT_ID }}
31+
32+ cd :
33+ needs : ci
34+ runs-on : self-hosted
35+ steps :
36+ -
37+ name : Argocd app sync
38+ shell : bash
39+ run : |
40+ argocd login argocd-server.argocd \
41+ --insecure \
42+ --grpc-web \
43+ --username admin \
44+ --password ${{ secrets.ARGOCD_PASSWORD }}
45+ argocd app sync python-app
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ def details():
1010 return jsonify ({
1111 'time' : datetime .datetime .now ().strftime ("%I:%M:%S%p on %B %d, %Y" ),
1212 'hostname' : socket .gethostname (),
13- 'message' : 'You are doing great, human!!'
13+ 'message' : 'You are doing great, human!! :) '
1414 })
1515
1616@app .route ('/api/v1/healthz' )
You can’t perform that action at this time.
0 commit comments