From 4d7d5cdb76d1b1e437e8964aa1be6dbe594b55aa Mon Sep 17 00:00:00 2001 From: myang01 Date: Wed, 27 Apr 2022 16:09:43 -0700 Subject: [PATCH 1/6] pipeline build --- screwdriver.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 screwdriver.yaml diff --git a/screwdriver.yaml b/screwdriver.yaml new file mode 100644 index 00000000..c1f0497a --- /dev/null +++ b/screwdriver.yaml @@ -0,0 +1,21 @@ +shared: + annotations: + screwdriver.cd/cpu: TURBO + screwdriver.cd/ram: TURBO + image: hseeberger/scala-sbt:11.0.11-oraclelinux8_1.5.5_2.12.13 + environment: + #Fetches history so Sonar can assign blame. + #GIT_SHALLOW_CLONE: false + +jobs: + pull-request: + requires: [ ~pr ] + steps: + - build: ./sbt clean dist + + main: + requires: [ ~commit ] + steps: + - prepare: echo "prepare" + - build: ./sbt clean dist + - publish: echo "publish" \ No newline at end of file From d955da475ad703f81d8cb64d4f3b4ed9d2772d80 Mon Sep 17 00:00:00 2001 From: myang01 Date: Wed, 27 Apr 2022 16:10:58 -0700 Subject: [PATCH 2/6] fix yaml --- screwdriver.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screwdriver.yaml b/screwdriver.yaml index c1f0497a..5b5c6d43 100644 --- a/screwdriver.yaml +++ b/screwdriver.yaml @@ -3,7 +3,7 @@ shared: screwdriver.cd/cpu: TURBO screwdriver.cd/ram: TURBO image: hseeberger/scala-sbt:11.0.11-oraclelinux8_1.5.5_2.12.13 - environment: + #environment: #Fetches history so Sonar can assign blame. #GIT_SHALLOW_CLONE: false From 91034b6104b6df6dc9011243a55b0630004d37dc Mon Sep 17 00:00:00 2001 From: myang01 Date: Thu, 28 Apr 2022 11:54:39 -0700 Subject: [PATCH 3/6] fix image --- screwdriver.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screwdriver.yaml b/screwdriver.yaml index 5b5c6d43..bb959f7e 100644 --- a/screwdriver.yaml +++ b/screwdriver.yaml @@ -2,7 +2,7 @@ shared: annotations: screwdriver.cd/cpu: TURBO screwdriver.cd/ram: TURBO - image: hseeberger/scala-sbt:11.0.11-oraclelinux8_1.5.5_2.12.13 + image: hseeberger/scala-sbt:8u222_1.3.5_2.13.1 #environment: #Fetches history so Sonar can assign blame. #GIT_SHALLOW_CLONE: false From 2ae0b3483f8faf5971f921f378f3cb56bb6dd1fa Mon Sep 17 00:00:00 2001 From: myang01 Date: Thu, 28 Apr 2022 12:01:46 -0700 Subject: [PATCH 4/6] use 2.12.13 --- screwdriver.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screwdriver.yaml b/screwdriver.yaml index bb959f7e..520de1b4 100644 --- a/screwdriver.yaml +++ b/screwdriver.yaml @@ -2,7 +2,7 @@ shared: annotations: screwdriver.cd/cpu: TURBO screwdriver.cd/ram: TURBO - image: hseeberger/scala-sbt:8u222_1.3.5_2.13.1 + image: hseeberger/scala-sbt:8u282_1.5.5_2.12.13 #environment: #Fetches history so Sonar can assign blame. #GIT_SHALLOW_CLONE: false From b6bcc8498a4cca673413b14ca347d54402f54708 Mon Sep 17 00:00:00 2001 From: myang01 Date: Thu, 28 Apr 2022 14:52:13 -0700 Subject: [PATCH 5/6] use 11.0.14.1_1.6.2_2.12.15 --- screwdriver.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screwdriver.yaml b/screwdriver.yaml index 520de1b4..68516073 100644 --- a/screwdriver.yaml +++ b/screwdriver.yaml @@ -2,7 +2,7 @@ shared: annotations: screwdriver.cd/cpu: TURBO screwdriver.cd/ram: TURBO - image: hseeberger/scala-sbt:8u282_1.5.5_2.12.13 + image: hseeberger/scala-sbt:11.0.14.1_1.6.2_2.12.15 #environment: #Fetches history so Sonar can assign blame. #GIT_SHALLOW_CLONE: false From 09b137fb3714e5245d3774ac6b7fbf1a72e13387 Mon Sep 17 00:00:00 2001 From: myang01 Date: Thu, 28 Apr 2022 15:50:52 -0700 Subject: [PATCH 6/6] pr test --- screwdriver.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screwdriver.yaml b/screwdriver.yaml index 68516073..f43cefb2 100644 --- a/screwdriver.yaml +++ b/screwdriver.yaml @@ -11,7 +11,7 @@ jobs: pull-request: requires: [ ~pr ] steps: - - build: ./sbt clean dist + - build: ./sbt clean test main: requires: [ ~commit ]