-
Notifications
You must be signed in to change notification settings - Fork 176
Automate project customization #55
Comments
Here are some things I've had to change in spring-cloud-pipelines to use it at other companies:
|
What did you have to do exactly to solve this?
Nothing really that we can customize out of the box I guess
It's enough to pass the
Rollback , deploy to stage can be easily removed from Concourse by removing sections of YAML and binding them back together. In Jenkins it's a switch for the Jenkins JOB Dsl, and for Declarative Pipeline you have to remove part of the code. I guess it makes more sense to manually tweak that. WDYT?
That's tricky... and I think very custom.
Now it's enough to pass the
Moved to #94
With the change that you've added with custom scripts you can easily override the default behaviour. For Jenkins it's enough to pass the
Where is the PR? :P Can you at least point me to the code? |
Customization of // insert your DockerHub username
String username="dockeruser"
// insert your DockerHub password
String password="dockerpass"
// insert your DockerHub email
String email="[email protected]"
// modify these if you want to connect to some other instance
String artifactoryId="artifactory-local"
String artifactoryUser="admin"
String artifactoryPass="password"
new File("/root/.m2/settings.xml").text = """
<?xml version="1.0" encoding="UTF-8"?>
<settings>
<servers>
<server>
<id>${artifactoryId}</id>
<username>${artifactoryUser}</username>
<password>${artifactoryPass}</password>
</server>
<server>
<id>docker-repo</id>
<username>${username}</username>
<password>${password}</password>
<configuration>
<email>${email}</email>
</configuration>
</server>
</servers>
</settings>
"""
new File("/root/.gradle/gradle.properties").text="""
M2_SETTINGS_REPO_USERNAME=${artifactoryUser}
M2_SETTINGS_REPO_PASSWORD=${artifactoryPass}
DOCKER_USERNAME=${username}
DOCKER_PASSWORD=${password}
DOCKER_EMAIL=${email}
"""
println "Done!" |
Added the CLI to do some initial customization (http://cloud.spring.io/spring-cloud-pipelines/multi/multi__customizing_the_project.html) |
Uh oh!
There was an error while loading. Please reload this page.
Under this issue please comment on what you had to manually customize in the project so that it suit the needs for your company.
settings.xml
/gradle.properties
The text was updated successfully, but these errors were encountered: