-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #135 from pinknetworkx/add-template-buyoffers
Add template buyoffers tables, processors and API routes
- Loading branch information
Showing
28 changed files
with
1,553 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
name: Main workflow | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
workflow_dispatch: | ||
inputs: | ||
namespace: | ||
description: 'Namespace to run deployment against' | ||
type: choice | ||
options: | ||
- eos-mainnet-1 | ||
- wax-mainnet-1 | ||
- wax-testnet-1 | ||
- proton-mainnet-1 | ||
- proton-testnet-1 | ||
required: true | ||
|
||
jobs: | ||
test: | ||
name: Test | ||
uses: Spielworks-Market/backend-workflows/.github/workflows/test.yaml@main | ||
secrets: inherit | ||
with: | ||
run_test_e2e: false | ||
run_unit_test: false | ||
|
||
build: | ||
if: contains(fromJSON('["eos-mainnet-1", "wax-mainnet-1", "wax-testnet-1", "proton-mainnet-1", "proton-testnet-1"]'), inputs.namespace) | ||
name: Build | ||
needs: test | ||
uses: Spielworks-Market/backend-workflows/.github/workflows/docker.yaml@main | ||
with: | ||
repository: eosio-contract-api | ||
permissions: | ||
id-token: write | ||
contents: read | ||
|
||
deploy-filler: | ||
if: contains(fromJSON('["eos-mainnet-1", "wax-mainnet-1", "wax-testnet-1", "proton-mainnet-1", "proton-testnet-1"]'), inputs.namespace) && github.ref == 'refs/heads/main' | ||
name: Prod filler | ||
needs: build | ||
uses: Spielworks-Market/eosio-contract-api-deployment/.github/workflows/deployment.yaml@master | ||
with: | ||
helm-namespace: ${{ inputs.namespace }} | ||
release: filler | ||
permissions: | ||
id-token: write | ||
secrets: inherit | ||
|
||
deploy-server: | ||
if: contains(fromJSON('["eos-mainnet-1", "wax-mainnet-1", "wax-testnet-1", "proton-mainnet-1", "proton-testnet-1"]'), inputs.namespace) && github.ref == 'refs/heads/main' | ||
name: Prod server | ||
needs: build | ||
uses: Spielworks-Market/eosio-contract-api-deployment/.github/workflows/deployment.yaml@master | ||
with: | ||
helm-namespace: ${{ inputs.namespace }} | ||
release: server | ||
permissions: | ||
id-token: write | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: PR workflow | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
test: | ||
name: Test | ||
uses: Spielworks-Market/backend-workflows/.github/workflows/test.yaml@main | ||
secrets: inherit | ||
with: | ||
run_test_e2e: false | ||
run_unit_test: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.