-
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.
- Loading branch information
1 parent
39fefb7
commit 87f3788
Showing
61 changed files
with
1 addition
and
32,466 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
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 |
---|---|---|
|
@@ -77,54 +77,10 @@ jobs: | |
CURRENT_GITHUB_ACTION_RUN_URL="${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" | ||
curl -X POST -H 'Content-type: application/json' --data "{\"attachments\":[{\"color\":\"#FF0000\",\"title\":\"[PROD] Backend CI Failed\", \"text\":\"<!subteam^S052B9W7129> (<$CURRENT_GITHUB_ACTION_RUN_URL|github action run url>)\"}]}" ${{ secrets.SLACK_URL_SCC_SERVER_CHANNEL }} -v | ||
# frontend-ci: | ||
# runs-on: ubuntu-latest | ||
# | ||
# defaults: | ||
# run: | ||
# working-directory: app-admin-frontend | ||
# | ||
# steps: | ||
# - uses: actions/checkout@v3 | ||
# - name: Set RELEASE_VERSION | ||
# run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV | ||
# | ||
# - name: Setup Node | ||
# uses: actions/setup-node@v3 | ||
# with: | ||
# node-version: 18 | ||
# | ||
# - name: Install & Run openapi-generator | ||
# run: | | ||
# mkdir -p ~/bin/openapitools | ||
# curl https://raw.githubusercontent.com/OpenAPITools/openapi-generator/master/bin/utils/openapi-generator-cli.sh > ~/bin/openapitools/openapi-generator-cli | ||
# chmod u+x ~/bin/openapitools/openapi-generator-cli | ||
# export PATH=$PATH:~/bin/openapitools/ | ||
# | ||
# mv ~/bin/openapitools/openapi-generator-cli ~/bin/openapitools/openapi-generator | ||
# | ||
# OPENAPI_GENERATOR_VERSION=7.1.0 ./generate-api-spec.sh | ||
# | ||
# - name: Configure AWS Credentials | ||
# uses: aws-actions/configure-aws-credentials@v2 | ||
# with: | ||
# role-to-assume: arn:aws:iam::291889421067:role/github-action-ci-cd | ||
# aws-region: ap-northeast-2 | ||
# | ||
# - name: Build and Push Image | ||
# run: ./docker-push.sh prod $RELEASE_VERSION | ||
# | ||
# - name: Notify CD failure to slack | ||
# if: failure() | ||
# run: | | ||
# CURRENT_GITHUB_ACTION_RUN_URL="${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" | ||
# curl -X POST -H 'Content-type: application/json' --data "{\"text\":\"[PROD] Frontend CI failed. <!subteam^S052B9W7129> (<$CURRENT_GITHUB_ACTION_RUN_URL|github action run url>)\"}" ${{ secrets.SLACK_URL_SCC_SERVER_CHANNEL }} -v | ||
|
||
cd: | ||
runs-on: ubuntu-latest | ||
needs: | ||
- backend-ci | ||
# - frontend-ci | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
@@ -162,16 +118,6 @@ jobs: | |
run: | | ||
helm upgrade --install --namespace scc -f values-prod.yaml scc-server ./ | ||
# - name: Update image tag for scc-admin-frontend | ||
# uses: mikefarah/yq@master | ||
# with: | ||
# cmd: yq -i '.image.tag = strenv(RELEASE_VERSION)' 'infra/helm/scc-admin-frontend/values-prod.yaml' | ||
# | ||
# - name: Upgrade scc-admin-frontend helm chart | ||
# working-directory: infra/helm/scc-admin-frontend | ||
# run: | | ||
# helm upgrade --install --namespace scc -f values-prod.yaml scc-admin-frontend ./ | ||
|
||
- name: Notify CD failure to slack | ||
if: failure() | ||
run: | | ||
|
@@ -205,11 +151,6 @@ jobs: | |
with: | ||
cmd: yq -i '.image.tag = strenv(RELEASE_VERSION)' 'infra/helm/scc-server/values-prod.yaml' | ||
|
||
# - name: Update image tag for scc-admin-frontend | ||
# uses: mikefarah/yq@master | ||
# with: | ||
# cmd: yq -i '.image.tag = strenv(RELEASE_VERSION)' 'infra/helm/scc-admin-frontend/values-prod.yaml' | ||
|
||
- name: Commit and push image tag for main branch | ||
run: | | ||
git config --global user.email "[email protected]" | ||
|
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.