Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kubo: release v0.22.0-rc1 #937

Merged
merged 2 commits into from
Jul 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/setup-ipfs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ runs:
- uses: ipfs/download-ipfs-distribution-action@v1
with:
name: go-ipfs
version: "${{ env.GO_IPFS_VER }}"
version: "${{ env.KUBO_VER }}"
- uses: ipfs/download-ipfs-distribution-action@v1
with:
name: ipfs-cluster-ctl
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ on:

env:
DIST_ROOT: ${{ github.event.inputs.custom_dist_root || '/ipns/dist.ipfs.tech' }} # content root used for calculating diff to build
GO_IPFS_VER: 'v0.15.0' # go-ipfs daemon used for chunking and applying diff
CLUSTER_CTL_VER: 'v1.0.4' # ipfs-cluster-ctl used for pinning
KUBO_VER: 'v0.21.0' # kubo daemon used for chunking and applying diff
CLUSTER_CTL_VER: 'v1.0.4' # ipfs-cluster-ctl used for pinning

jobs:
build:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ on:

env:
DIST_ROOT: ${{ github.event.inputs.custom_dist_root || '/ipns/dist.ipfs.tech' }} # content root used for calculating diff to build
GO_IPFS_VER: 'v0.15.0' # go-ipfs daemon used for chunking and applying diff
CLUSTER_CTL_VER: 'v1.0.4' # ipfs-cluster-ctl used for pinning
KUBO_VER: 'v0.21.0' # kubo daemon used for chunking and applying diff
CLUSTER_CTL_VER: 'v1.0.4' # ipfs-cluster-ctl used for pinning

concurrency:
group: nightly
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ FROM ubuntu:20.04
ENV DEBIAN_FRONTEND noninteractive
ARG USER_UID

ARG GO_IPFS_VER
ARG KUBO_VER
RUN apt-get update -q && apt-get install -y git curl gnupg jq build-essential gawk zip tzdata && \
ln -fs /usr/share/zoneinfo/Etc/UTC /etc/localtime && \
dpkg-reconfigure --frontend noninteractive tzdata
RUN curl -s "https://dist.ipfs.tech/go-ipfs/${GO_IPFS_VER}/go-ipfs_${GO_IPFS_VER}_linux-amd64.tar.gz" | tar vzx -C /usr/local/bin/ go-ipfs/ipfs --strip-components=1
RUN curl -s "https://dist.ipfs.tech/kubo/${KUBO_VER}/kubo_${KUBO_VER}_linux-amd64.tar.gz" | tar vzx -C /usr/local/bin/ kubo/ipfs --strip-components=1

RUN adduser --shell /bin/bash --home /asdf --disabled-password --gecos asdf asdf --uid $USER_UID
ENV PATH="${PATH}:/asdf/.asdf/shims:/asdf/.asdf/bin"
Expand Down
1 change: 1 addition & 0 deletions dists/go-ipfs/versions
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,4 @@ v0.21.0-rc1
v0.21.0-rc2
v0.21.0-rc3
v0.21.0
v0.22.0-rc1
1 change: 1 addition & 0 deletions dists/kubo/versions
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ v0.21.0-rc1
v0.21.0-rc2
v0.21.0-rc3
v0.21.0
v0.22.0-rc1
2 changes: 1 addition & 1 deletion dockerized
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ if [[ "$(docker images -q "$IMAGE_NAME:$IMAGE_TAG" 2> /dev/null)" == "" ]]; then
docker build . -t "$IMAGE_NAME:$IMAGE_TAG" \
--build-arg CACHEBUST="$IMAGE_TAG" \
--build-arg USER_UID="$(id -u "$USER")" \
--build-arg GO_IPFS_VER="${GO_IPFS_VER:-$(curl -s https://dist.ipfs.tech/go-ipfs/versions | tail -n 1)}" # match http api client version on CI
--build-arg KUBO_VER="${KUBO_VER:-$(curl -s https://dist.ipfs.tech/kubo/versions | tail -n 1)}" # match http api client version on CI

fi

Expand Down