-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
195 changed files
with
6,596 additions
and
252 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,50 +34,50 @@ jobs: | |
--build-arg nexusPassword=s3cr3t \ | ||
. | ||
jenkins-agent-nodejs12-ubi8: | ||
name: Jenkins agent NodeJS 12 (UBI8) | ||
jenkins-agent-nodejs16-ubi8: | ||
name: Jenkins agent NodeJS 16 (UBI8) | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- | ||
name: Checkout repository | ||
uses: actions/[email protected] | ||
- | ||
name: Build docker image | ||
working-directory: common/jenkins-agents/nodejs12/docker | ||
working-directory: common/jenkins-agents/nodejs16/docker | ||
run: | | ||
docker build --tag agent-nodejs12-test-ubi8 --file Dockerfile.ubi8 \ | ||
docker build --tag agent-nodejs16-test-ubi8 --file Dockerfile.ubi8 \ | ||
--build-arg nexusUrl=https://nexus.example.com \ | ||
--build-arg nexusAuth=developer:s3cr3t \ | ||
. | ||
jenkins-agent-nodejs16-ubi8: | ||
name: Jenkins agent NodeJS 16 (UBI8) | ||
jenkins-agent-nodejs18-ubi8: | ||
name: Jenkins agent NodeJS 18 (UBI8) | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- | ||
name: Checkout repository | ||
uses: actions/[email protected] | ||
- | ||
name: Build docker image | ||
working-directory: common/jenkins-agents/nodejs16/docker | ||
working-directory: common/jenkins-agents/nodejs18/docker | ||
run: | | ||
docker build --tag agent-nodejs16-test-ubi8 --file Dockerfile.ubi8 \ | ||
docker build --tag agent-nodejs18-test-ubi8 --file Dockerfile.ubi8 \ | ||
--build-arg nexusUrl=https://nexus.example.com \ | ||
--build-arg nexusAuth=developer:s3cr3t \ | ||
. | ||
jenkins-agent-nodejs18-ubi8: | ||
name: Jenkins agent NodeJS 18 (UBI8) | ||
jenkins-agent-nodejs20-ubi8: | ||
name: Jenkins agent NodeJS 20 (UBI8) | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- | ||
name: Checkout repository | ||
uses: actions/checkout@v3.5.3 | ||
uses: actions/checkout@v4.1.1 | ||
- | ||
name: Build docker image | ||
working-directory: common/jenkins-agents/nodejs18/docker | ||
working-directory: common/jenkins-agents/nodejs20/docker | ||
run: | | ||
docker build --tag agent-nodejs18-test-ubi8 --file Dockerfile.ubi8 \ | ||
docker build --tag agent-nodejs20-test-ubi8 --file Dockerfile.ubi8 \ | ||
--build-arg nexusUrl=https://nexus.example.com \ | ||
--build-arg nexusAuth=developer:s3cr3t \ | ||
. | ||
|
@@ -95,6 +95,22 @@ jobs: | |
run: | | ||
docker build --tag agent-python-test-ubi8 --file Dockerfile.ubi8 . | ||
jenkins-agent-rust-ubi8: | ||
name: Jenkins agent Rust (UBI8) | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- | ||
name: Checkout repository | ||
uses: actions/[email protected] | ||
- | ||
name: Build docker image | ||
working-directory: common/jenkins-agents/rust/docker | ||
run: | | ||
docker build --tag agent-rust-test-ubi8 --file Dockerfile.ubi8 \ | ||
--build-arg rustVersion=1.75.0 \ | ||
--build-arg rustToolchain=x86_64-unknown-linux-gnu \ | ||
. | ||
jenkins-agent-terraform-ubi8: | ||
name: Jenkins agent Terraform (UBI8) | ||
runs-on: ubuntu-22.04 | ||
|
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
name: nginx | ||
description: "Enhanced nginx with Lua embeded. nginx [engine x] is an HTTP and reverse proxy server, a mail proxy server, and a generic TCP/UDP proxy server. Technologies: OpenResty/nginx 1.19.3.2" | ||
description: "Enhanced nginx with Lua embeded. nginx [engine x] is an HTTP and reverse proxy server, a mail proxy server, and a generic TCP/UDP proxy server. Technologies: OpenResty/nginx 1.25.3.1-1" | ||
supplier: https://openresty.org | ||
version: 4.x | ||
type: ods-service |
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
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
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
2 changes: 1 addition & 1 deletion
2
be-java-springboot/files/gradle/wrapper/gradle-wrapper.properties
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.2-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
name: OpenJDK | ||
description: "OpenJDK is a free and open-source implementation of the Java Platform, Standard Edition. Technologies: Spring Boot 2.1, OpenJDK 17" | ||
description: "OpenJDK is a free and open-source implementation of the Java Platform, Standard Edition. Technologies: Spring Boot 3.2.0, OpenJDK 21" | ||
supplier: https://openjdk.java.net/ | ||
version: 4.x | ||
type: ods |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
--- | ||
name: Flask | ||
description: "Flask is a micro web framework written in Python. Technologies: Flask 2.2.2, Python 3.9" | ||
description: "Flask is a micro web framework written in Python. Technologies: Flask 3.0.0, Python 3.11" | ||
supplier: https://www.palletsprojects.com/p/flask/ | ||
version: 4.x | ||
type: ods |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
gunicorn==20.1.0 | ||
flask==2.3.2 | ||
gunicorn==21.2.0 | ||
flask==3.0.0 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
-r ./requirements.txt | ||
|
||
mypy==1.3.0 | ||
flake8==6.0.0 | ||
pytest==7.3.1 | ||
mypy==1.7.1 | ||
flake8==6.1.0 | ||
pytest==7.4.3 | ||
pytest-cov==4.1.0 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
def odsNamespace = '' | ||
def odsGitRef = '' | ||
def odsImageTag = '' | ||
def sharedLibraryRef = '' | ||
def agentImageTag = '' | ||
|
||
node { | ||
odsNamespace = env.ODS_NAMESPACE ?: 'ods' | ||
odsGitRef = env.ODS_GIT_REF ?: 'master' | ||
odsImageTag = env.ODS_IMAGE_TAG ?: 'latest' | ||
sharedLibraryRef = env.SHARED_LIBRARY_REF ?: odsImageTag | ||
agentImageTag = env.AGENT_IMAGE_TAG ?: odsImageTag | ||
} | ||
|
||
library("ods-jenkins-shared-library@${sharedLibraryRef}") | ||
|
||
odsQuickstarterPipeline( | ||
imageStreamTag: "${odsNamespace}/jenkins-agent-rust:${agentImageTag}", | ||
) { context -> | ||
|
||
// https://cargo-generate.github.io/cargo-generate/index.html | ||
stage('Cargo Generate project') { | ||
sh( | ||
script: "cargo generate --path ${context.sourceDir}/rust-template --name ${context.projectId}-${context.componentId}", | ||
label: "Process Rust template" | ||
) | ||
sh( | ||
script: "mv ${context.projectId}-${context.componentId} ${context.sourceDir}/files", | ||
label: "Create files folder" | ||
) | ||
} | ||
|
||
odsQuickstarterStageCopyFiles(context) | ||
|
||
odsQuickstarterStageRenderJenkinsfile(context) | ||
|
||
odsQuickstarterStageRenderSonarProperties(context) | ||
} |
Oops, something went wrong.