Commit c953dea7 authored by Siarhei Khaletski (EPAM)'s avatar Siarhei Khaletski (EPAM) 🚩
Browse files

Changed CICD pipeline

parent 0944b25a
Pipeline #3670 passed with stage
in 1 minute and 51 seconds
include: # Copyright 2020 Google LLC
- project: 'osdu/platform/ci-cd-pipelines' # Copyright 2017-2019, Schlumberger
ref: 'master' # Copyright 2020 EPAM
file: 'service.gitlab-ci.yml' #
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
image: golang:buster
stages:
- test
verify:
stage: test
script:
- apt-get update
- go get -u github.com/golang/dep/cmd/dep
- export GOPATH=$(pwd)
- cd src/entitlements
- dep ensure
- CGO_ENABLED=0 GOOS=linux go build -a -o app_entl .
- go test ./...
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment