actions-marketplace-validations/Preview Pull Requests in Google Kubernetes Service for Moleculer App
Deploy moleculer app preview of Pull Requests to GKE - Google Kubernetes Engine using Moleculer Helm charts 🚀
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Mar 8, 2022
- License
- MIT
Pinned Snippet
uses: actions-marketplace-validations/mhm0ud_deploy-moleculer-pr@fd4a34b5f6b2522f94a14752346c5a076caffac1 # no releases — HEAD as of 2026-07-10tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| HELM_RELEASE_NAME | Helm release name for the deployment | no | $(echo $GITHUB_REPOSITORY | tr '[:upper:]' '[:lower:]' | cut -f2 -d/)-${{github.event.number}}-pr |
| HELM_RELEASE_NAMESPACE | Helm release name for the deployment | no | $(echo $GITHUB_REPOSITORY | tr '[:upper:]' '[:lower:]' | cut -f2 -d/)-${{github.event.number}}-pr |
| DOCKER_FILE | Dockerfile to build, tag with preview metadata and publish to container registry | no | Dockerfile |
| DOCKER_REGISTRY | Docker image registry. Defaults to GCP container registry | no | gcr.io |
| IMAGE_TAGS | Image tag | no | latest |
| IMAGE_REPO_NAME | Image repository name in the container registery. P.S. in Google cloud image registary, the image repository name will be like: gcr.io/[PROJECT_ID]/[IMAGE_REPO_NAME], so in this variable we define the last section of the full image name. | no | exampleRepo |
| CONTAINER_NAME | The container name that should deploy to the k8s cluster. In the K8S cluster the POD will start a container, we define here the name of container that will start in the deployment. | no | myAppContainer |
| CRON_ENABLED | The moleculer cron for helm chart. | no | false |
| LABORATORY_ENABLED | To install the lab service for moleculer. | yes | true |
| GRAPHQL_ENABLED | To install the graphql service if you have implement it | no | false |
| APOLLO_GRAPH_REF | The port of the graphql service if you have implement it | no | API@current |
| GRAPHQL_SERVICE_PORT | The port of the graphql service if you have implement it | no | 8000 |
| INGRESS_ENABLED | To install the API service and the ingress, if you have an api gateway in your app you need to enable it | no | true |
| MOLECULER_APM_ENABLE | The moleculer lab for helm chart. | no | 1 |
| TRANSPORTER | The transporter for the moleculer APP | no | TCP |
| AGENT_TOKEN | The moleculer lab agent token for the moleculer APP | no | somesecret |
| AGENT_APIKEY | The moleculer lab API key for the moleculer APP | no | somesecret |
| SERVICES | The name of the moleculer services you want to deploy, it should between {} | no | "" |
| SERVICEDIR | The name of the moleculer services directory | no | build/services |
| MONGO_URI | The DB connection string | yes | "" |
| HELM_SET | Additional helm values to set environment variables (corresponds to `helm upgrade --set`). Should have format environment.env.VAR1=VAL1,environment.env.VAR2=VAL2. | no | environment.env.LOGGER=Laboratory |
| BASE_URL | Let's assume that your app gateway URL is 'api.example.com', and you want to create a PR deployment using this action, so the deployment PR URL will be 'pr-[PR_NUMBER].[BASE_URL]' (pr-1.api.example.com) | yes | api.example.com |
| GCP_PROJECT | GCP Project ID | yes | example-project |
| GCP_JSON_KEY | GCP JSON KEY | yes | — |
| CLUSTER_NAME | K8S cluster Name | yes | example-cluster |
| CLUSTER_LOCATION | K8S cluster location | yes | us-central-01 |
| DNS_ZONE_NAME | Your DNS Zone Name in GCP Cloud DNS,It's the cloud DNS Zone name not the DNS name (P.S. DNS name is example.com) | yes | example-com |
| GITHUB_TOKEN | Your Github token | yes | — |
Outputs
| name | description |
|---|---|
| LAB_IP_ADDRESS | The IP address of the laboratory service that created in K8S if you enable it. |
| HELM_OUTPUT | The helm release note |