mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2026-01-10 14:21:30 +00:00
[WIFI-7564] Add: workflow to delete OWGW in QA01 namespace (#460)
Signed-off-by: Dmitry Dunaev <dmitry@opsfleet.com>
This commit is contained in:
27
.github/workflows/restart_qa_gw.yml
vendored
Normal file
27
.github/workflows/restart_qa_gw.yml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
name: Restart OWGW on QA
|
||||
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
env:
|
||||
AWS_EKS_NAME: tip-wlan-main
|
||||
AWS_DEFAULT_OUTPUT: json
|
||||
AWS_DEFAULT_REGION: us-east-2
|
||||
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_CLIENT_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_CLIENT_KEY }}
|
||||
|
||||
on:
|
||||
workflow_dispatch: {}
|
||||
|
||||
|
||||
jobs:
|
||||
restart-owgw:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Fetch kubeconfig
|
||||
run: aws eks update-kubeconfig --name ${{ env.AWS_EKS_NAME }}
|
||||
|
||||
- name: Restart OWGW in QA01
|
||||
run: kubectl delete pod -n openwifi-qa01 -l app.kubernetes.io/name=owgw
|
||||
Reference in New Issue
Block a user