Skip to content

Commit

Permalink
protobuf compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Zaikin committed Jan 4, 2024
1 parent e79b078 commit 230e180
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/kernel.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build & deploy DSN kernel
name: DSN operator

on:
push:
Expand All @@ -12,7 +12,7 @@ on:

jobs:
build:
name: Build and push docker images
name: Build and push DSN operator images
runs-on: ubuntu-latest
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
Expand All @@ -34,13 +34,13 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: DSN operator tags & labels
- name: Tag and label image
id: meta-dsn-operator
uses: docker/metadata-action@v3
with:
images: ${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_IMAGE_BASE }}/operator

- name: DSN operator build & push
- name: Build and push image
uses: docker/build-push-action@v2
with:
context: .
Expand All @@ -56,7 +56,7 @@ jobs:

deploy:
if: (github.event_name == 'pull_request' && github.event.pull_request.draft == false) || (github.event_name == 'push' && github.ref == 'refs/heads/master')
name: Deploy DSN kernel to testnet
name: Deploy DSN rollup to testnet
needs: build
runs-on: ubuntu-latest
env:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/sequencer.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build DSN nodes
name: DSN sequencer

on:
push:
Expand All @@ -12,7 +12,7 @@ on:

jobs:
build:
name: Build and push docker images
name: Build and push sequencer nodes image
runs-on: ubuntu-latest
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
Expand All @@ -32,13 +32,13 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: DSN image tags & labels
- name: Tags and label image
id: meta-sequencer
uses: docker/metadata-action@v3
with:
images: ${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_IMAGE_BASE }}/sequencer

- name: DSN image build & push
- name: Build and push image
uses: docker/build-push-action@v2
with:
context: .
Expand Down
2 changes: 1 addition & 1 deletion docker/operator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ ARG OCTEZ_TAG
FROM tezos/tezos:${OCTEZ_TAG} AS octez

FROM rust:slim-buster AS builder
RUN apt update && apt install -y wget make libc-dev clang
RUN apt update && apt install -y wget make libc-dev clang protobuf-compiler
RUN rustup target add wasm32-unknown-unknown
WORKDIR /build
COPY Makefile ./
Expand Down
2 changes: 1 addition & 1 deletion docker/sequencer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM rust:1.73-bullseye AS builder
ARG PROFILE=release
WORKDIR /build
RUN apt-get update && apt-get install -y cmake clang
RUN apt-get update && apt-get install -y cmake clang protobuf-compiler
COPY . ./
RUN cargo build --profile ${PROFILE} --bin narwhal-node
RUN cargo build --profile ${PROFILE} --bin sequencer
Expand Down
2 changes: 2 additions & 0 deletions docker/setup/single-operator/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# DSN setup: 4 validators + 1 operator

Empty file.

0 comments on commit 230e180

Please sign in to comment.