Skip to content

Commit

Permalink
Rename laconic2d to laconicd (cerc-io#26)
Browse files Browse the repository at this point in the history
Part of https://www.notion.so/Rename-laconic2d-to-laconicd-9028d0c020d24d1288e92ebcb773d7a7

Co-authored-by: neeraj <[email protected]>
Reviewed-on: https://git.vdb.to/cerc-io/laconic2d/pulls/26
Co-authored-by: Prathamesh Musale <[email protected]>
Co-committed-by: Prathamesh Musale <[email protected]>
  • Loading branch information
2 people authored and nabarun committed Apr 1, 2024
1 parent 1956161 commit 213c390
Show file tree
Hide file tree
Showing 129 changed files with 1,053 additions and 1,049 deletions.
10 changes: 5 additions & 5 deletions .gitea/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,20 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Run docker build
run: docker build -t cerc-io/laconic2d -f Dockerfile .
run: docker build -t cerc-io/laconicd -f Dockerfile .
- name: Get the version
id: vars
run: |
echo ::set-output name=sha::$(echo ${GITHUB_SHA:0:7})
echo ::set-output name=tag::$(echo ${GITHUB_REF#refs/tags/})
- name: Tag docker image
run: docker tag cerc-io/laconic2d git.vdb.to/cerc-io/laconic2d/laconic2d:${{steps.vars.outputs.sha}}
run: docker tag cerc-io/laconicd git.vdb.to/cerc-io/laconicd/laconicd:${{steps.vars.outputs.sha}}
- name: Tag docker image
run: docker tag git.vdb.to/cerc-io/laconic2d/laconic2d:${{steps.vars.outputs.sha}} git.vdb.to/cerc-io/laconic2d/laconic2d:${{steps.vars.outputs.tag}}
run: docker tag git.vdb.to/cerc-io/laconicd/laconicd:${{steps.vars.outputs.sha}} git.vdb.to/cerc-io/laconicd/laconicd:${{steps.vars.outputs.tag}}
- name: Docker Login
run: echo ${{ secrets.CICD_PUBLISH_TOKEN }} | docker login https://git.vdb.to -u cerccicd --password-stdin
- name: Docker Push
run: docker push git.vdb.to/cerc-io/laconic2d/laconic2d:${{steps.vars.outputs.sha}}
run: docker push git.vdb.to/cerc-io/laconicd/laconicd:${{steps.vars.outputs.sha}}
- name: Docker Push TAGGED
run: docker push git.vdb.to/cerc-io/laconic2d/laconic2d:${{steps.vars.outputs.tag}}
run: docker push git.vdb.to/cerc-io/laconicd/laconicd:${{steps.vars.outputs.tag}}

4 changes: 2 additions & 2 deletions .gitea/workflows/test-sdk-auction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
- name: Environment
run: ls -tlh && env

- name: Build laconic2d container
- name: Build laconicd container
working-directory: tests/sdk_tests
run: ./build-laconic2d-container.sh
run: ./build-laconicd-container.sh

- name: Build sdk container
working-directory: registry-sdk
Expand Down
4 changes: 2 additions & 2 deletions .gitea/workflows/test-sdk-nameservice.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
- name: Environment
run: ls -tlh && env

- name: Build laconic2d container
- name: Build laconicd container
working-directory: tests/sdk_tests
run: ./build-laconic2d-container.sh
run: ./build-laconicd-container.sh

- name: Build sdk container
working-directory: registry-sdk
Expand Down
4 changes: 2 additions & 2 deletions .gitea/workflows/test-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
- name: Environment
run: ls -tlh && env

- name: Build laconic2d container
- name: Build laconicd container
working-directory: tests/sdk_tests
run: ./build-laconic2d-container.sh
run: ./build-laconicd-container.sh

- name: Build sdk container
working-directory: registry-sdk
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM golang:alpine AS build-env
RUN apk add --update git build-base linux-headers

# Set working directory for the build
WORKDIR /go/src/git.vdb.to/cerc-io/laconic2d
WORKDIR /go/src/git.vdb.to/cerc-io/laconicd

# Cache Go modules
COPY go.mod go.sum ./
Expand All @@ -23,9 +23,9 @@ FROM alpine:3.17.0
RUN apk add --update ca-certificates jq curl

# Copy over binaries from the build-env
COPY --from=build-env /go/src/git.vdb.to/cerc-io/laconic2d/build/laconic2d /usr/bin/laconic2d
COPY --from=build-env /go/src/git.vdb.to/cerc-io/laconicd/build/laconicd /usr/bin/laconicd

WORKDIR /

# Run laconic2d by default
CMD ["laconic2d"]
# Run laconicd by default
CMD ["laconicd"]
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

DOCKER := $(shell which docker)

LACONIC_BINARY = laconic2d
LACONIC_BINARY = laconicd

BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
COMMIT := $(shell git log -1 --format='%H')
Expand Down Expand Up @@ -42,7 +42,7 @@ build-linux:
GOOS=linux GOARCH=amd64 LEDGER_ENABLED=false $(MAKE) build

$(BUILD_TARGETS): go.sum $(BUILDDIR)/
@echo "--> installing laconic2d"
@echo "--> installing laconicd"
go $@ $(BUILD_FLAGS) $(BUILD_ARGS) ./...

$(BUILDDIR)/:
Expand Down
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ The Source of Proof. Laconic is a next generation data availability & verifiabil

## Installation

Install `laconic2d`:
Install `laconicd`:

```bash
# install the laconic2d binary
# install the laconicd binary
make install
```

Expand All @@ -38,3 +38,10 @@ Run tests:
# e2e tests
make test-e2e
```

## Community

The following chat channels and forums are a great spot to ask questions about Laconic:

- [Laconic Twitter](https://twitter.com/laconicnetwork)
- [Website](https://laconic.com)
38 changes: 19 additions & 19 deletions api/cerc/auction/module/v1/module.pulsar.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 11 additions & 11 deletions api/cerc/auction/v1/auction.pulsar.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 11 additions & 12 deletions api/cerc/auction/v1/genesis.pulsar.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 11 additions & 11 deletions api/cerc/auction/v1/query.pulsar.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 11 additions & 11 deletions api/cerc/auction/v1/tx.pulsar.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 213c390

Please sign in to comment.