remove Fly Deploy and release.yml
This commit is contained in:
parent
b17800eb8d
commit
c61050d2f4
|
@ -1,31 +0,0 @@
|
|||
name: Deploy to Fly
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["Publish Docker Image"]
|
||||
branches: [production]
|
||||
types:
|
||||
- completed
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
imageTag:
|
||||
description: 'Docker Image Tag'
|
||||
required: true
|
||||
type: string
|
||||
default: 'latest'
|
||||
|
||||
env:
|
||||
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Fly
|
||||
uses: superfly/flyctl-actions/setup-flyctl@master
|
||||
|
||||
- name: Deploy
|
||||
run: flyctl deploy
|
|
@ -1,65 +0,0 @@
|
|||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v*'
|
||||
pull_request:
|
||||
paths:
|
||||
- '.github/workflows/release.yml'
|
||||
|
||||
env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
release:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set rust version
|
||||
run: |
|
||||
source ci/rust-version.sh
|
||||
echo "RUST_STABLE=$rust_stable" | tee -a $GITHUB_ENV
|
||||
|
||||
- name: Set env vars
|
||||
run: |
|
||||
source ci/env.sh
|
||||
echo "GEYSER_PLUGIN_NAME=$plugin_name" | tee -a $GITHUB_ENV
|
||||
echo "GEYSER_PLUGIN_LIB=lib${plugin_lib_name}" | tee -a $GITHUB_ENV
|
||||
|
||||
- if: runner.os == 'Linux'
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libudev-dev libssl-dev libsasl2-dev libzstd-dev
|
||||
|
||||
- uses: actions-rust-lang/setup-rust-toolchain@v1
|
||||
with:
|
||||
toolchain: ${{ env.RUST_STABLE }}
|
||||
components: rustfmt
|
||||
# fresh install is faster than using the cache (11 secs vs 1 minute)
|
||||
cache: false
|
||||
# avoid the default "-D warnings" which thrashes cache
|
||||
rustflags: ""
|
||||
|
||||
- name: Check Solana version
|
||||
run: |
|
||||
echo "CI_TAG=${GITHUB_REF#refs/*/}" >> "$GITHUB_ENV"
|
||||
echo "CI_OS_NAME=linux" >> "$GITHUB_ENV"
|
||||
|
||||
SOLANA_VERSION="$(./ci/solana-version.sh)"
|
||||
SOLANA_VERSION="v${SOLANA_VERSION#=}"
|
||||
echo "SOLANA_VERSION=$SOLANA_VERSION" >> "$GITHUB_ENV"
|
||||
|
||||
- name: Build release tarball
|
||||
run: ./ci/create-tarball.sh
|
||||
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
if: startsWith(github.ref, 'refs/tags/')
|
||||
with:
|
||||
body: |
|
||||
${{ env.GEYSER_PLUGIN_NAME }} ${{ env.CI_TAG }}
|
||||
solana ${{ env.SOLANA_VERSION }}
|
||||
rust ${{ env.RUST_STABLE }}
|
||||
files: |
|
||||
${{ env.GEYSER_PLUGIN_NAME }}-release-*
|
||||
|
Loading…
Reference in New Issue