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

♻️ refactoring: rename okp4 by axone #616

Merged
merged 22 commits into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
64b0c5c
refactor(renaming): rename module and imports go
bdeneux May 2, 2024
34fd61b
refactor(renaming): rename binary command name
bdeneux May 2, 2024
1f023f5
refactor(renaming): rename command name in cobra config
bdeneux May 2, 2024
8afc79b
refactor(renaming): rename import in proto and regenerate it
bdeneux May 2, 2024
1d2c0bf
refactor(renaming): update all docs
bdeneux May 2, 2024
477e574
refactor(renaming): update some title on github action workflows
bdeneux May 2, 2024
7f28fd2
refactor(renaming): docker fil with new name
bdeneux May 2, 2024
ee88325
refactor(renaming): rename all okp4 adress in axone on tests
bdeneux May 3, 2024
47bb7f8
refactor(renaming): rename in starship folders
bdeneux May 3, 2024
68736e3
refactor(renaming): changelog, license and readme
bdeneux May 3, 2024
0515d1e
refactor(renaming): change package to axone-protocol
bdeneux May 3, 2024
88b9c92
refactor(renaming)!: change denom name from uknow to uaxone
bdeneux May 3, 2024
04ee5f1
docs(README): update narative about axone protocol
ccamel May 4, 2024
4ab2b38
feat(cli): update narative of axone command description
ccamel May 4, 2024
b95d66c
docs(cmd): update generated cmd docs
ccamel May 4, 2024
5f81989
refactor(renaming): update botanik github token
amimart May 14, 2024
81e5a24
refactor(renaming): update botanik ci git & gpg secrets
amimart May 14, 2024
d540182
refactor(renaming): update discord webhook secret
amimart May 14, 2024
54312c9
ci(release): disable commenting issues & prs after release
amimart May 14, 2024
862c12f
refactor(renaming): disable docker hub publish
amimart May 15, 2024
e135e9f
refactor(renaming): update realease notification ci
amimart May 15, 2024
7bfcf4e
build(docker): update apk deps
amimart May 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .github/workflows/add-to-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ jobs:
steps:
- uses: actions/[email protected]
with:
project-url: https://github.com/orgs/okp4/projects/9
github-token: ${{ secrets.OKP4_TOKEN }}
project-url: https://github.com/orgs/axone-protocol/projects/2
github-token: ${{ secrets.OPS_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ jobs:
uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
target: patch
github-token: ${{ secrets.OKP4_TOKEN }}
github-token: ${{ secrets.OPS_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/follow-contributor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ jobs:
uses: okp4/[email protected]
with:
username: ${{ github.event.pull_request.user.login }}
token: ${{ secrets.OKP4_TOKEN }}
token: ${{ secrets.OPS_TOKEN }}
20 changes: 10 additions & 10 deletions .github/workflows/notify-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Notify Discord
uses: fjogeleit/http-request-action@v1
with:
url: ${{ secrets.OKP4_DISCORD_WEBHOOK }}
url: ${{ secrets.DISCORD_WEBHOOK }}
method: 'POST'
customHeaders: '{"Content-Type": "application/json"}'
data: |-
Expand All @@ -27,9 +27,9 @@ jobs:
- name: Update modules docs repository
uses: fjogeleit/http-request-action@v1
with:
url: 'https://api.github.com/repos/okp4/docs/actions/workflows/39152549/dispatches'
url: 'https://api.github.com/repos/axone-protocol/docs/actions/workflows/39152549/dispatches'
method: 'POST'
customHeaders: '{"Accept": "application/vnd.github+json", "Authorization": "Bearer ${{ secrets.OKP4_TOKEN }}"}'
customHeaders: '{"Accept": "application/vnd.github+json", "Authorization": "Bearer ${{ secrets.OPS_TOKEN }}"}'
data: |-
{
"ref": "main",
Expand All @@ -44,9 +44,9 @@ jobs:
- name: Update commands docs repository
uses: fjogeleit/http-request-action@v1
with:
url: 'https://api.github.com/repos/okp4/docs/actions/workflows/39152549/dispatches'
url: 'https://api.github.com/repos/axone-protocol/docs/actions/workflows/39152549/dispatches'
method: 'POST'
customHeaders: '{"Accept": "application/vnd.github+json", "Authorization": "Bearer ${{ secrets.OKP4_TOKEN }}"}'
customHeaders: '{"Accept": "application/vnd.github+json", "Authorization": "Bearer ${{ secrets.OPS_TOKEN }}"}'
data: |-
{
"ref": "main",
Expand All @@ -61,9 +61,9 @@ jobs:
- name: Update predicates docs repository
uses: fjogeleit/http-request-action@v1
with:
url: 'https://api.github.com/repos/okp4/docs/actions/workflows/39152549/dispatches'
url: 'https://api.github.com/repos/axone-protocol/docs/actions/workflows/39152549/dispatches'
method: 'POST'
customHeaders: '{"Accept": "application/vnd.github+json", "Authorization": "Bearer ${{ secrets.OKP4_TOKEN }}"}'
customHeaders: '{"Accept": "application/vnd.github+json", "Authorization": "Bearer ${{ secrets.OPS_TOKEN }}"}'
data: |-
{
"ref": "main",
Expand All @@ -81,13 +81,13 @@ jobs:
- name: Update docs version
uses: fjogeleit/http-request-action@v1
with:
url: 'https://api.github.com/repos/okp4/docs/actions/workflows/37674835/dispatches'
url: 'https://api.github.com/repos/axone-protocol/docs/actions/workflows/37674835/dispatches'
method: 'POST'
customHeaders: '{"Accept": "application/vnd.github+json", "Authorization": "Bearer ${{ secrets.OKP4_TOKEN }}"}'
customHeaders: '{"Accept": "application/vnd.github+json", "Authorization": "Bearer ${{ secrets.OPS_TOKEN }}"}'
data: |-
{
"ref": "main",
"inputs": {
"okp4dVersion": "${{ github.event.release.tag_name }}"
"axonedVersion": "${{ github.event.release.tag_name }}"
}
}
50 changes: 25 additions & 25 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
id: docker_metadata
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository }},${{ github.repository }}
images: ghcr.io/${{ github.repository }}
tags: |
type=raw,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }},value=nightly
type=semver,pattern={{version}}
Expand Down Expand Up @@ -54,30 +54,30 @@ jobs:
tags: ${{ steps.docker_metadata.outputs.tags }}
labels: ${{ steps.docker_metadata.outputs.labels }}

dockerhub-description:
runs-on: ubuntu-22.04
steps:
- name: Check out repository
uses: actions/checkout@v4
with:
fetch-depth: 2

- name: Find change in readme file
id: readme-change
uses: tj-actions/[email protected]
with:
files: |
README.md

- name: Docker Hub Description
if: steps.readme-change.outputs.any_changed == 'true'
uses: peter-evans/dockerhub-description@v4
with:
username: ${{ secrets.DOCKER_HUB_REGISTRY_ID }}
description: Docker image for https://github.com/okp4/okp4d
password: ${{ secrets.DOCKER_HUB_REGISTRY_TOKEN }}
repository: okp4/okp4d
readme-filepath: README.md
# dockerhub-description:
# runs-on: ubuntu-22.04
# steps:
# - name: Check out repository
# uses: actions/checkout@v4
# with:
# fetch-depth: 2
#
# - name: Find change in readme file
# id: readme-change
# uses: tj-actions/[email protected]
# with:
# files: |
# README.md
#
# - name: Docker Hub Description
# if: steps.readme-change.outputs.any_changed == 'true'
# uses: peter-evans/dockerhub-description@v4
# with:
# username: ${{ secrets.DOCKER_HUB_REGISTRY_ID }}
# description: Docker image for https://github.com/okp4/okp4d
# password: ${{ secrets.DOCKER_HUB_REGISTRY_TOKEN }}
# repository: okp4/okp4d
# readme-filepath: README.md

publish-buf-proto:
runs-on: ubuntu-20.04
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ jobs:
- name: Check out repository
uses: actions/checkout@v4
with:
token: ${{ secrets.OKP4_TOKEN }}
token: ${{ secrets.OPS_TOKEN }}

- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.OKP4_BOT_GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.OKP4_BOT_GPG_PASSPHRASE }}
gpg_private_key: ${{ secrets.BOT_GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.BOT_GPG_PASSPHRASE }}
git_config_global: true
git_user_signingkey: true
git_commit_gpgsign: true
Expand All @@ -59,8 +59,8 @@ jobs:
extends: |
[email protected]
env:
GITHUB_TOKEN: ${{ secrets.OKP4_TOKEN }}
GIT_AUTHOR_NAME: ${{ secrets.OKP4_BOT_GIT_AUTHOR_NAME }}
GIT_AUTHOR_EMAIL: ${{ secrets.OKP4_BOT_GIT_AUTHOR_EMAIL }}
GIT_COMMITTER_NAME: ${{ secrets.OKP4_BOT_GIT_COMMITTER_NAME }}
GIT_COMMITTER_EMAIL: ${{ secrets.OKP4_BOT_GIT_COMMITTER_EMAIL }}
GITHUB_TOKEN: ${{ secrets.OPS_TOKEN }}
GIT_AUTHOR_NAME: ${{ vars.BOT_GIT_AUTHOR_NAME }}
GIT_AUTHOR_EMAIL: ${{ vars.BOT_GIT_AUTHOR_EMAIL }}
GIT_COMMITTER_NAME: ${{ vars.BOT_GIT_COMMITTER_NAME }}
GIT_COMMITTER_EMAIL: ${{ vars.BOT_GIT_COMMITTER_EMAIL }}
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
with:
go-version: "1.21"

- name: Install OKP4 blockchain
- name: Install AXONE blockchain
run: |
make build && make install

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/thank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ jobs:
-v $(pwd):/home \
psampaz/gothanks:v0.4.0 \
-y \
-github-token=${{ secrets.OKP4_TOKEN }}
-github-token=${{ secrets.OPS_TOKEN }}
6 changes: 3 additions & 3 deletions .github/workflows/update-draft-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
with:
url: 'https://api.github.com/repos/okp4/docs/actions/workflows/39152549/dispatches'
method: 'POST'
customHeaders: '{"Accept": "application/vnd.github+json", "Authorization": "Bearer ${{ secrets.OKP4_TOKEN }}"}'
customHeaders: '{"Accept": "application/vnd.github+json", "Authorization": "Bearer ${{ secrets.OPS_TOKEN }}"}'
data: |-
{
"ref": "main",
Expand All @@ -31,7 +31,7 @@ jobs:
with:
url: 'https://api.github.com/repos/okp4/docs/actions/workflows/39152549/dispatches'
method: 'POST'
customHeaders: '{"Accept": "application/vnd.github+json", "Authorization": "Bearer ${{ secrets.OKP4_TOKEN }}"}'
customHeaders: '{"Accept": "application/vnd.github+json", "Authorization": "Bearer ${{ secrets.OPS_TOKEN }}"}'
data: |-
{
"ref": "main",
Expand All @@ -49,7 +49,7 @@ jobs:
with:
url: 'https://api.github.com/repos/okp4/docs/actions/workflows/39152549/dispatches'
method: 'POST'
customHeaders: '{"Accept": "application/vnd.github+json", "Authorization": "Bearer ${{ secrets.OKP4_TOKEN }}"}'
customHeaders: '{"Accept": "application/vnd.github+json", "Authorization": "Bearer ${{ secrets.OPS_TOKEN }}"}'
data: |-
{
"ref": "main",
Expand Down
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ linters-settings:
- prefix(github.com/cosmos/cosmos-sdk) # cosmos-sdk & cosmos org libs
- prefix(github.com/cosmos/interchain-security) # interchain-security
- prefix(github.com/cosmos/ibc-go) # ibc
- prefix(github.com/okp4/okp4d) # okp4
- prefix(github.com/axone-protocol/axoned) # axone
custom-order: true

cyclop:
Expand Down
11 changes: 6 additions & 5 deletions .releaserc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,12 @@ plugins:
- prepareCmd: |
make release-assets
- - "@semantic-release/github"
- assets:
- path: "./target/release/okp4d-*-linux-amd64"
- path: "./target/release/okp4d-*-linux-amd64.tar.gz"
- path: "./target/release/okp4d-*-linux-arm64"
- path: "./target/release/okp4d-*-linux-arm64.tar.gz"
- successComment: false
assets:
- path: "./target/release/axoned-*-linux-amd64"
- path: "./target/release/axoned-*-linux-amd64.tar.gz"
- path: "./target/release/axoned-*-linux-arm64"
- path: "./target/release/axoned-*-linux-arm64.tar.gz"
- path: "./target/release/sha256sum.txt"
- - "@semantic-release/git"
- assets:
Expand Down
Loading
Loading