Skip to content

Commit

Permalink
refactor: adapt for nibiru
Browse files Browse the repository at this point in the history
  • Loading branch information
helder-moreira committed Mar 9, 2023
1 parent 86fd399 commit 2b95689
Show file tree
Hide file tree
Showing 250 changed files with 102 additions and 5,252 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/config-check.yaml

This file was deleted.

57 changes: 19 additions & 38 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
@@ -1,51 +1,32 @@
name: docker
name: Build docker image

on:
push:
branches:
- 'master-backup'
tags:
- "*"

jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
# -
# name: Set up QEMU
# uses: docker/setup-qemu-action@v1
# -
# name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v1
- name: Install
run: yarn install
- name: Build
run: yarn run vue-cli-service build
- name: Login to DockerHub
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1

- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v3
with:
# list of Docker images to use as base name for tags
images: |
yaoling/wallet
# generate Docker tags based on the following events/attributes
tags: |
type=sha
type=schedule
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Get version
id: get_version
uses: battila7/get-version-action@v2

- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
push: true
platforms: linux/amd64,linux/arm64
tags: ghcr.io/nibiruchain/explorer:latest,ghcr.io/nibiruchain/explorer:${{ steps.get_version.outputs.version-without-v }}
28 changes: 0 additions & 28 deletions .github/workflows/mainnet-deploy.yaml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/testnet-deploy.yaml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ node_modules
# local env files
.env.local
.env.*.local
.envrc

# Log files
npm-debug.log*
Expand Down
10 changes: 8 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
FROM node:17-alpine as builder

WORKDIR /app
COPY . .
RUN yarn && yarn build

FROM nginx:alpine
COPY ping.conf /etc/nginx/conf.d/default.conf
COPY dist /usr/share/nginx/html
COPY --from=builder /app/ping.conf /etc/nginx/conf.d/default.conf
COPY --from=builder /app/dist /usr/share/nginx/html
Binary file modified public/favicon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap"
rel="stylesheet"
/>
<title>Ping Dashboard</title>
<title>Nibiru</title>
</head>
<body>
<noscript>
Expand Down
Binary file removed public/logo.ico
Binary file not shown.
Binary file modified public/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
96 changes: 14 additions & 82 deletions public/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/logos/DWS.png
Binary file not shown.
Binary file removed public/logos/VDL.png
Binary file not shown.
21 changes: 0 additions & 21 deletions public/logos/agoric-bld.svg

This file was deleted.

Binary file removed public/logos/agoric.png
Binary file not shown.
Binary file removed public/logos/akash-network.png
Binary file not shown.
Binary file removed public/logos/androma.png
Binary file not shown.
Binary file removed public/logos/aura.png
Binary file not shown.
15 changes: 0 additions & 15 deletions public/logos/axelar.svg

This file was deleted.

12 changes: 0 additions & 12 deletions public/logos/band-protocol.svg

This file was deleted.

Binary file removed public/logos/beezee.png
Binary file not shown.
1 change: 0 additions & 1 deletion public/logos/bitcanna.svg

This file was deleted.

20 changes: 0 additions & 20 deletions public/logos/bitsong.svg

This file was deleted.

Binary file removed public/logos/bostrom.png
Binary file not shown.
Binary file removed public/logos/c4e.png
Binary file not shown.
Binary file removed public/logos/canto.png
Binary file not shown.
91 changes: 0 additions & 91 deletions public/logos/carbon.svg

This file was deleted.

Binary file removed public/logos/ccc.png
Binary file not shown.
Binary file removed public/logos/celestia.png
Binary file not shown.
Binary file removed public/logos/cerberus.png
Binary file not shown.
Binary file removed public/logos/cheqd.png
Binary file not shown.
Binary file removed public/logos/chihuahua.png
Binary file not shown.
Binary file removed public/logos/chronic-token.jpg
Binary file not shown.
Loading

0 comments on commit 2b95689

Please sign in to comment.