mirror of
https://github.com/valitydev/control-center.git
synced 2024-11-06 02:25:17 +00:00
FR-698: Bump image build (NodeJS 16) (#278)
This commit is contained in:
parent
de00b166fd
commit
2b2fb06082
71
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
71
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
<!--
|
||||||
|
Название ветки:
|
||||||
|
fr-0/<name>
|
||||||
|
(fr-0/bump-angular-to-12)
|
||||||
|
|
||||||
|
Название PR'a:
|
||||||
|
FR-0: <НАЗВАНИЕ>
|
||||||
|
FR-0,FR-1: <ОБЩЕЕ НАЗВАНИЕ> или <НАЗВАНИЕ 1>; <НАЗВАНИЕ 2>
|
||||||
|
-->
|
||||||
|
|
||||||
|
## ⛵ JIRA
|
||||||
|
|
||||||
|
- [ ] [FR-0](https://rbkmoney.atlassian.net/browse/FR-0)
|
||||||
|
|
||||||
|
## 📑 Изменения
|
||||||
|
|
||||||
|
```
|
||||||
|
✍️(^◡^)
|
||||||
|
```
|
||||||
|
|
||||||
|
### 📦 Новые NPM пакеты
|
||||||
|
|
||||||
|
- [ ] Добавлены новые NPM пакеты
|
||||||
|
|
||||||
|
<!-- Описание NPM пакета и возможно стоит добавить в Guidelin'ы
|
||||||
|
- [NPM](https://www.npmjs.com/)
|
||||||
|
-->
|
||||||
|
|
||||||
|
### 📚 Обновлен Guideline
|
||||||
|
|
||||||
|
- [ ] Добавлено описание в [wiki](https://github.com/rbkmoney/dashboard/wiki)
|
||||||
|
|
||||||
|
<!-- Ссылка и возможно коротко об изменениях
|
||||||
|
- [Wiki](https://github.com/rbkmoney/dashboard/wiki)
|
||||||
|
-->
|
||||||
|
|
||||||
|
## 🖥️ Изменения в интерфейсе
|
||||||
|
|
||||||
|
- [ ] Да
|
||||||
|
- [ ] Выглядит отлично на мобильных устройствах
|
||||||
|
|
||||||
|
### 🔗 Страницы с изменениями либо как их воспроизвести
|
||||||
|
|
||||||
|
- http://localhost:8000/
|
||||||
|
|
||||||
|
### 🖼 Скриншоты
|
||||||
|
|
||||||
|
<!--
|
||||||
|
<details>
|
||||||
|
<summary>Скриншоты</summary>
|
||||||
|
|
||||||
|
</details>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!--
|
||||||
|
- На измененные поля нужно ставить "x", для понимания что это было отредактировано.
|
||||||
|
|
||||||
|
JIRA:
|
||||||
|
- Если несколько, то нужно добавить каждый
|
||||||
|
|
||||||
|
Описание изменений:
|
||||||
|
- Например: Обновление Angular до 12 версии
|
||||||
|
|
||||||
|
Страницы с изменениями:
|
||||||
|
- Например: http://localhost:8000/invoices или диалог на http://localhost:8000/payments
|
||||||
|
|
||||||
|
Скриншоты:
|
||||||
|
- Можно просто скопировать и вставить изображение (CTRL-V)
|
||||||
|
- Шаблон для изображения: ![Название](URL)
|
||||||
|
- Если есть скриншоты которые занимаю много места, то их нужно вложить в details
|
||||||
|
-->
|
12
.github/workflows/pr.yaml
vendored
Normal file
12
.github/workflows/pr.yaml
vendored
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
name: 'PR Title Checker'
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: [edited, opened, synchronize, reopened]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
title-check:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: naveenk1223/action-pr-title@master
|
||||||
|
with:
|
||||||
|
regex: '([A-Z]+-[0-9]+,?)+: [A-Z0-9].*'
|
15
Makefile
15
Makefile
@ -17,7 +17,7 @@ REGISTRY ?= dr2.rbkmoney.com
|
|||||||
BASE_IMAGE_NAME := service-fe
|
BASE_IMAGE_NAME := service-fe
|
||||||
BASE_IMAGE_TAG := 647d66a59ba89ea42b326ca5156f5d1e1395febc
|
BASE_IMAGE_TAG := 647d66a59ba89ea42b326ca5156f5d1e1395febc
|
||||||
|
|
||||||
BUILD_IMAGE_TAG := 917afcdd0c0a07bf4155d597bbba72e962e1a34a
|
BUILD_IMAGE_TAG := 25c031edd46040a8745334570940a0f0b2154c5c
|
||||||
|
|
||||||
GIT_SSH_COMMAND :=
|
GIT_SSH_COMMAND :=
|
||||||
DOCKER_RUN_OPTS = -e GIT_SSH_COMMAND='$(GIT_SSH_COMMAND)' -e NG_CLI_ANALYTICS=ci -e NPM_TOKEN='$(GITHUB_TOKEN)'
|
DOCKER_RUN_OPTS = -e GIT_SSH_COMMAND='$(GIT_SSH_COMMAND)' -e NG_CLI_ANALYTICS=ci -e NPM_TOKEN='$(GITHUB_TOKEN)'
|
||||||
@ -38,17 +38,10 @@ $(SUBTARGETS): %/.git: %
|
|||||||
|
|
||||||
submodules: $(SUBTARGETS)
|
submodules: $(SUBTARGETS)
|
||||||
|
|
||||||
init: install compile lint
|
init:
|
||||||
|
|
||||||
install:
|
|
||||||
echo -e "//npm.pkg.github.com/:_authToken=$(NPM_TOKEN)" >> .npmrc
|
echo -e "//npm.pkg.github.com/:_authToken=$(NPM_TOKEN)" >> .npmrc
|
||||||
npm ci
|
npm ci
|
||||||
|
npm run compile
|
||||||
compile:
|
|
||||||
npx run-p --aggregate-output --print-label compile-thrift compile-thrift-deprecated
|
|
||||||
|
|
||||||
lint:
|
|
||||||
npx run-p --aggregate-output --print-label prettier lint-errors
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
npm run build
|
npm run ci:build
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
make wc_shell
|
make wc_shell
|
||||||
make compile
|
npm run compile
|
||||||
```
|
```
|
||||||
|
|
||||||
## Запуск Sonar'a
|
## Запуск Sonar'a
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 24aa772730be966667adb285a09fcb494d4f218e
|
Subproject commit a7655bc60c877a65cdfe3d9b668021d970d88a76
|
2196
package-lock.json
generated
2196
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -2,6 +2,7 @@
|
|||||||
"name": "control-center",
|
"name": "control-center",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"postinstall": "ngcc",
|
||||||
"start": "ng serve --proxy-config proxy.conf.json --port 7000",
|
"start": "ng serve --proxy-config proxy.conf.json --port 7000",
|
||||||
"build": "ng build --prod",
|
"build": "ng build --prod",
|
||||||
"test": "ng test",
|
"test": "ng test",
|
||||||
@ -15,7 +16,9 @@
|
|||||||
"e2e": "ng e2e",
|
"e2e": "ng e2e",
|
||||||
"compile-thrift-deprecated": "ts-node --project tools/tsconfig.json tools/compile-thrift-deprecated",
|
"compile-thrift-deprecated": "ts-node --project tools/tsconfig.json tools/compile-thrift-deprecated",
|
||||||
"compile-thrift": "ts-node --project tools/tsconfig.json tools/compile-thrift",
|
"compile-thrift": "ts-node --project tools/tsconfig.json tools/compile-thrift",
|
||||||
"postinstall": "ngcc"
|
"compile": "npm run parallel-cmd -- --names THRIFT,THRIFT_DEP \"npm run compile-thrift\" \"npm run compile-thrift-deprecated\"",
|
||||||
|
"ci:build": "npm run parallel-cmd -- --names PRETTIER,LINT,BUILD \"npm run prettier\" \"npm run lint-errors\" \"npm run build\"",
|
||||||
|
"parallel-cmd": "concurrently --kill-others-on-fail --prefix-colors magenta,green,red,yellow,blue"
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@ -87,6 +90,7 @@
|
|||||||
"@typescript-eslint/parser": "~4.22.0",
|
"@typescript-eslint/parser": "~4.22.0",
|
||||||
"chalk": "^4.1.0",
|
"chalk": "^4.1.0",
|
||||||
"codelyzer": "^6.0.0",
|
"codelyzer": "^6.0.0",
|
||||||
|
"concurrently": "^6.2.0",
|
||||||
"del": "^5.1.0",
|
"del": "^5.1.0",
|
||||||
"eslint": "^7.25.0",
|
"eslint": "^7.25.0",
|
||||||
"glob": "^7.1.6",
|
"glob": "^7.1.6",
|
||||||
@ -98,7 +102,6 @@
|
|||||||
"karma-coverage-istanbul-reporter": "~3.0.2",
|
"karma-coverage-istanbul-reporter": "~3.0.2",
|
||||||
"karma-jasmine": "~4.0.0",
|
"karma-jasmine": "~4.0.0",
|
||||||
"karma-jasmine-html-reporter": "^1.5.0",
|
"karma-jasmine-html-reporter": "^1.5.0",
|
||||||
"npm-run-all": "^4.1.5",
|
|
||||||
"prettier": "~2.0.4",
|
"prettier": "~2.0.4",
|
||||||
"protractor": "~7.0.0",
|
"protractor": "~7.0.0",
|
||||||
"ts-mockito": "^2.6.1",
|
"ts-mockito": "^2.6.1",
|
||||||
|
Loading…
Reference in New Issue
Block a user