Skip to content

Commit

Permalink
Move node-ui to audius-d (#6823)
Browse files Browse the repository at this point in the history
Co-authored-by: endline <endline>
  • Loading branch information
endline authored Dec 5, 2023
1 parent cd431cb commit 37b8a6a
Show file tree
Hide file tree
Showing 88 changed files with 0 additions and 62,307 deletions.
3 changes: 0 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -361,15 +361,13 @@ workflows:
packages/identity-service/.* run-integration-workflow true
eth-contracts/.* run-eth-contracts-workflow true
monitoring/healthz/.* run-healthz-workflow true
monitoring/uptime/node-ui/.* run-d-ui-workflow true
protocol-dashboard/.* run-protocol-dashboard-workflow true
contracts/.* run-contracts-workflow true
.circleci/.* run-discovery-workflow true
.circleci/.* run-creator-workflow true
.circleci/.* run-identity-workflow true
.circleci/.* run-eth-contracts-workflow true
.circleci/.* run-protocol-dashboard-workflow true
.circleci/.* run-d-ui-workflow true
.circleci/.* run-healthz-workflow true
.circleci/.* run-contracts-workflow true
.circleci/.* run-sdk-workflow true
Expand Down Expand Up @@ -442,7 +440,6 @@ workflows:
packages/web/.* run-web-workflow true
packages/embed/.* run-embed-workflow true
protocol-dashboard/.* run-protocol-dashboard-workflow true
monitoring/uptime/node-ui/.* run-d-ui-workflow true
monitoring/healthz/.* run-healthz-workflow true
requires:
- generate-config
Expand Down
3 changes: 0 additions & 3 deletions .circleci/src/@continue_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,6 @@ parameters:
run-protocol-dashboard-workflow:
type: boolean
default: false
run-d-ui-workflow:
type: boolean
default: false
run-healthz-workflow:
type: boolean
default: false
Expand Down
40 changes: 0 additions & 40 deletions .circleci/src/jobs/@d-ui-jobs.yml

This file was deleted.

3 changes: 0 additions & 3 deletions .circleci/src/workflows/d-ui.yml

This file was deleted.

18 changes: 0 additions & 18 deletions monitoring/uptime/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,33 +1,15 @@
# Stage 1: Build the React app
FROM node:18-alpine as react-builder

# The bufferutil package needs python
RUN apk add --no-cache python3 make g++

ENV UPTIME_BASE_URL="/d/"
WORKDIR /app
COPY node-ui/package.json node-ui/package-lock.json ./node-ui/
RUN npm install --prefix node-ui

COPY node-ui/ ./node-ui/
RUN npm run build --prefix node-ui

# Stage 2: Build the Go binary
FROM golang:1.21.4-alpine AS go-builder

WORKDIR /app

# Cache deps before copying source and building
COPY go.mod go.sum ./
RUN go mod download

COPY . .
RUN CGO_ENABLED=0 go build -o /uptime

# Stage 3: Copy the binary and static assets to a minimal final image
FROM alpine:3.18.4 AS final
RUN apk add --no-cache curl
COPY --from=go-builder /uptime /bin/uptime
COPY --from=react-builder /app/node-ui/dist /app/node-ui/dist

ENTRYPOINT ["/bin/uptime"]
32 changes: 0 additions & 32 deletions monitoring/uptime/node-ui/.env.stage.local

This file was deleted.

31 changes: 0 additions & 31 deletions monitoring/uptime/node-ui/.eslintrc.cjs

This file was deleted.

27 changes: 0 additions & 27 deletions monitoring/uptime/node-ui/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion monitoring/uptime/node-ui/.nvmrc

This file was deleted.

5 changes: 0 additions & 5 deletions monitoring/uptime/node-ui/.prettierrc.cjs

This file was deleted.

5 changes: 0 additions & 5 deletions monitoring/uptime/node-ui/.vscode/settings.json

This file was deleted.

7 changes: 0 additions & 7 deletions monitoring/uptime/node-ui/README.md

This file was deleted.

16 changes: 0 additions & 16 deletions monitoring/uptime/node-ui/index.html

This file was deleted.

Loading

0 comments on commit 37b8a6a

Please sign in to comment.