Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
## 🛠️  Upgrades

- Pfm migration
   - PR: #176

## What's Changed
* Open up cors on the xion testnet docker build by @justinbarry in #140
* remove dependabot by @ash-burnt in #143
* AA Signature by @edjroz in #131
* JWT Integration Test by @ash-burnt in #129
* Fix `xiond export` by @froch in #162
* Point upgrades of cosmos/wasm/ibc dependencies by @ash-burnt in #159
* Trigger GH workflows on tags by @froch in #169
* Fix Docker build by @froch in #170
* Fix wasmvm version and checksums by @froch in #171
* query endpoints for webauthn validation by @ash-burnt in #147
* JWK Module + JWT Verification by @ash-burnt in #158
* ACL  by @ash-burnt in #164
* Pfm migration  by @edjroz in #176

**Full Changelog**: v3.1.0...v3.1.1
  • Loading branch information
2xburnt committed Dec 21, 2024
1 parent c415a6d commit de91248
Show file tree
Hide file tree
Showing 111 changed files with 11,225 additions and 1,977 deletions.
45 changes: 0 additions & 45 deletions .github/dependabot.yml

This file was deleted.

53 changes: 26 additions & 27 deletions .github/workflows/aws-ecr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
push:
branches:
- main
tags:
- '*'
workflow_dispatch:

jobs:
Expand All @@ -16,43 +18,40 @@ jobs:

steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v2
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1

- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1

- name: Compute short SHA
id: vars
run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
uses: aws-actions/amazon-ecr-login@v2

- name: Check short SHA
run: echo ${{ steps.vars.outputs.sha_short }}
- name: Set up docker buildx
uses: docker/setup-buildx-action@v3

- name: Install Skaffold
run: |
curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/latest/skaffold-linux-amd64 && \
sudo install skaffold /usr/local/bin/
skaffold version
- name: Extract metadata for docker
id: meta
uses: docker/metadata-action@v5
with:
images: 385156030167.dkr.ecr.us-east-1.amazonaws.com/burnt/xiond
tags: |
type=semver,pattern={{version}},priority=1000
type=sha,priority=700
- name: Cache skaffold image builds & config
uses: actions/cache@v3
- name: Build and push docker image
uses: docker/build-push-action@v5
with:
path: ~/.skaffold/
key: sha-${{ steps.vars.outputs.sha_short }}
restore-keys: |
sha-${{ steps.vars.outputs.sha_short }}
sha-
- name: Build, tag, and push image to Amazon ECR
env:
IMAGE_TAG: sha-${{ steps.vars.outputs.sha_short }}
run: |
skaffold build
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
cache-from: type=gha
cache-to: type=gha,mode=max
target: xion-release
64 changes: 56 additions & 8 deletions .github/workflows/docker-hub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,41 +5,89 @@ on:
push:
branches:
- main
tags:
- '*'
workflow_dispatch:

jobs:
release:

build:
name: Build Image
runs-on: ubuntu-latest
environment: CI

steps:
- name: Checkout
uses: actions/checkout@v3
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true

- name: Login to Docker Hub
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}

- name: Set up docker buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Extract metadata for docker
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: burntnetwork/xion
tags: |
type=semver,pattern={{version}},priority=1000
type=sha,priority=700
- name: Build and push docker image
uses: docker/build-push-action@v4
- name: Build and push release docker image
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
cache-from: type=gha
cache-to: type=gha,mode=max
target: xion-release

build-dev:
name: Build Dev Image
runs-on: ubuntu-latest
environment: CI

steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}

- name: Set up docker buildx
uses: docker/setup-buildx-action@v3

- name: Extract metadata for docker
id: meta
uses: docker/metadata-action@v5
with:
images: burntnetwork/xion
tags: |
type=semver,priority=1000,pattern=dev-{{version}}
type=sha,priority=700,suffix=-dev
type=raw,priority=500,value=dev
- name: Build and push local dev docker image
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
cache-from: type=gha
cache-to: type=gha,mode=max
target: xion-dev
22 changes: 13 additions & 9 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: container-login
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: labels
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-heighliner
tags: |
Expand Down Expand Up @@ -71,23 +71,27 @@ jobs:
- "MintModuleNoInflationNoFees"
- "MintModuleInflationHighFees"
- "MintModuleInflationLowFees"
- "JWTAbstractAccount"
- "XionSendPlatformFee"
- "XionAbstractAccount"
- "WebAuthNAbstractAccount"

steps:
- name: Set up Go 1.18
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
go-version: ^1.18
go-version: ^1.21
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: container-login
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: docker xion metadata
id: meta-xion
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}-heighliner
- name: pull xion image
Expand Down
Loading

0 comments on commit de91248

Please sign in to comment.