Skip to content

Commit

Permalink
update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
gregnuj committed Jun 9, 2023
2 parents 15df628 + dc9863f commit 20d46fa
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .envrc_sample
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
export TYPEORM_CONNECTION=postgres
export TYPEORM_HOST=database
export TYPEORM_USERNAME=terra
export TYPEORM_PASSWORD=terra
export TYPEORM_DATABASE=terra_fcd
export TYPEORM_PASSWORD=abc123
export TYPEORM_DATABASE=fcd
export TYPEORM_PORT=5432
export TYPEORM_SYNCHRONIZE=false
export TYPEORM_LOGGING=false
Expand All @@ -17,4 +17,4 @@ export INDEXER_LCD_URI=https://columbus-lcd.terra.dev
export INDEXER_FCD_URI=https://columbus-fcd.terra.dev
export INDEXER_RPC_URI=http://public-node.terra.dev:26657
export INDEXER_SENTRY_DSN=
#export INDEXER_USE_LOG_FILE=true
#export INDEXER_USE_LOG_FILE=true
8 changes: 3 additions & 5 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
name: docker-build
name: Docker Build

on:
pull_request:
branches:
- main
- test
- classic
push:
branches:
- main
- test
- classic
tags:
- 'v*'
Expand Down Expand Up @@ -66,9 +64,9 @@ jobs:

github-token: ${{ secrets.GITHUB_TOKEN }}
images: |
${{ steps.login-ecr.outputs.registry }}/fcd
${{ steps.login-ecr.outputs.registry }}/{{ github.event.repository.name }}
ghcr.io/${{ github.repository }}
terraformlabs/fcd
terraformlabs/{{ github.event.repository.name }}
tags: |
type=sha
type=edge,branch=test
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+' # Push events to matching v*, i.e. v1.0, v20.15.10
- 'v[0-9]+.[0-9]+.[0-9]+-rc*' # Push events to matching v*, i.e. v1.0-rc1, v20.15.10-rc5
- 'v[0-9]+.[0-9]+.[0-9]+-classic' # Push events to matching v*, i.e. v1.0-classic, v20.15.10-classic

jobs:
artifacts:
Expand Down
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,6 @@ jspm_packages/
# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

# SQLite databases
*.sqlite

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ FCD requires PostgreSQL as a backend database and [TypeORM](https://github.com/t
#### Create a new database for FCD

```psql
postgres=> CREATE DATABASE terra_fcd OWNER terra;
postgres=> CREATE DATABASE fcd OWNER terra;
```

#### Synchronize Database Scheme
Expand Down

0 comments on commit 20d46fa

Please sign in to comment.