Coder Social home page Coder Social logo

maven-localstack's Introduction

maven-localstack

Maven building lambda functions.

Let's analyze the different sections of the Okteto Manifest:

Build section

The images defined in the build section are:

  • maven: uses Dockerfile.maven to build all the maven artifacts.
  • users: depends on the image maven. The image built by build-maven is passed as a build argument. Dockerfile.users uses OKTETO_BUILD_MAVEN_IMAGE to COPY the maven artifacts. It pushes directly to the artifact registry.
  • users-acl: depends on the image maven. The image built by maven is passed as a build argument. Dockerfile.users-acl uses OKTETO_BUILD_MAVEN_IMAGE to COPY the maven artifacts. It pushes directly to the artifact registry.
  • build.sls: it's the image used for the deploy scripts. It installs the sls binaries, but it also depends on the image maven. This way, the deploy scripts will have access to sls and the maven artifacts.

Official docs for build section.

Dependencies section

It deploys the repo https://github.com/pchico83/localstack and waits for its pods to be available. All the logic to deploy localstack could live in another repo.

Official docs for dependencies section.

Deploy section

The deploy section uses the image OKTETO_BUILD_SLS_IMAGE. It deploys the Kong configuration, the lambda functions, and uses OKTETO_ENV to configure the public endpoints of the lambda functions. Official docs for deploy section.

External section

This is a nice to have, but it's a convenient way to show the lambda functions in the Okteto UI, with a custom endpoint, icon and `README.md`` file

Official docs for external section.

maven-localstack's People

Contributors

pchico83 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.