This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>io.github.parj</groupId> | |
<artifactId>samplespringbootapp</artifactId> | |
<packaging>jar</packaging> | |
<version>1.6-SNAPSHOT</version> | |
<name>samplespringbootapp</name> | |
<url>https://github.com/parj/SampleSpringBootApp</url> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
workflows: | |
version: 2 | |
build_and_test: | |
jobs: | |
- build | |
- openjdk-8: | |
filters: | |
branches: | |
ignore: | |
- release |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openjdk-8: | |
docker: | |
# specify the version you desire here | |
- image: circleci/openjdk:8-jdk | |
# Specify service dependencies here if necessary | |
# CircleCI maintains a library of pre-built images | |
# documented at https://circleci.com/docs/2.0/circleci-images/ | |
# - image: circleci/postgres:9.4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
build: | |
docker: | |
# specify the version you desire here | |
- image: circleci/openjdk:11-jdk | |
# Specify service dependencies here if necessary | |
# CircleCI maintains a library of pre-built images | |
# documented at https://circleci.com/docs/2.0/circleci-images/ | |
# - image: circleci/postgres:9.4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<settings xsi:schemaLocation='http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd' | |
xmlns='http://maven.apache.org/SETTINGS/1.0.0' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'> | |
<servers> | |
<server> | |
<id>ossrh</id> | |
<username>${env.username}</username> | |
<password>${env.OSS_PASSWORD}</password> | |
</server> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Stop on error | |
set -e | |
main() { | |
decryptAndImportPrivateKeys | |
} | |
# From gist - https://gist.github.com/Bost/54291d824149f0c4157b40329fceb02c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Stop on error | |
set -e | |
main() { | |
init | |
setup_git | |
buildArtifact | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: java | |
jdk: | |
- openjdk8 | |
- openjdk11 | |
- openjdk12 | |
cache: | |
directories: | |
- ".autoconf" | |
- "$HOME/.m2" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Template for a basic service, deployment and ingress | |
{ | |
// Required arguments for this template | |
serviceName:: error "serviceName must be specified", | |
dockerImage:: error "dockerImage must be specified", | |
servicePort:: error "servicePort must be specified", | |
servicePortType:: "ClusterIP", | |
namespace:: "default", | |
host:: "mysterious-grass-savages.github", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local serviceDeployment = import "service-deployment-ingress.jsonnet.template"; | |
local samplespringbootapp() = serviceDeployment + { | |
serviceName:: "samplespringbootapp", | |
dockerImage:: "parjanya/samplespringbootapp:1.6-SNAPSHOT", | |
servicePort:: 9999, | |
url:: "/hello", | |
readinessProbe:: | |
{ |