File tree 4 files changed +61
-7
lines changed
4 files changed +61
-7
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- echo " --- This is the verify pipeline for train-k8s-container"
3
+ echo " --- This is the coverage pipeline for train-k8s-container"
4
4
5
5
# Fetch tokens from vault ASAP so that long-running tests don't cause our vault token to expire
6
6
echo " --- installing vault"
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ set -ue
4
+
5
+ export USER=" root"
6
+ export LANG=C.UTF-8 LANGUAGE=C.UTF-8
7
+
8
+ echo " --- bundle install"
9
+ bundle config --local path vendor/bundle
10
+ bundle install --jobs=7 --retry=3
11
+
12
+ echo " +++ bundle exec task"
13
+ bundle exec $@
14
+ RAKE_EXIT=$?
15
+
16
+ exit $RAKE_EXIT
Original file line number Diff line number Diff line change 11
11
12
12
- label : coverage-pipeline-with-ruby-3.0
13
13
command :
14
- - CI_ENABLE_COVERAGE=1 RAKE_TASK=spec /workdir/.expeditor/buildkite/verify .sh # TODO: Update command as needed
14
+ - CI_ENABLE_COVERAGE=1 /workdir/.expeditor/buildkite/coverage .sh
15
15
expeditor :
16
16
secrets : true
17
17
executor :
Original file line number Diff line number Diff line change
1
+ ---
2
+ expeditor :
3
+ cached_folders :
4
+ - vendor
5
+ defaults :
6
+ buildkite :
7
+ retry :
8
+ automatic :
9
+ limit : 1
10
+ timeout_in_minutes : 30
11
+
1
12
steps :
2
- - label : " A simple echo!"
3
- expeditor :
4
- executor :
5
- docker :
6
- command : echo "Hello from train-k8s-container!"
13
+
14
+ - label : lint-chefstyle
15
+ command :
16
+ - /workdir/.expeditor/buildkite/run_linux_tests.sh "rake style"
17
+ expeditor :
18
+ executor :
19
+ docker :
20
+ image : ruby:3.0
21
+
22
+ - label : run-specs-ruby-3.0
23
+ command :
24
+ - /workdir/.expeditor/buildkite/run_linux_tests.sh "rake spec"
25
+ expeditor :
26
+ executor :
27
+ docker :
28
+ image : ruby:3.0
29
+
30
+ - label : run-specs-ruby-3.1
31
+ command :
32
+ - /workdir/.expeditor/buildkite/run_linux_tests.sh "rake spec"
33
+ expeditor :
34
+ executor :
35
+ docker :
36
+ image : ruby:3.1
37
+
38
+ - label : run-specs-ruby-3.1
39
+ command :
40
+ - /workdir/.expeditor/buildkite/run_linux_tests.sh "rake spec"
41
+ expeditor :
42
+ executor :
43
+ docker :
44
+ image : ruby:3.1
You can’t perform that action at this time.
0 commit comments