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

Assets documentation updates, permissionless assets specification, assets CosmWasm interface and clean up of all old things #3777

Merged
merged 15 commits into from
Jul 13, 2023
Merged
Show file tree
Hide file tree
Changes from 11 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
7 changes: 3 additions & 4 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: Update benchmarks weights
name: benchmark

on:
workflow_dispatch:
# Benchmarks run on the main repo branches only.
pull_request:
types: [labeled]
branches:
Expand All @@ -13,8 +12,8 @@ env:
CACHIX_COMPOSABLE: composable-community

jobs:
update_benchmarks_weights:
name: Update benchmarks weights
update-benchmarks-weights:
name: update-benchmarks-weights
runs-on:
- self-hosted
- bmark
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -476,8 +476,8 @@ jobs:
push-docker-images:
name: push-docker-images
if: ${{ inputs.github_event_name == 'push' || (inputs.github_event_name == 'pull_request' && inputs.github_event_pull_request_head_repo_id == 383289760) }}
# needs:
# - draft-release-check
needs:
- draft-release-check
runs-on:
- x86_64-linux-32C-128GB-2TB
concurrency:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "build-test-deploy-flaky"
name: "release-docs"
on:
push:
branches:
Expand All @@ -25,93 +25,7 @@ env:
DOCKER_USER_OPTION: '$UID:$GID'

jobs:
test-subsquid:
name: test-subsquid [FLAKY]
strategy:
matrix:
arch: [x64-cute]
runs-on:
- self-hosted
- ${{ matrix.arch }}
concurrency:
group: ${{ github.workflow }}-test-subsquid-${{ matrix.arch }}-${{ github.event.pull_request.title }}
cancel-in-progress: true
steps:
- name: Set up Nix
uses: cachix/install-nix-action@daddc62a2e67d1decb56e028c9fa68344b9b7c2a # v18
with:
install_url: https://releases.nixos.org/nix/${{ env.NIX_VERSION }}/install
nix_path: nixpkgs=channel:${{ env.NIXPKGS_CHANNEL }}
extra_nix_config: |
sandbox = relaxed
narinfo-cache-negative-ttl = 0
system-features = kvm

- name: Set up Cachix
uses: cachix/cachix-action@298387a7aea14d6564aa5d6ead79272878339c8b # v12
with:
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
name: ${{ env.CACHIX_NAME }}
- name: Add tools needed for non-nix steps
run: |
nix-channel --add https://nixos.org/channels/${{ env.NIXPKGS_CHANNEL }} nixpkgs
nix-channel --update
nix-env -iA nixpkgs.cachix nixpkgs.nodejs nixpkgs.git nixpkgs.git-lfs nixpkgs.tree nixpkgs.docker nixpkgs.coreutils nixpkgs.gnumake nixpkgs.python311 nixpkgs.gcc
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
persist-credentials: false
- name: Setup jest
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: npm ci
working-directory: subsquid
- name: Run tests
run: npm run test
working-directory: subsquid

package-subsquid-processor:
name: package-subsquid-processor [FLAKY]
needs:
- test-subsquid
strategy:
matrix:
arch: [x64-cute]
runs-on:
- self-hosted
- ${{ matrix.arch }}
concurrency:
group: ${{ github.workflow }}-package-subsquid-processor-${{ matrix.arch }}-${{ github.event.pull_request.title }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
persist-credentials: false
- name: Log INFO commit sha
run: |
echo "GITHUB_SHA=${GITHUB_SHA} github.sha=${{ github.sha }}"
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
tags: |
${{ env.DOCKER_REGISTRY_NAME }}/subsquid-processor:latest
${{ env.DOCKER_REGISTRY_NAME }}/subsquid-processor:${{ github.sha }}
context: subsquid
# do release flow
push: ${{ github.event_name == 'push' && github.ref_name == 'main' }}

# this is not flaky!!!
deploy-docs:
name: "deploy-docs"
runs-on: ubuntu-latest
Expand Down
49 changes: 0 additions & 49 deletions .github/workflows/release-subsquid-processor.yml

This file was deleted.

6 changes: 0 additions & 6 deletions code/integration-tests/runtime-tests/.codeac.yml

This file was deleted.

18 changes: 0 additions & 18 deletions code/integration-tests/runtime-tests/.eslintrc.yml

This file was deleted.

Loading
Loading