ITndr is a service that offers a simple way to compare a candidate's salary expectation and a recruiter's salary offer in the blind. A candidate and a recruiter fill in their expectation and offer sequentially. Then the service compares the values. If the recruiter's salary offer is more or equal to the candidate's salary expectation, then the candidate and the recruiter are matched else mismatched.
Workflow file: .github/workflows/google-cloud-run.yml
For pushes to the master
branch, the workflow will:
- Setup the build environment with respect to the selected java/graalvm version.
- Setup of Google Cloud CLI.
- Authenticate docker to use Google Container Registry (GCR).
- Build, tag and push Docker image with Micronaut application to GCR.
- Deploy Google Cloud Run application.
Add the following GitHub secrets:
Name | Description |
---|---|
GCLOUD_PROJECT_ID | Project id. |
GCLOUD_SA_KEY | Service account key file. See more on Creating and managing service accounts and Deployment permissions for CloudRun |
GCLOUD_IMAGE_REPOSITORY | (Optional) Docker image repository in GCR. For image [GCLOUD_REGION]/[GCLOUD_PROJECT_ID]/foo/bar:0.1 , the foo is an image repository. |
The workflow file also contains additional configuration options that are now configured to:
Name | Description | Default value |
---|---|---|
GCLOUD_REGION | Region where the Cloud Run application will be created. See Cloud Run Release Notes to find out what regions are supported. | europe-west3 |
GCLOUD_GCR | Google Container Registry url. See Overview of Container Registry to find out valid GCR endpoints. | eu.gcr.io |
From the workflow step Deploy Cloud Run
copy out url https://itndr-__________run.app
of the invoke endpoint:
Invoke endpoint:
https://itndr-__________run.app
Call the api endpoint:
curl https://itndr-__________run.app/itndr