diff --git a/Dockerfile b/Dockerfile index 94dec57605de..d59d084de3f6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,10 +23,21 @@ WORKDIR /go/src/github.com/cosmos/cosmos-sdk # optimization: if go.sum didn't change, docker will use cached image COPY go.mod go.sum ./ +COPY math/go.mod math/go.sum ./math/ +COPY api/go.mod api/go.sum ./api/ +COPY core/go.mod core/go.sum ./core/ COPY collections/go.mod collections/go.sum ./collections/ COPY store/go.mod store/go.sum ./store/ -COPY log/go.mod log/go.sum ./log/ - +COPY x/tx/go.mod x/tx/go.sum /x/tx/ +COPY x/protocolpool/go.mod x/protocolpool/go.sum ./x/protocolpool/ +COPY x/gov/go.mod x/gov/go.sum ./x/gov/ +COPY x/distribution/go.mod x/distribution/go.sum ./x/distribution/ +COPY x/slashing/go.mod x/slashing/go.sum ./x/slashing/ +COPY x/staking/go.mod x/staking/go.sum ./x/staking/ +COPY x/auth/go.mod x/auth/go.sum ./x/auth/ +COPY x/authz/go.mod x/authz/go.sum ./x/authz/ +COPY x/bank/go.mod x/bank/go.sum ./x/bank/ +COPY x/mint/go.mod x/mint/go.sum ./x/mint/ RUN go mod download # Add source files diff --git a/RELEASE_PROCESS.md b/RELEASE_PROCESS.md index d9b13a4fbe0c..acf6db745794 100644 --- a/RELEASE_PROCESS.md +++ b/RELEASE_PROCESS.md @@ -29,11 +29,12 @@ v1.0.0-beta1 → v1.0.0-beta2 → ... → v1.0.0-rc1 → v1.0.0-rc2 → ... → * Create release notes, in `RELEASE_NOTES.md`, highlighting the new features and changes in the version. This is needed so the bot knows which entries to add to the release page on GitHub. * Additionally verify that the `UPGRADING.md` file is up to date and contains all the necessary information for upgrading to the new version. * Remove GitHub workflows that should not be in the release branch - * `deploy-docs.yml`: must be removed to avoid duplicate documentation deployment. - * `test.yml`: All standalone go module tests should be removed (expect `./simapp`, and `./tests` and SDK tests). + * `test.yml`: All standalone go module tests should be removed (expect `./simapp`, and `./tests`, SDK and modules tests). * These packages are tracked and tested directly on main. * `build.yml`: Only the SDK and SimApp needs to be built on release branches. * Tooling is tracked and tested directly on main. + * This does not apply for tooling depending on the SDK (e.g. `confix`) + * Update `Dockerfile` to not use latest go.mod and go.sum files. * Create a new annotated git tag for a release candidate (eg: `git tag -a v1.1.0-rc1`) in the release branch. * from this point we unfreeze main. * the SDK teams collaborate and do their best to run testnets in order to validate the release. diff --git a/contrib/images/simd-dlv/Dockerfile b/contrib/images/simd-dlv/Dockerfile index 11c61245fc68..ab51e94543fc 100644 --- a/contrib/images/simd-dlv/Dockerfile +++ b/contrib/images/simd-dlv/Dockerfile @@ -5,14 +5,11 @@ RUN go install github.com/go-delve/delve/cmd/dlv@latest WORKDIR /work COPY go.mod go.sum /work/ -COPY errors/go.mod errors/go.sum /work/errors/ COPY math/go.mod math/go.sum /work/math/ COPY api/go.mod api/go.sum /work/api/ COPY core/go.mod core/go.sum /work/core/ -COPY depinject/go.mod depinject/go.sum /work/depinject/ COPY collections/go.mod collections/go.sum /work/collections/ COPY store/go.mod store/go.sum /work/store/ -COPY log/go.mod log/go.sum /work/log/ COPY x/tx/go.mod x/tx/go.sum /work/x/tx/ RUN go mod download diff --git a/contrib/images/simd-env/Dockerfile b/contrib/images/simd-env/Dockerfile index 24c196124a16..e7f78db0983f 100644 --- a/contrib/images/simd-env/Dockerfile +++ b/contrib/images/simd-env/Dockerfile @@ -4,14 +4,11 @@ RUN apk add build-base git linux-headers WORKDIR /work COPY go.mod go.sum /work/ -COPY errors/go.mod errors/go.sum /work/errors/ COPY math/go.mod math/go.sum /work/math/ COPY api/go.mod api/go.sum /work/api/ COPY core/go.mod core/go.sum /work/core/ -COPY depinject/go.mod depinject/go.sum /work/depinject/ COPY collections/go.mod collections/go.sum /work/collections/ COPY store/go.mod store/go.sum /work/store/ -COPY log/go.mod log/go.sum /work/log/ COPY x/tx/go.mod x/tx/go.sum /work/x/tx/ COPY x/protocolpool/go.mod x/protocolpool/go.sum /work/x/protocolpool/ COPY x/gov/go.mod x/gov/go.sum /work/x/gov/