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 GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Mar 8, 2022
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/mhm0ud_deploy-moleculer-pr@fd4a34b5f6b2522f94a14752346c5a076caffac1 # no releases — HEAD as of 2026-07-10

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
HELM_RELEASE_NAMEHelm release name for the deploymentno$(echo $GITHUB_REPOSITORY | tr '[:upper:]' '[:lower:]' | cut -f2 -d/)-${{github.event.number}}-pr
HELM_RELEASE_NAMESPACEHelm release name for the deploymentno$(echo $GITHUB_REPOSITORY | tr '[:upper:]' '[:lower:]' | cut -f2 -d/)-${{github.event.number}}-pr
DOCKER_FILEDockerfile to build, tag with preview metadata and publish to container registrynoDockerfile
DOCKER_REGISTRYDocker image registry. Defaults to GCP container registrynogcr.io
IMAGE_TAGSImage tagnolatest
IMAGE_REPO_NAMEImage 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. noexampleRepo
CONTAINER_NAMEThe 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. nomyAppContainer
CRON_ENABLEDThe moleculer cron for helm chart.nofalse
LABORATORY_ENABLEDTo install the lab service for moleculer.yestrue
GRAPHQL_ENABLEDTo install the graphql service if you have implement itnofalse
APOLLO_GRAPH_REFThe port of the graphql service if you have implement itnoAPI@current
GRAPHQL_SERVICE_PORTThe port of the graphql service if you have implement itno8000
INGRESS_ENABLEDTo install the API service and the ingress, if you have an api gateway in your app you need to enable itnotrue
MOLECULER_APM_ENABLEThe moleculer lab for helm chart.no1
TRANSPORTERThe transporter for the moleculer APPnoTCP
AGENT_TOKENThe moleculer lab agent token for the moleculer APPnosomesecret
AGENT_APIKEYThe moleculer lab API key for the moleculer APPnosomesecret
SERVICESThe name of the moleculer services you want to deploy, it should between {}no""
SERVICEDIRThe name of the moleculer services directorynobuild/services
MONGO_URIThe DB connection stringyes""
HELM_SETAdditional helm values to set environment variables (corresponds to `helm upgrade --set`). Should have format environment.env.VAR1=VAL1,environment.env.VAR2=VAL2.noenvironment.env.LOGGER=Laboratory
BASE_URLLet'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) yesapi.example.com
GCP_PROJECTGCP Project IDyesexample-project
GCP_JSON_KEYGCP JSON KEYyes
CLUSTER_NAMEK8S cluster Nameyesexample-cluster
CLUSTER_LOCATIONK8S cluster locationyesus-central-01
DNS_ZONE_NAMEYour 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)yesexample-com
GITHUB_TOKENYour Github tokenyes
namedescription
LAB_IP_ADDRESSThe IP address of the laboratory service that created in K8S if you enable it.
HELM_OUTPUTThe helm release note