Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2022-11-09 00:59:16 +0900 #208

Merged
merged 33 commits into from
Nov 8, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
19bd612
iroiro
kienn-HCl Nov 5, 2022
ef94943
テスト用grpcサーバーの作成
kienn-HCl Nov 5, 2022
2b0362b
delete executable file
kienn-HCl Nov 6, 2022
8e585cc
add environment variable loader
Azuki-bar Nov 7, 2022
86d2b68
Update dependency @typescript-eslint/eslint-plugin to v5.42.1
renovate[bot] Nov 7, 2022
3229a87
Update Node.js to v16.18.1
renovate[bot] Nov 7, 2022
416dc79
Merge pull request #206 from ueckoken/env-var-ats
Azuki-bar Nov 7, 2022
6342468
Update dependency eslint to v8.27.0
renovate[bot] Nov 7, 2022
eb60b46
Merge branch 'main' into make-proxyserver
kienn-HCl Nov 8, 2022
1524c89
Commit from GitHub Actions (compile_PB)
github-actions[bot] Nov 8, 2022
61512ad
fix Makefile
kienn-HCl Nov 8, 2022
34ab46b
fix Makefile
kienn-HCl Nov 8, 2022
b096867
fix module name
kienn-HCl Nov 8, 2022
d60bac2
delete mutex in http.MethodGet
kienn-HCl Nov 8, 2022
1bc084d
Update dependency @swc/core to v1.3.14
renovate[bot] Nov 8, 2022
bbb81ec
Update module github.com/prometheus/client_golang to v1.14.0
renovate[bot] Nov 8, 2022
f518e15
Merge pull request #211 from ueckoken/renovate/github.com-prometheus-…
Azuki-bar Nov 8, 2022
a974ead
fix deployment workflows
Azuki-bar Nov 8, 2022
5992896
add auto_operation build image workflow
Azuki-bar Nov 8, 2022
ac3ecf5
iroiro
kienn-HCl Nov 5, 2022
a525d92
テスト用grpcサーバーの作成
kienn-HCl Nov 5, 2022
46927fb
delete executable file
kienn-HCl Nov 6, 2022
19fd230
Commit from GitHub Actions (compile_PB)
github-actions[bot] Nov 8, 2022
e137ab5
fix Makefile
kienn-HCl Nov 8, 2022
2aa8e0d
fix Makefile
kienn-HCl Nov 8, 2022
76dcd89
fix module name
kienn-HCl Nov 8, 2022
bdc4248
delete mutex in http.MethodGet
kienn-HCl Nov 8, 2022
228f80e
fix deployment workflows
Azuki-bar Nov 8, 2022
65273cd
add auto_operation build image workflow
Azuki-bar Nov 8, 2022
f462770
Merge branch 'deploy-central' of https://github.com/ueckoken/plarail2…
Azuki-bar Nov 8, 2022
333a5d3
delete
Azuki-bar Nov 8, 2022
94f3d8d
delete
Azuki-bar Nov 8, 2022
1b2beda
Merge pull request #212 from ueckoken/deploy-central
Azuki-bar Nov 8, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
230 changes: 214 additions & 16 deletions .github/workflows/deploy-external.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,53 @@
name: Deploy external

defaults:
run:
working-directory: ./backend/external
name: build and publish image

on:
push:
branches: [deployment]

jobs:
build:
backend-auto_operation:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./backend/auto_operation
steps:
- name: checkout
uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version-file: ./backend/external/go.mod
cache: true
cache-dependency-path: ./backend/external/go.sum
- name: Build Go binary
- name: set tag
run: |-
make build
export TIMESTAMP=$(date +%s)
export SHA=$(echo ${{ github.sha }} | cut -c1-7)
echo "IMAGE_TAG=$SHA-$TIMESTAMP" >> $GITHUB_ENV
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build
uses: docker/build-push-action@v3
with:
context: ./backend/auto-operation
platforms: linux/amd64
push: true
tags: ghcr.io/ueckoken/plarail2022-auto-operation:${{ env.IMAGE_TAG }}
cache-from: type=gha
cache-to: type=gha,mode=max
backend-external:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./backend/external
steps:
- name: checkout
uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
- name: set tag
run: |-
export TIMESTUMP=$(date +%s)
export TIMESTAMP=$(date +%s)
export SHA=$(echo ${{ github.sha }} | cut -c1-7)
echo "IMAGE_TAG=$SHA-$TIMESTUMP" >> $GITHUB_ENV
echo "IMAGE_TAG=$SHA-$TIMESTAMP" >> $GITHUB_ENV
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
Expand All @@ -44,3 +63,182 @@ jobs:
tags: ghcr.io/ueckoken/plarail2022-external:${{ env.IMAGE_TAG }}
cache-from: type=gha
cache-to: type=gha,mode=max
backend-internal:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./backend/internal
steps:
- name: checkout
uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
- name: set tag
run: |-
export TIMESTAMP=$(date +%s)
export SHA=$(echo ${{ github.sha }} | cut -c1-7)
echo "IMAGE_TAG=$SHA-$TIMESTAMP" >> $GITHUB_ENV
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build
uses: docker/build-push-action@v3
with:
context: ./backend/internal
platforms: linux/amd64
push: true
tags: ghcr.io/ueckoken/plarail2022-internal:${{ env.IMAGE_TAG }}
cache-from: type=gha
cache-to: type=gha,mode=max
backend-multicaster:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./backend/multicaster
steps:
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: set tag
run: |-
export TIMESTAMP=$(date +%s)
export SHA=$(echo ${{ github.sha }} | cut -c1-7)
echo "IMAGE_TAG=$SHA-$TIMESTAMP" >> $GITHUB_ENV
- name: Build
uses: docker/build-push-action@v3
with:
context: ./backend/multicaster
file: ./backend/multicaster/Dockerfile
platforms: linux/amd64
push: true
tags: ghcr.io/ueckoken/plarail2022-frontend-python:${{ env.IMAGE_TAG }}
cache-from: type=gha
cache-to: type=gha,mode=max

backend-positioning:
defaults:
run:
working-directory: ./backend/positioning
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: set tag
run: |-
export TIMESTAMP=$(date +%s)
export SHA=$(echo ${{ github.sha }} | cut -c1-7)
echo "IMAGE_TAG=$SHA-$TIMESTAMP" >> $GITHUB_ENV
- name: Build
uses: docker/build-push-action@v3
with:
context: ./backend/positioning
file: ./backend/positioning/Dockerfile
platforms: linux/amd64
push: true
tags: ghcr.io/ueckoken/plarail2022-positioning:${{ env.IMAGE_TAG }}
cache-from: type=gha
cache-to: type=gha,mode=max
frontend-momo_sender:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./frontend/momo_sender

steps:
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
- name: set tag
run: |-
export TIMESTAMP=$(date +%s)
export SHA=$(echo ${{ github.sha }} | cut -c1-7)
echo "IMAGE_TAG=$SHA-$TIMESTAMP" >> $GITHUB_ENV
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build
uses: docker/build-push-action@v3
with:
context: ./frontend/momo_sender/
file: ./frontend/momo_sender/Dockerfile
platforms: linux/amd64
push: true
tags: ghcr.io/ueckoken/plarail2022-webrtc-sender:${{ env.IMAGE_TAG }}
cache-from: type=gha
cache-to: type=gha,mode=max

frontend-site:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./frontend/site
steps:
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: set tag
run: |-
export TIMESTAMP=$(date +%s)
export SHA=$(echo ${{ github.sha }} | cut -c1-7)
echo "IMAGE_TAG=$SHA-$TIMESTAMP" >> $GITHUB_ENV
- name: Build
uses: docker/build-push-action@v3
with:
context: ./frontend/site
file: ./frontend/site/Dockerfile
platforms: linux/amd64
push: true
tags: ghcr.io/ueckoken/plarail2022-frontend:${{ env.IMAGE_TAG }}
cache-from: type=gha
cache-to: type=gha,mode=max
frontend-skyway_receiver:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./frontend/skyway_receiver
steps:
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: set tag
run: |-
export TIMESTAMP=$(date +%s)
export SHA=$(echo ${{ github.sha }} | cut -c1-7)
echo "IMAGE_TAG=$SHA-$TIMESTAMP" >> $GITHUB_ENV
- name: Build
uses: docker/build-push-action@v3
with:
context: ./frontend/skyway_receiver/
file: ./frontend/skyway_receiver/Dockerfile
platforms: linux/amd64
push: true
tags: ghcr.io/ueckoken/plarail2022-receiver-test:${{ env.IMAGE_TAG }}
cache-from: type=gha
cache-to: type=gha,mode=max
37 changes: 0 additions & 37 deletions .github/workflows/deploy-frontend.yml

This file was deleted.

43 changes: 0 additions & 43 deletions .github/workflows/deploy-internal.yml

This file was deleted.

39 changes: 0 additions & 39 deletions .github/workflows/deploy-multicaster.yml

This file was deleted.

Loading