Create CI pipeline for 1.1.x generation
Closes gh-424
This commit is contained in:
@@ -46,7 +46,7 @@ The pipeline can be deployed using the following command:
|
||||
|
||||
[source]
|
||||
----
|
||||
$ fly -t spring-graphql set-pipeline -p spring-graphql-1.0.x -c ci/pipeline.yml -l ci/parameters.yml
|
||||
$ fly -t spring-graphql set-pipeline -p spring-graphql-1.1.x -c ci/pipeline.yml -l ci/parameters.yml
|
||||
----
|
||||
|
||||
NOTE: This assumes that you have Vault configured with the appropriate secrets.
|
||||
@@ -3,7 +3,7 @@ FROM ubuntu:focal-20220531
|
||||
ADD setup.sh /setup.sh
|
||||
ADD get-jdk-url.sh /get-jdk-url.sh
|
||||
ADD get-docker-url.sh /get-docker-url.sh
|
||||
RUN ./setup.sh java8
|
||||
RUN ./setup.sh java17
|
||||
|
||||
ENV JAVA_HOME /opt/openjdk
|
||||
ENV PATH $JAVA_HOME/bin:$PATH
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
version="20.10.14"
|
||||
version="20.10.17"
|
||||
echo "https://download.docker.com/linux/static/stable/x86_64/docker-$version.tgz";
|
||||
@@ -2,15 +2,12 @@
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
java8)
|
||||
echo "https://github.com/bell-sw/Liberica/releases/download/8u333%2B2/bellsoft-jre8u333+2-linux-amd64.tar.gz"
|
||||
;;
|
||||
java11)
|
||||
echo "https://github.com/bell-sw/Liberica/releases/download/11.0.15.1+2/bellsoft-jdk11.0.15.1+2-linux-amd64.tar.gz"
|
||||
;;
|
||||
java17)
|
||||
echo "https://github.com/bell-sw/Liberica/releases/download/17.0.3.1+2/bellsoft-jdk17.0.3.1+2-linux-amd64.tar.gz"
|
||||
;;
|
||||
java18)
|
||||
echo "https://github.com/bell-sw/Liberica/releases/download/18.0.1.1+2/bellsoft-jdk18.0.1.1+2-linux-amd64.tar.gz"
|
||||
;;
|
||||
*)
|
||||
echo $"Unknown java version"
|
||||
exit 1
|
||||
|
||||
@@ -3,7 +3,7 @@ github-repo-name: "spring-projects/spring-graphql"
|
||||
docker-hub-organization: "springci"
|
||||
artifactory-server: "https://repo.spring.io"
|
||||
branch: "main"
|
||||
milestone: "1.0.x"
|
||||
milestone: "1.1.x"
|
||||
build-name: "spring-graphql"
|
||||
pipeline-name: "spring-graphql"
|
||||
concourse-url: "https://ci.spring.io"
|
||||
|
||||
Reference in New Issue
Block a user