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
| using AutomationTool; | |
| using EpicGames.Core; | |
| using UnrealBuildTool; | |
| namespace Deployment.Automation.Config; | |
| /** | |
| * This class is a subset of AutomationTool.ProjectParams | |
| */ | |
| public class BuildParams |
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
| pipeline { | |
| agent none | |
| options { | |
| disableConcurrentBuilds() | |
| } | |
| stages { | |
| stage('checkout_repo') { | |
| agent { |
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
| @Configuration | |
| public class DataSourceConfiguration { | |
| @Autowired | |
| private WebApplicationContext context; | |
| @Value("${spring.datasource.url}") | |
| private String url; | |
| @Value("${spring.datasource.username}") | |
| private String username; |
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
| 11-20 01:54:11.128: W/Tycho(16840): [973] bm.b: Error executing activateSubscription() | |
| 11-20 01:54:11.128: W/Tycho(16840): SwitchingException code=UICC_LOGICAL_CHANNEL_UNSUCCESSFUL_STATUS mUiccResponseStatus=6985 desc=Unsuccessful return code. openLogicalChannelStatus=1 internalException=null | |
| 11-20 01:54:11.128: W/Tycho(16840): at com.google.android.apps.tycho.util.bk.a(SourceFile:258) | |
| 11-20 01:54:11.128: W/Tycho(16840): at com.google.android.apps.tycho.util.bk.a(SourceFile:171) | |
| 11-20 01:54:11.128: W/Tycho(16840): at com.google.android.apps.tycho.b.a.a.a(SourceFile:7225) | |
| 11-20 01:54:11.128: W/Tycho(16840): at com.google.android.apps.tycho.g.d.a(SourceFile:125) | |
| 11-20 01:54:11.128: W/Tycho(16840): at com.google.android.apps.tycho.g.f.a(SourceFile:50227) | |
| 11-20 01:54:11.128: W/Tycho(16840): at com.google.android.apps.tycho.g.f.a(SourceFile:819) | |
| 11-20 01:54:11.128: W/Tycho(16840): at com.google.android.apps.tycho.g.f.a(SourceFile:43557) | |
| 11-20 01:54:11.128: W/Tycho(16840): at com.google.android.apps.tycho.s |
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 | |
| set -ex | |
| # parameters | |
| DOMAIN_CONTROLLER= | |
| DOMAIN_CONTROLLER_IP= | |
| AD_HOST= | |
| BASE_DN= | |
| S3_BUCKET= | |
| # separate domains with a space |
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 | |
| APP_ARGS="-Dhttp.port=8000 -Xmx512M -Xms128M -XX:PermSize=256m -XX:MaxPermSize=256m" |
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 | |
| DESC="Play application service" | |
| NAME=play-application-service | |
| PIDFILE=/opt/$NAME/RUNNING_PID | |
| # result of operation | |
| result=0 | |
| # Load the helper fuctions |
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
| fire_http_request (URL, Method, ReqData, State) -> | |
| %% ... prep code here | |
| Options = [{connect_timeout, TimeoutMs}, | |
| {max_sessions, MaxConn}, | |
| {response_format, binary}, | |
| {stream_to, {self(), once}}], | |
| case ibrowse:send_req(URL, ReqLHeadersHost, Method, ReqLBody, Options) of | |
| {ibrowse_req_id, ReqId} -> | |
| case ibrowse:stream_next(ReqId) of |
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
| %% log in with the request token | |
| %% will return the verifier | |
| login(LoginUrl, User, Pass, RequestToken, Domain) -> | |
| PostData = build_post_data([ | |
| {"email", User}, | |
| {"password", Pass}, | |
| {"oauth_token", RequestToken} | |
| ]), | |
| Request = {LoginUrl, [], "application/x-www-form-urlencoded", PostData}, | |
| %% turn on cookies |
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
| oauth_post(header, URL, Params, Consumer, Token, TokenSecret, Realm, Domain) -> | |
| Signed = oauth:sign("POST", URL, Params, Consumer, Token, TokenSecret), | |
| {AuthorizationParams, QueryParams} = lists:partition(fun({K, _}) -> lists:prefix("oauth_", K) end, Signed), | |
| Request = {oauth:uri(URL, QueryParams), header(AuthorizationParams, Domain, Realm), | |
| "application/x-www-form-urlencoded", ""}, | |
| httpc:request(post, Request, [{autoredirect, false}], [{headers_as_is, true}]). | |
| header(Params, Domain, Realm) -> | |
| RealmHeader = string:concat(string:concat("OAuth realm=\"", Realm), "\", "), | |
| [{"Host", Domain}, |