mhanberg

mhanberg

Expert LSP Core Team

Howdy folks! The project has been around for a while, figured I should finally share it here.

The Gigalixir Action is a GitHub Action should can use in your workflows to deploy applications to Gigalixir and run your Ecto migrations automatically.

GitHub: GitHub - gigalixir/gigalixir-action: A GitHub Action for deploying Phoenix applications to Gigalixir · GitHub

Showing Posts 1 to 10

mhanberg

mhanberg OP

Expert LSP Core Team

I will also comment off the bat that the Gigalixir CLI is written in Python, and there are some widespread issue with Python going on right now from what I hear, so you will probably need to explicitly use the latest Python version in your workflow using this example.

I’ll get the README updated shortly.

alvesgabriel

alvesgabriel

Hi, @mhanberg.

I read this blog post you writed (CI/CD with Phoenix, GitHub Actions, and Gigalixir | Mitchell Hanberg) and for some reason I couldn’t make the automatic deploy works. I’m having some error in the Github Actions that says Error: Input required and not supplied: GIGALIXIR_USERNAME. My secrets variables are GIGALIXIR_EMAIL, GIGALIXIR_PASSWORD, GIGALIXIR_APP_NAME, SSH_PRIVATE_KEY. This is the link to action in Github https://github.com/alvesgabriel/stonepay/runs/1995237247?check_suite_focus=true.

Do you know some solution to my problem?

Since now, thank you for your attention.

mhanberg

mhanberg OP

Expert LSP Core Team

I would double check you set that GIGALIXIR_EMAIL secret correctly, or check the spelling.

alvesgabriel

alvesgabriel

Thank you very much, @mhanberg. It was really a configuration wrong in Github secrets that I did.

mhanberg

mhanberg OP

Expert LSP Core Team

Just released v0.5.0!

This release brings support for deploying an app from a subdirectory #34 from GitHub user ChristianTovar, thanks Christian!

mhanberg

mhanberg OP

Expert LSP Core Team

Also, I am looking folks using umbrella apps to test PR #16.

This PR aims to make it possible to specify an app app to use when running the db migrations.

Testers with non-umbrella apps are also welcome to help ensure there are no regressions, thanks!

mhanberg

mhanberg OP

Expert LSP Core Team

v0.6.0 released!

laiboonh

laiboonh

I am currently having migration issues. I have checked that i only have one public key with gigalixir. I have also checked that i have private key as a secret in github repo.

Running migrations
  /opt/hostedtoolcache/Python/3.8.1/x64/bin/gigalixir ps:migrate -a <APP_NAME>
  Pseudo-terminal will not be allocated because stdin is not a terminal.
  Warning: Permanently added '[v2018-us-central1.gcp.ssh.gigalixir.com]:30654,[35.224.115.157]:30654' (ECDSA) to the list of known hosts.
  root@v2018-us-central1.gcp.ssh.gigalixir.com: Permission denied (publickey).
  Command '['ssh', '-t', 'root@v2018-us-central1.gcp.ssh.gigalixir.com', '-p', '30654', 'gigalixir_run', 'migrate']' returned non-zero exit status 255.

I have tried to run gigalixir client locally with success

➜  git:(main) gigalixir ps:migrate -a <APP_NAME>

14:56:20.023 [info]  Migrations already up
Connection to v2018-us-central1.gcp.ssh.gigalixir.com closed.

I am running out of ideas here. So trying my luck here to see if anyone had similar problems before

mhanberg

mhanberg OP

Expert LSP Core Team

I would make sure that your private key that is in the GitHub Secrets is correct.

laiboonh

laiboonh

It’s a mystery. I tried pbcopy this time to make sure but still same error. I also made sure i only have one public key in gigalixir.

Where Next? Top

Trending in Discussions Top

AstonJ
As the title says, please share what you’ve been up to with Elixir. Whether that’s been learning it, looking into it, making stuff with i...
2977 94592 917
New
cblavier
Hey there, It’s been more than a year since we started using LiveView as our main UI library and building a whole library of UI componen...
New
caslu
I want to open this thread for you all to discuss and help those who really like Ash but are still hesitant to use it in a real project. ...
New
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
heathen
Quite interesting article Google brought me. Didn’t find any mentions about it here. What do you think in general? Would you use togethe...
New
marciol
It would be helpful to have a list of companies worldwide that hire engineers without prior experience in Elixir. Often, it can be quite ...
New
durvia
Anyone running long-lived stateful processes on BEAM? We’re building an AI agent runtime and would love to compare notes. We’re a small ...
New

Other Trending Topics Top

marciok
Hi there! We created Gust: A task orchestrator inspired by Airflow. For those who have never heard about Aiflow, it’s a Python-based wor...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge &amp; Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
webofbits
Aludel - LLM Evaluation Workbench Aludel is an embeddable Phoenix LiveView dashboard for evaluating and comparing LLM prompts across mult...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews