mkdir projects/homes
docker create -v ~/projects/homes/artifactory-home/data:/var/opt/jfrog/artifactory/data -v ~/projects/homes/artifactory-home/logs:/var/opt/jfrog/artifactory/logs -v ~/projects/homes/artifactory-home/backup:/var/opt/jfrog/artifactory/backup -v ~/projects/homes/artifactory-home/etc:/var/opt/jfrog/artifactory/etc --name artifactory_home jfrog-docker-registry.bintray.io/jfrog/artifactory-pro:4.1.3
docker run -d -p 8081:8081 --volumes-from artifactory_home --name artifactory jfrog-docker-registry.bintray.io/jfrog/artifactory-pro:4.1.3
- Artifactory will not start. It starts with user
artifactory
, which can't create directories and files in host's user directory - see RTFACT-8310. But it will cerate a default file from which the username is taken. vi ~/projects/homes/artifactory-home/etc/default
//change theartifactory
user to rootdocker start artifactory
This file contains 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
--- | |
version: 1 | |
GeneralConfiguration: | |
licenseKey : "NOTAREALLICENSE" | |
baseUrl : "https://mycomp.arti.co" | |
proxies : | |
- key : "proxy1" |
This file contains 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 ThridPartyCoolApi { | |
enum Number { | |
one(1), two(2), three(3) | |
int value | |
Number(int value) { | |
this.value = value | |
} |
This file contains 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
Частое развертывание в разнообразные производственные среды увеличивает нагрузку на DevOps. Гарантировать, что приложение развернуто правильно, становится все | |
сложнее. | |
В ходе этого доклада будут рассмотрены некоторые распространенные ошибки в традиционной непрерывной интеграции, увеличивающие риск и объем ручной работы. | |
Эти ошибки приводят к проявлению человеческого фактора, заставляя DevOps нервничать перед нажатием кнопки «Deploy». | |
Далее мы продемонстрируем способы автоматизации, позволяющие преодолеть эти проблемы с помощью уже используемых популярных инструментов: | |
системы сборки (Maven, или Gradle), сервера непрерывной интеграции (Jenkins, Bamboo или TeamCity) и с помощью бинарного репозитория. | |
Вне зависимости от того, создаете ли вы программное обеспечение для облачных платформ или для собственной инфраструктуры, мы продемонстрируем, |
This file contains 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
/* | |
* Copyright (C) 2011 JFrog Ltd. | |
* | |
* 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 | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
This file contains 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
final akkaVersion = '1.0-RC1' | |
final akkaGroup = 'se.scalablesolutions.akka' | |
dependencies { | |
compile group: akkaGroup, name: 'akka', version: akkaVersion | |
compile group: akkaGroup, name: 'akka-actor', version: akkaVersion | |
compile group: akkaGroup, name: 'akka-stm', version: akkaVersion | |
compile group: akkaGroup, name: 'akka-typed-actor', version: akkaVersion | |
compile group: akkaGroup, name: 'akka-remote', version: akkaVersion |
This file contains 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 ConfigurationWithSupport { | |
@Autowired | |
private ConfigurationSupport configurationSupport; | |
@Bean | |
public SomeBean someBean() { | |
SomeFactoryBean someFactoryBean = new SomeFactoryBean(); | |
//configure your factoryBean here |
This file contains 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
Index: spring-batch-samples/src/main/resources/data-source-context.xml | |
=================================================================== | |
--- spring-batch-samples/src/main/resources/data-source-context.xml (revision 4050) | |
+++ spring-batch-samples/src/main/resources/data-source-context.xml (revision ) | |
@@ -28,6 +28,31 @@ | |
<property name="dataSource" ref="dataSource" /> | |
</bean> | |
+ <bean id="mongoInitializer" class="org.springframework.batch.mongo.config.MongoDbInitializer"> | |
+ <property name="db" ref="db"/> |
This file contains 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
--- | |
repo: "maven" #name of the Bintray repository to deploy to | |
userOrg: "optionalOr" #optinal: organization that the repository belongs to. If not set, the subject will be the user executing the call | |
name: "mypkg" #name of the package to deploy to. Will be created if not exists | |
desc: "what a fantastic package indeed!" | |
websiteUrl: "https://github.com/bintray/gradle-bintray-plugin" | |
issueTrackerUrl: "https://github.com/bintray/gradle-bintray-plugin/issues" | |
vcsUrl: "https://github.com/bintray/gradle-bintray-plugin.git" | |
licenses: # list of licenses of the package from this list: https://bintray.com/docs/api/#_footnoteref_1 | |
- "Apache-2.0" |
This file has been truncated, but you can view the full file.
This file contains 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
Could not load Logmanager "org.apache.juli.ClassLoaderLogManager" | |
java.lang.ClassNotFoundException: org.apache.juli.ClassLoaderLogManager | |
at java.net.URLClassLoader$1.run(URLClassLoader.java:366) | |
at java.net.URLClassLoader$1.run(URLClassLoader.java:355) | |
at java.security.AccessController.doPrivileged(Native Method) | |
at java.net.URLClassLoader.findClass(URLClassLoader.java:354) | |
at java.lang.ClassLoader.loadClass(ClassLoader.java:425) | |
at java.lang.ClassLoader.loadClass(ClassLoader.java:358) | |
at java.util.logging.LogManager$1.run(LogManager.java:191) | |
at java.security.AccessController.doPrivileged(Native Method) |
NewerOlder