Code Code Ship logo
optimum_gen_infra
0.1.1
Generate GitHub Actions workflows

OptimumGenInfra

Mix task which generates infrastructure code for Elixir apps.

mix optimum.gen.infra

Flags

Required:

  • --phoenix or --no-phoenix
  • --ecto or --no-ecto
  • --github-url
  • --elixir-version
  • --node-version
  • --otp-version

Optional:

  • --fly-app-prefix

Installation

To install OptimumGenInfra, you will need to purchase a license. OptimumGenInfra is hosted on Code Code Ship.

Once you have purchased a license, follow the installation instructions.

First add codecodeship as a Hex repository:

mix hex.repo add codecodeship https://hex.codecodeship.com/api/repo \
  --fetch-public-key SHA256:5hyUvvnGT45CntYCrHAOO3tn94l1xz8fUlyQS7qDhxg \
  --auth-key [YOUR AUTH KEY]

Then install optimum_gen_infra:

mix archive.install hex optimum_gen_infra --repo codecodeship

Examples

Phoenix apps without database:

mix optimum.gen.infra \
  --phoenix \
  --no-ecto \
  --github-url https://github.com/optimumBA/phx.tools \
  --fly-app-prefix phx-tools \
  --elixir-version 1.17.1 \
  --node-version 20.14.0 \
  --otp-version 27.0

Phoenix apps with a database:

mix optimum.gen.infra \
  --phoenix \
  --ecto \
  --github-url https://github.com/StoryDeckIO/story_deck \
  --fly-app-prefix storydeck \
  --elixir-version 1.15.8 \
  --node-version 20.14.0 \
  --otp-version 26.2.5

Regular Elixir apps:

mix optimum.gen.infra \
  --no-phoenix \
  --no-ecto \
  --github-url https://github.com/optimumBA/github_workflows_generator \
  --elixir-version 1.17.3 \
  --node-version 20.18.0 \
  --otp-version 27.1.2

Contact

For any questions contact us at tools@optimum.ba.

Install
Owner
Almir Sarajcic
Links
Paid Versions
Dependencies
No dependencies
Code Code Ship logo

Get in touch

You can get in touch with us via email or on our Discord server. Click the button for an invite.

Subscribe

Always stay up to date by subscribing to our newsletter.