๐
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
--- | |
- name: install nginx | |
win_chocolatey: | |
name: nginx | |
state: present | |
- name: install nssm | |
win_chocolatey: | |
name: nssm | |
state: present | |
- name: copy nginx conf file |
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
-- | |
- name: start nginx | |
win_service: | |
name: nginx | |
start_mode: auto | |
state: started |
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
<powershell> | |
$ipAddress = (invoke-restmethod -uri http://169.254.169.254/latest/meta-data/local-ipv4) | |
"Setting up port forwarding" | |
netsh interface portproxy add v4tov4 listenport=80 connectport=8080 connectaddress=$ipAddress | |
</powershell> |
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
buildscript { | |
ext.kotlin_version = '1.2.21' | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" | |
} | |
} |
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 akka.NotUsed | |
import akka.actor.ActorSystem | |
import akka.stream.ActorMaterializer | |
import akka.stream.ClosedShape | |
import akka.stream.FlowShape | |
import akka.stream.Graph | |
import akka.stream.javadsl.GraphDSL | |
import akka.stream.javadsl.RunnableGraph | |
import akka.stream.javadsl.Source | |
import akka.stream.scaladsl.Flow |
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
- name: install 7zip | |
win_chocolatey: | |
name: 7zip | |
state: present |
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
- name: unzip tar.gz | |
win_command: "7z x {{ tar_gz_path }} -o{{ tar_path }} -y" | |
- name: unzip tar | |
win_command: "7z x {{ tar_path }} -o{{ extracted_path } -y" |
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
buildscript { | |
repositories { | |
mavenCentral() | |
maven { | |
url "http://repository.jboss.org/nexus/content/groups/public/" | |
} | |
} | |
dependencies { | |
classpath 'org.hibernate.build.gradle:gradle-maven-publish-auth:2.0.1' | |
} |
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
FROM maven:3.5.2-jdk-8-alpine | |
COPY settings.xml ${MAVEN_CONFIG}/ |
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: | |
name: <aws_account_id>.dkr.ecr.<region>.amazonaws.com/maven | |
aws: | |
access-key: $AWS_ACCESS_KEY | |
secret-key: $AWS_SECRET_KEY | |
pipelines: | |
default: | |
- step: | |
caches: |