Hi all, tried deploying my app on Gigalixir after updating my elixir_buildpack.config
to the following:
elixir_version=1.12.1
erlang_version=24.0.1
The trace I’m seeing is
Deploying to gigalixir
/usr/bin/git -c http.extraheader=GIGALIXIR-CLEAN: true push -f gigalixir HEAD:refs/heads/master
remote: Starting deploy
remote: Preparing cache
remote: Compiling code and generating slug.
remote: Setting environment variables.
remote: * LIBCLUSTER_KUBERNETES_SELECTOR
remote: * LIBCLUSTER_KUBERNETES_NODE_BASENAME
remote: * APP_NAME
remote: * SECRET_KEY_BASE
remote: * PORT
remote: * SOURCE_VERSION
remote: * POOL_SIZE
remote: * DATABASE_URL
remote: -----> Found custom phoenix_static_buildpack.config
remote: Detecting assets directory
remote: package.json found in assets directory
remote: Elixir+Phoenix+Releases app detected
remote: Found custom phoenix_static_buildpack.config
remote: Detecting assets directory
remote: package.json found in assets directory
remote: =====> Downloading Buildpack: https://github.com/HashNuke/heroku-buildpack-elixir.git
remote: =====> Detected Framework: Elixir
remote: -----> Will export the following config vars:
remote: APP_NAME
remote: DATABASE_URL
remote: LIBCLUSTER_KUBERNETES_NODE_BASENAME
remote: LIBCLUSTER_KUBERNETES_SELECTOR
remote: POOL_SIZE
remote: PORT
remote: SECRET_KEY_BASE
remote: SOURCE_VERSION
remote: * MIX_ENV=prod
remote: -----> Checking Erlang and Elixir versions
remote: Will use the following versions:
remote: * Stack heroku-18
remote: * Erlang 24.0.1
remote: * Elixir v1.12.1
remote: -----> Stack changed, will rebuild
remote: -----> Fetching Erlang 24.0.1 from https://s3.amazonaws.com/heroku-buildpack-elixir/erlang/cedar-14/OTP-24.0.1.tar.gz
remote: -----> Installing Erlang 24.0.1 (changed)
remote:
remote: gzip: stdin: not in gzip format
remote: tar: Child returned status 1
remote: tar: Error is not recoverable: exiting now
remote: Deploy aborted
To https://git.gigalixir.com/<app_name_redacted>.git/
! [remote rejected] HEAD -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.gigalixir.com/<app_name_redacted>.git/'
Error: The process '/usr/bin/git' failed with exit code 1
Based on what I read online as possible reasons, the file https://s3.amazonaws.com/heroku-buildpack-elixir/erlang/cedar-14/OTP-24.0.1.tar.gz
might not have been gzipped and may sport the .gz
extension in error, but I’m not sure how to access it and verify this assumption.
Has anyone else seen this?
PS. I’m also using Github Actions and gigalixir-action for the deployment but I don’t think they’re related to this.