From e4a56ce0d8dc5d70b8c23e569cd8ebcadc0d5af6 Mon Sep 17 00:00:00 2001 From: Nayeon Keum Date: Tue, 25 Jul 2023 20:40:19 +0900 Subject: [PATCH 1/2] [feat/#48] Add: auto assign workflow --- .github/auto_assign.yml | 18 ++++++++++++++++++ .github/workflows/main.yml | 12 ++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 .github/auto_assign.yml create mode 100644 .github/workflows/main.yml diff --git a/.github/auto_assign.yml b/.github/auto_assign.yml new file mode 100644 index 0000000..ded95d4 --- /dev/null +++ b/.github/auto_assign.yml @@ -0,0 +1,18 @@ +# Set to true to add reviewers to pull requests +addReviewers: true + +# Set to true to add assignees to pull requests +addAssignees: author + +# A list of reviewers to be added to pull requests (GitHub user name) +reviewers: + - NayeonKeum + - mjms0214 + +# A list of keywords to be skipped the process that add reviewers if pull requests include it +skipKeywords: + - wip + +# A number of reviewers added to the pull request +# Set 0 to add all the reviewers (default: 0) +numberOfReviewers: 0 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..224d55f --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,12 @@ +name: "Auto Assign Reviewer" +on: + pull_request: + types: [opened, ready_for_review] + +jobs: + add-reviews: + runs-on: ubuntu-latest + steps: + - uses: kentaro-m/auto-assign-action@v1.2.1 + with: + configuration-path: ".github/auto_assign.yml" From 4d9fda439f1ea99057613df192233084a9acce28 Mon Sep 17 00:00:00 2001 From: Nayeon Keum Date: Tue, 25 Jul 2023 20:54:10 +0900 Subject: [PATCH 2/2] [feat/#50] Test: workflow --- API/res/apiserver.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/API/res/apiserver.md b/API/res/apiserver.md index 76171c7..a546f25 100644 --- a/API/res/apiserver.md +++ b/API/res/apiserver.md @@ -9,7 +9,7 @@ CoreDNS is running at https://kubernetes.docker.internal:6443/api/v1/namespaces/ ``` ```bash -k proxy --port=8080 & +k proxy --port=8080 --address="127.0.0.01" --accept-hosts='^*$' & ``` ## ✅ 환경변수 설정 @@ -46,7 +46,7 @@ with open('tmp0.json') as f: data = f.read().replace('\n', '').replace('\r', '').encode() response = requests.post( - 'http://' + os.getenv('APISERVER', '') + '/api/v1/namespaces/student-ns/pods', + os.getenv('APISERVER', '') + '/api/v1/namespaces/student-ns/pods', headers=headers, data=data, verify=os.getenv('CACERT', ''),