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
| org.springframework.boot.env.EnvironmentPostProcessor=\ | |
| com.maersk.service.SecretLeaseContainerConfiguration |
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/sh | |
| set -e | |
| RELEASES_URL="https://github.com/gruntwork-io/terragrunt/releases" | |
| test -z "$TMPDIR" && TMPDIR="$(mktemp -d)" | |
| BIN_FILE="$TMPDIR/terragrunt" | |
| last_version() { | |
| curl -sL -o /dev/null -w %{url_effective} "$RELEASES_URL/latest" | | |
| rev | |
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
| apiVersion: apps/v1 | |
| kind: StatefulSet | |
| metadata: | |
| name: test | |
| namespace: audienzz-dev | |
| spec: | |
| replicas: 1 | |
| serviceName: test | |
| selector: | |
| matchLabels: |
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
| apiVersion: v1 | |
| kind: ConfigMap | |
| metadata: | |
| name: dind-sample | |
| data: | |
| Dockerfile: | | |
| FROM alpine | |
| RUN apk update --no-cache && apk add --no-cache bash | |
| run.sh: | |
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
| import java.lang.annotation.ElementType; | |
| import java.lang.annotation.Retention; | |
| import java.lang.annotation.RetentionPolicy; | |
| import java.lang.annotation.Target; | |
| import org.junit.runner.RunWith; | |
| import org.springframework.boot.test.context.SpringBootContextLoader; | |
| import org.springframework.boot.test.context.SpringBootTest; | |
| import org.springframework.test.context.ActiveProfiles; | |
| import org.springframework.test.context.ContextConfiguration; |
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
| plugins { | |
| id 'base' | |
| id 'idea' | |
| } | |
| ext { | |
| libs = subprojects.collect { it.name }.findAll { !(it in ['bom', 'modules']) } | |
| addRequiredMetadata = this.&addRequiredMetadata | |
| } |
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
| image: java:8-jdk-alpine | |
| stages: | |
| - validate | |
| - build | |
| - deploy | |
| cache: | |
| paths: | |
| - .gradle |
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
| class RestController { | |
| @RequestMapping(value = "/api/upload", | |
| consumes = {"multipart/form-data"}, | |
| method = RequestMethod.POST | |
| ) | |
| public ResponseEntity<Void> uploadScreenshotApi( | |
| @RequestParam("file") MultipartFile file, | |
| @RequestParam("resumableFilename") String resumableFilename, | |
| @RequestParam("resumableChunkSize") long resumableChunkSize, |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> | |
| <meta name="description" content=""> | |
| <meta name="author" content=""> |
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
| import java.io.ByteArrayInputStream; | |
| import java.io.ByteArrayOutputStream; | |
| import java.io.File; | |
| import java.util.Properties; | |
| import java.util.logging.LogManager; | |
| import org.glassfish.embeddable.Deployer; | |
| import org.glassfish.embeddable.GlassFish; | |
| import org.glassfish.embeddable.GlassFishProperties; | |
| import org.glassfish.embeddable.GlassFishRuntime; |
NewerOlder