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

fix(release): Sync testnet changes to mainnet image #37

Merged
merged 81 commits into from
Sep 14, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
2fb8191
Create .dockerignore
ankurdotb Aug 18, 2022
9fd085f
Update Dockerfile
ankurdotb Aug 18, 2022
50c2e95
Create env-vars.sh
ankurdotb Aug 18, 2022
4fbe50d
Update config.yaml
ankurdotb Aug 18, 2022
615a4c3
Update Dockerfile
ankurdotb Aug 18, 2022
4fa8541
Update Dockerfile
ankurdotb Aug 18, 2022
e7afe45
Fix dispatch
ankurdotb Aug 18, 2022
1be9037
Update .dockerignore
ankurdotb Aug 18, 2022
cbb58ca
Update .dockerignore
ankurdotb Aug 18, 2022
94f1418
Update config.yaml
ankurdotb Aug 18, 2022
7f79dc9
Update env-vars.sh
ankurdotb Aug 18, 2022
12dd6a2
Update .dockerignore
ankurdotb Aug 18, 2022
184c76c
Fix file permissions
ankurdotb Aug 18, 2022
ebea3fb
Update .dockerignore
ankurdotb Aug 18, 2022
a733609
Delete ensure_set_euox_pipefail.sh
ankurdotb Aug 18, 2022
90ee301
Update lint.yml
ankurdotb Aug 18, 2022
5717817
Activate golang cache
ankurdotb Aug 18, 2022
92816c8
Update build to include Docker
ankurdotb Aug 18, 2022
2cb1066
Fix incorrect chmod statement
ankurdotb Aug 18, 2022
851ddd7
Revert "Delete ensure_set_euox_pipefail.sh"
ankurdotb Aug 18, 2022
33a1ad6
Revert "Update lint.yml"
ankurdotb Aug 18, 2022
a54640a
Add bash to BDJuno image
ankurdotb Aug 18, 2022
5b5ed8f
Update env-vars.sh
ankurdotb Aug 18, 2022
414716b
Remove ACTIONS_BASE_URL from BDJuno
ankurdotb Aug 18, 2022
d01bbd7
build(docker): Fix BDJuno Dockerfile and environment variable setting
ankurdotb Aug 18, 2022
927e888
Update env-vars.sh
ankurdotb Aug 18, 2022
2b13599
Squashed commit of the following:
ankurdotb Aug 18, 2022
deb45c7
Update Hasura config variables
ankurdotb Aug 18, 2022
c70d5a7
Update env-vars.sh
ankurdotb Aug 18, 2022
c79e88b
Squashed commit of the following:
ankurdotb Aug 18, 2022
bee9d91
Update Dockerfile.hasura
ankurdotb Aug 18, 2022
d1cf11b
Update env-vars.sh
ankurdotb Aug 18, 2022
20fc4a2
build(docker): Hasura CLI Dockerfile and environment variable fixes (…
ankurdotb Aug 18, 2022
9155186
fix: New BDJuno path in env-vars
ankurdotb Aug 18, 2022
8229246
ci: Remove binary build
ankurdotb Aug 18, 2022
4669cdc
fix: Variable path
ankurdotb Aug 18, 2022
1dbf8c9
fix: Update internal port
ankurdotb Aug 19, 2022
3cf36c0
ci: Added Hasura CLI build to workflow
ankurdotb Aug 19, 2022
c4bf936
fix: Explicitly set variable namespace
ankurdotb Aug 19, 2022
756872d
ci: Disable SC2154
ankurdotb Aug 19, 2022
2bfd529
fix: Vars again
ankurdotb Aug 19, 2022
d77c1a1
refactor: Set some variables directly
ankurdotb Aug 19, 2022
fd6b2dd
Update env-vars.sh
ankurdotb Aug 19, 2022
0ef3a6b
Update env-vars.sh
ankurdotb Aug 19, 2022
76c6226
Create entrypoint file
ankurdotb Aug 19, 2022
a29f6cc
Update entrypoint.sh
ankurdotb Aug 19, 2022
50b3222
Entrypoint
ankurdotb Aug 19, 2022
ea43e51
Update Dockerfile
ankurdotb Aug 19, 2022
4b6fea1
Update entrypoint.sh
ankurdotb Aug 19, 2022
eedd69a
All entrypoint values fixed
ankurdotb Aug 19, 2022
007e035
Remove RPC connections
ankurdotb Aug 19, 2022
2b6d33b
Set database port to integer value
ankurdotb Aug 19, 2022
114a0ce
Update entrypoint.sh
ankurdotb Aug 19, 2022
3f265db
fix: Add CA Certs package
ankurdotb Aug 19, 2022
456c2f7
Remove history from BDJuno
ankurdotb Aug 19, 2022
d0525b2
Set variables in Hasura CLI image
ankurdotb Aug 23, 2022
9b4fbf5
Update entrypoint.sh
ankurdotb Aug 23, 2022
673a091
chore(dev-deps): Bump semantic-release from 19.0.3 to 19.0.5 (#18)
dependabot[bot] Aug 23, 2022
e780f43
chore(deps): Bump github.com/go-co-op/gocron from 1.16.1 to 1.16.3 (#19)
dependabot[bot] Aug 24, 2022
9e5a2c5
chore(deps): Bump github.com/cosmos/gaia/v7 from 7.0.2 to 7.0.3 (#13)
dependabot[bot] Aug 24, 2022
091c6d6
chore(deps): Bump github.com/prometheus/client_golang from 1.12.2 to …
dependabot[bot] Aug 24, 2022
3af4dd8
chore(deps): Bump github.com/forbole/juno/v3 from 3.3.0 to 3.4.0 (#22)
dependabot[bot] Sep 8, 2022
0edeb5e
chore(deps): Bump github.com/go-co-op/gocron from 1.16.3 to 1.17.0 (#21)
dependabot[bot] Sep 8, 2022
8e7c529
chore(deps): Bump github.com/rs/zerolog from 1.27.0 to 1.28.0 (#20)
dependabot[bot] Sep 8, 2022
3e3782a
fix: Redeploy bdjuno on DO Apps (#24)
filipdjokic Sep 8, 2022
6f9e39b
feat: Sync upstream changes on BDJuno v0.3.4 [DEV-1715] (#25)
ankurdotb Sep 8, 2022
79bf82f
build: Automated semantic release with Goreleaser [DEV-1718] (#26)
ankurdotb Sep 8, 2022
7ce8945
feat: Semantic release config (#30)
ankurdotb Sep 8, 2022
96b5edc
build: Disable LD Flags
ankurdotb Sep 8, 2022
f8f2d5b
chore: Update go.sum
ankurdotb Sep 8, 2022
3d4d040
build: Fix network-specific Docker image tagging (#31)
ankurdotb Sep 8, 2022
8ed9902
fix: Docker Image tags
ankurdotb Sep 8, 2022
e78689d
fix: Docker image suffix
ankurdotb Sep 8, 2022
397ad5c
fix: Docker image tag suffixes (#32)
ankurdotb Sep 9, 2022
054e908
chore(deps): Bump github.com/lib/pq from 1.10.6 to 1.10.7 (#29)
dependabot[bot] Sep 9, 2022
fbbeb14
ci: Prerelease mode [skip ci]
ankurdotb Sep 9, 2022
a26e248
ci: Activate YAML linter (#35)
ankurdotb Sep 13, 2022
af81f12
chore(release): Bump NPM packages (#36)
ankurdotb Sep 14, 2022
aa79812
Merge branch 'chains/cheqd/mainnet' into bump-mainnet
ankurdotb Sep 14, 2022
4c7d850
Update genesis file to mainnet
ankurdotb Sep 14, 2022
0ef8159
Update dispatch.yml
ankurdotb Sep 14, 2022
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
Prev Previous commit
Next Next commit
Update build to include Docker
  • Loading branch information
ankurdotb committed Aug 18, 2022
commit 92816c8003e818c8d801f329e3ab16291041cc9b
50 changes: 35 additions & 15 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,38 +8,58 @@ defaults:

jobs:

unit-tests:
name: "Unit Tests"
build-binary:
name: "BDJuno Binary"
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Setup Go
uses: actions/setup-go@v3
- uses: actions/setup-go@v3
with:
go-version-file: ./go.mod
cache: true

- name: "Install Golang dependencies"
run: |
go mod tidy
make install

- name: "Build BDJuno binary"
run: make build

- name: Test & Create coverage report
run: make install test-unit stop-docker-test

build-binary:
name: "Build Binary"
build-docker:
name: "BDJuno Docker Image"
runs-on: ubuntu-latest
env:
DOCKER_TEST_IMAGE: ${{ github.repository }}:${{ github.sha }}

steps:
- uses: actions/checkout@v3

- uses: actions/setup-go@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
id: buildx
with:
go-version-file: ./go.mod
cache: true
install: true
version: latest

- name: "Install Golang dependencies"
run: |
go mod tidy
make install
- name: Build image
uses: docker/build-push-action@v3
with:
context: .
file: Dockerfile
platforms: linux/amd64
load: true
target: bdjuno
tags: ${{ env.DOCKER_TEST_IMAGE }}
outputs: type=docker,dest=/tmp/bdjuno-image.tar

- name: "Build BDJuno binary"
run: make build
- name: Upload Docker test image
uses: actions/upload-artifact@v3
with:
name: bdjuno-image.tar
path: /tmp/bdjuno-image.tar
47 changes: 0 additions & 47 deletions .github/workflows/deploy.yml

This file was deleted.