https://github.com/josemyduarte/earthly-quarkus-poc
Earthly with Github Actions POC
https://github.com/josemyduarte/earthly-quarkus-poc
ci earthly github github-actions java quarkus
Last synced: about 2 months ago
JSON representation
Earthly with Github Actions POC
- Host: GitHub
- URL: https://github.com/josemyduarte/earthly-quarkus-poc
- Owner: JosemyDuarte
- License: mit
- Created: 2020-07-12T15:07:12.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-12T16:38:11.000Z (almost 5 years ago)
- Last Synced: 2025-02-02T00:41:12.967Z (4 months ago)
- Topics: ci, earthly, github, github-actions, java, quarkus
- Language: Java
- Homepage:
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Earthly with Github Actions POC
Small Proof of Concept mixing [Funqy](https://quarkus.io/guides/amazon-lambda-http) a tool that allows you to build serverless app agnostic of the cloud provider, and [Earthly](https://www.earthly.dev/) a new build automation system based on containers. Interesting to note that this is being built by Github Actions also using Earthly.
### Requirements
* Git
* Docker
* [Earthly](https://www.earthly.dev/)
* [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-install.html)
* [AWS SAM CLI](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html)### How to make it work?
To build the project just run
```shell script
earth +build
````And to have it running in your machine run
```shell script
sam local start-api --template target/sam.native.yaml
```It will be listening on [http://localhost:3000](). Now you can go to [http://localhost:3000/greet/hi]() and a serverless function will give say "hello".
For more details about Quarkus, Funqy or how to deploy this to AWS take a look at https://quarkus.io/guides/amazon-lambda-http.