Skip to content

Jelastic CLI

Actions
Executes commands via Jelastic CLI
v0.20.0
Latest
Star (5)

Tags

 (1)

GitHub action for Jelastic CLI

Performs some actions via Jelastic CLI via API

GitHub actions

Inputs

jelastic_url

RequiredJelastic API URL

jelastic_username

RequiredJelastic Username

jelastic_password

RequiredJelastic Password or API Token

task

RequiredTask to execute. More info here.

Outputs

output

Result JSON document returned from Jelastic.

Example usage

  - name: Run GetEnv command
    uses: DovnarAlexander/github-actions-jelastic@master
    with:
      jelastic_url: app.mycloud.by
      jelastic_username: ${{ secrets.JELASTIC_USERNAME }}
      jelastic_password: ${{ secrets.JELASTIC_TOKEN }}
      task: environment/control/getenvs

Local usage

Information

Docker's entrypoint expects 3+ arguments specified.

docker run --rm --env JELASTIC_URL --env JELASTIC_USERNAME --env JELASTIC_PASSWORD aliaksandrdounar/jelastic-cli:latest true true environment/control/getenvs

Where:

  • true - login to Jelastic Cloud
  • true - print json output (instead of raw from the API)
  • environment/control/getenvs - command

Preparation

export JELASTIC_URL=<jelastic_api_fqnd>
export JELASTIC_USERNAME=<your_username>
export JELASTIC_PASSWORD=<your_password>

Use from DockerHub

docker run --rm --env JELASTIC_URL --env JELASTIC_USERNAME --env JELASTIC_PASSWORD aliaksandrdounar/jelastic-cli:latest true true environment/control/getenvs

Use from GitHub

echo TOKEN | docker login https://docker.pkg.github.com -u USERNAME --password-stdin
docker run --rm --env JELASTIC_URL --env JELASTIC_USERNAME --env JELASTIC_PASSWORD docker.pkg.github.com/dovnaralexander/jelastic-docker-image/jelastic-cli:latest true true environment/control/getenvs

Jelastic CLI is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Executes commands via Jelastic CLI
v0.20.0
Latest

Tags

 (1)

Jelastic CLI is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.