File tree Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Expand file tree Collapse file tree 2 files changed +46
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : ' Run windup integration tests'
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ push :
6
+ pull_request :
7
+
8
+ jobs :
9
+ run-windup-test :
10
+ name : Run windup tests
11
+ runs-on : ubuntu-20.04
12
+ strategy :
13
+ fail-fast : false
14
+ steps :
15
+ - uses : actions/checkout@v3
16
+ - name : build base Dockerfile
17
+ run : docker build -f Dockerfile -t quay.io/konveyor/jdtls-server-base:testing .
18
+ - name : build testing Dockerfile
19
+ run : docker build -f test/Dockerfile -t testing .
20
+ - name : Run openshift tests
21
+ run : docker run -it testing test /windup-rulesets/rules/rules-reviewed/openshift
22
+ - name : Run azure tests
23
+ run : docker run -it testing test /windup-rulesets/rules/rules-reviewed/azure
Original file line number Diff line number Diff line change
1
+ FROM golang:1.18 as builder
2
+
3
+ WORKDIR /windup-shim
4
+ RUN git clone -b master --single-branch https://github.com/fabianvf/windup-rulesets-yaml.git /windup-shim
5
+ RUN go build -o windup-shim main.go
6
+
7
+ WORKDIR /analyzer-lsp
8
+ RUN git clone -b main --single-branch https://github.com/konveyor/analyzer-lsp.git /analyzer-lsp
9
+ RUN make build
10
+
11
+ FROM quay.io/konveyor/jdtls-server-base:testing
12
+
13
+ COPY --from=builder /analyzer-lsp/konveyor-analyzer /usr/bin/konveyor-analyzer
14
+ COPY --from=builder /analyzer-lsp/provider_container_settings.json /analyzer-lsp/provider_settings.json
15
+
16
+ RUN microdnf install git -y
17
+ RUN git clone -b master --depth=1 --progress --verbose --single-branch https://github.com/windup/windup-rulesets.git /windup-rulesets
18
+
19
+ COPY --from=builder /windup-shim/windup-shim /usr/bin/windup-shim
20
+
21
+ WORKDIR /windup-shim
22
+
23
+ ENTRYPOINT ["windup-shim" ]
You can’t perform that action at this time.
0 commit comments