Skip to content

Commit

Permalink
DEVOPS-1150: multisig migration to gcp (#340)
Browse files Browse the repository at this point in the history
* feat: DEVOPS-1150 multisig migration to gcp

* feat: DEVOPS-1150 multisig migration to gcp

* feat: DEVOPS-1150 multisig migration to gcp

* feat: DEVOPS-1150 multisig migration to gcp

* feat: DEVOPS-1150 multisig migration to gcp

* feat: DEVOPS-1150 multisig migration to gcp
  • Loading branch information
pavlops authored Dec 27, 2023
1 parent 958410c commit f166a80
Show file tree
Hide file tree
Showing 117 changed files with 44,732 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/cicd-prd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
eth-spout,
governance-api,
governance-snapshot,
multisig,
neo-savant,
scilla-server,
zillion,
Expand Down Expand Up @@ -82,6 +83,11 @@ jobs:
path: products/governance-snapshot
tag_length: 8
tag_latest: false
- application: multisig
image_name: multisig
path: products/multisig
tag_length: 8
tag_latest: false
- application: neo-savant
image_name: neo-savant
path: products/neo-savant
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/cicd-stg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
faucet-service,
governance-api,
governance-snapshot,
multisig,
neo-savant,
scilla-server,
zillion,
Expand Down Expand Up @@ -61,6 +62,11 @@ jobs:
path: products/faucet-service
tag_length: 8
tag_latest: false
- application: multisig
image_name: multisig
path: products/multisig
tag_length: 8
tag_latest: false
- application: neo-savant
image_name: neo-savant
path: products/neo-savant
Expand Down
1 change: 1 addition & 0 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ lint:
- products/devex/public/*.js
- products/governance-api/**
- products/governance-snapshot/**
- products/multisig/**
- products/scilla-server/**
- products/zillion/**
- .devcontainer/*
Expand Down
2 changes: 2 additions & 0 deletions products/multisig/.browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
> 1%
last 2 versions
30 changes: 30 additions & 0 deletions products/multisig/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
module.exports = {
root: true,
env: {
node: true
},
"globals": {
"EventBus": "readonly"
},
'extends': [
'plugin:vue/essential',
'eslint:recommended'
],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
},
parserOptions: {
parser: 'babel-eslint'
},
overrides: [
{
files: [
'**/__tests__/*.{j,t}s?(x)'
],
env: {
mocha: true
}
}
]
}
21 changes: 21 additions & 0 deletions products/multisig/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
.DS_Store
node_modules
/dist

# local env files
.env.local
.env.*.local

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
13 changes: 13 additions & 0 deletions products/multisig/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM node:14.20.0 as build-stage

WORKDIR /app
COPY ./package.json ./
COPY ./package-lock.json ./
RUN npm install
COPY . ./
RUN npm run build

FROM nginx:stable-alpine as production-stage
COPY --from=build-stage /app/dist /usr/share/nginx/html
EXPOSE 80
ENTRYPOINT ["nginx", "-g", "daemon off;"]
Loading

0 comments on commit f166a80

Please sign in to comment.