From 0b3c496fb26f85f44e1ecf70d0e7625ae3691f21 Mon Sep 17 00:00:00 2001 From: Ankur Banerjee Date: Fri, 12 Aug 2022 15:26:51 +0100 Subject: [PATCH] Squashed commit of the following: commit 53bd95bc272685e5373a6f9d7853e251c3e25c37 Author: Andrew Nikitin Date: Fri Aug 12 17:22:30 2022 +0300 build(docker): Move to Alpine images for Dockerfile (#356) * Get rid of .env varaiables * Add default vars for docker compose down * Get rid of debug * Create dependabot.yml * Deactivate test workflow * Update lint.yml * Rename regen references * Update Stage 1 build * Remove Cosmovisor stages * Remove unecessary Hadolint path * Move Dockerfile to top-level context * Update .Dockerignore * Change build folder * Remove unnecessary packages from Stage 1 * Update Makefile * Switched version tag to take any version, not just `v*` prefix * Changed ldflags to `cheqd-node` instead of `cheqd-noded` * Switch release dispatch guard * Dockerfile back in docker folder * Delete .Dockerignore * Honestly, changing a filename to lowercase should be easier * Update Dockerfile * Update Dockerfile * Update Dockerfile * Update Dockerfile * Delete cosmovisor.sh * Pick up Go version from go.mod * Moved unit tests to build job * Change to Docker Buildx * Disable release * Add dotenv linter * Update Makefile * Reinstate user permissions * Update docker-compose.env * Set latest recommended version * Set Docker image version * Update container.env * Added healthcheck * Entrypoint fix * Update Dockerfile * Change entrypoint copy order * Remove dockerignore for docker folder * Add protobuf generation to Docker job * Save Docker test image * Update test.yml * Reactivate test * Update Makefile * Change ldflag for name * Fixed incorrect folder move * Go mod tidy * Update dispatch.yml Co-authored-by: Ankur Banerjee --- .github/workflows/dispatch.yml | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/.github/workflows/dispatch.yml b/.github/workflows/dispatch.yml index a47827e93..abc64c8eb 100644 --- a/.github/workflows/dispatch.yml +++ b/.github/workflows/dispatch.yml @@ -7,15 +7,15 @@ concurrency: jobs: - # call-lint: - # name: "Lint" - # uses: ./.github/workflows/lint.yml + call-lint: + name: "Lint" + uses: ./.github/workflows/lint.yml - # call-build: - # name: "Build" - # needs: call-lint - # uses: ./.github/workflows/build.yml - # secrets: inherit + call-build: + name: "Build" + needs: call-lint + uses: ./.github/workflows/build.yml + secrets: inherit # call-test: # name: "Test" @@ -24,10 +24,11 @@ jobs: # with: # VERSION: ${{ needs.call-build.outputs.VERSION }} - call-release: - name: "Release" - # needs: [call-test, call-build] - if: startsWith(github.ref, 'refs/tags/v') - uses: ./.github/workflows/release.yml - with: - RELEASE_VERSION: ${{ needs.call-build.outputs.VERSION }} + # call-release: + # name: "Release" + # # needs: [call-test, call-build] + # needs: call-build + # if: ${{ github.ref_protected == true }} + # uses: ./.github/workflows/release.yml + # with: + # RELEASE_VERSION: ${{ needs.call-build.outputs.VERSION }}