Skip to content

Commit

Permalink
[Migration] FINAL v0.47.x ==> v0.50.x (#396)
Browse files Browse the repository at this point in the history
Co-authored-by: h5law <[email protected]>
Co-authored-by: Dima Kniazev <[email protected]>
Co-authored-by: Redouane Lakrache <[email protected]>
Co-authored-by: Daniel Olshansky <[email protected]>
Co-authored-by: h5law <[email protected]>
  • Loading branch information
6 people authored Feb 23, 2024
1 parent 474bc29 commit e0dcc5f
Show file tree
Hide file tree
Showing 577 changed files with 93,954 additions and 76,041 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/main-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
# TODO_TECHDEBT: upgrade to the latest Ignite (the latest at the moment of creating a note is 0.28). Need to downgrade to fix CI pipelines. Might be done in scope of #240.
run: |
# curl https://get.ignite.com/cli! | bash
wget https://github.com/ignite/cli/releases/download/v0.27.2/ignite_0.27.2_linux_amd64.tar.gz
tar -xzf ignite_0.27.2_linux_amd64.tar.gz
wget https://github.com/ignite/cli/releases/download/v28.2.0/ignite_28.2.0_linux_amd64.tar.gz
tar -xzf ignite_28.2.0_linux_amd64.tar.gz
sudo mv ignite /usr/local/bin/ignite
ignite version
Expand All @@ -29,7 +29,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.20.10"
go-version: "1.21.6"

- name: Install CI dependencies
run: make install_ci_deps
Expand Down Expand Up @@ -103,11 +103,11 @@ jobs:
sparse-checkout: |
.github
- id: 'auth'
name: 'Authenticate to Google Cloud'
uses: 'google-github-actions/auth@v1'
- id: "auth"
name: "Authenticate to Google Cloud"
uses: "google-github-actions/auth@v1"
with:
credentials_json: '${{ secrets.GKE_PROTOCOL_US_CENTRAL }}'
credentials_json: "${{ secrets.GKE_PROTOCOL_US_CENTRAL }}"

- uses: google-github-actions/get-gke-credentials@v1
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,5 @@ jobs:
reporter: github-check
level: warning
locale: "US"

# TODO_IMPROVE: Enforce using k.Logger() when logging in the `x/` directory code.
6 changes: 3 additions & 3 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
# TODO_TECHDEBT: upgrade to the latest Ignite (the latest at the moment of creating a note is 0.28). Need to downgrade to fix CI pipelines. Might be done in scope of #240.
run: |
# curl https://get.ignite.com/cli! | bash
wget https://github.com/ignite/cli/releases/download/v0.27.2/ignite_0.27.2_linux_amd64.tar.gz
tar -xzf ignite_0.27.2_linux_amd64.tar.gz
wget https://github.com/ignite/cli/releases/download/v28.2.0/ignite_28.2.0_linux_amd64.tar.gz
tar -xzf ignite_28.2.0_linux_amd64.tar.gz
sudo mv ignite /usr/local/bin/ignite
ignite version
Expand All @@ -33,7 +33,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.20.10"
go-version: "1.21.6"

- name: Install CI dependencies
run: make install_ci_deps
Expand Down
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@ localnet/*/config/*.json
# Frontend utils
ts-client/

# Proto artifacts
**/*.pb.go
**/*.pb.gw.go

# Mock
**/*_mock.go

Expand All @@ -64,6 +60,10 @@ localnet_config.yaml
# `docusaurus/docs/infrastructure/localnet.md`, please do!
# Ref: https://stackoverflow.com/questions/4247068/sed-command-with-i-option-failing-on-mac-but-works-on-linux
localnet_config.yaml-e
# These are needed to ignore byproducts of `make proto_fix_self_import`
# Since sed functions different on macOS and Linux, we need to implement
# some workarounds by always using "sed -i'' -e" instead of just "sed -i -e".
api/poktroll/**/*.go-E

# Relase artifacts produced by `ignite chain build --release`
release
Expand Down
4 changes: 2 additions & 2 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Run `asdf plugin add golang` and `asdf install` to install the dependencies,
# and `asdf current` to switch to the versions of dependencies listed below
golang 1.20.10
go 1.20.10
golang 1.21.6
go 1.21.6
6 changes: 3 additions & 3 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# This Dockerfile is used to build container image for development purposes.
# It intentionally contains no security features, ships with code and troubleshooting tools.

FROM golang:1.20 as base
FROM golang:1.21.6 as base

RUN apt update && \
apt-get install -y \
ca-certificates net-tools kubernetes-client \
curl jq make vim less dnsutils
ca-certificates net-tools kubernetes-client \
curl jq make vim less dnsutils

# enable faster module downloading.
ENV GOPROXY https://proxy.golang.org
Expand Down
Loading

0 comments on commit e0dcc5f

Please sign in to comment.