/app-template-java

Primary LanguageJavaApache License 2.0Apache-2.0

Overview

This is a sample application written in Java. In most cases, this should not be used for development of a new application.

Critical Files

The following is a list of critical files utilized in the conventions for building an Anthos application.

File/Folder Description Required
Dockerfile 🐳 File used to create the Docker image (built with kaniko)
skaffold.yaml Used in local development to keep development environment in sync with changes. If not using skaffold, this file is optional (but recommended)
.gitlab-ci.yml CICD Pipeline setup to build to inherit the conventions for the development organization/ecosystem
k8s/ Folder containing the Kubernetes resource manifests for "dev", "stage" and "prod". Resource files are configured to use Kustomize during the CICD build.

Licensing

Copyright 2022 Google LLC

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Usage

Copyright 2022 Google. This software is shared as sample code and not intended for production use and provided as-is, without warranty or representation for any use or purpose. Your use of it is discretionary and subject to your agreement with Google.

Contributing

  • [Contributing guidelines][contributing-guidelines]