Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Siarhei Khaletski (EPAM)
entitlements-gcp
Commits
c953dea7
Commit
c953dea7
authored
Jul 20, 2020
by
Siarhei Khaletski (EPAM)
🚩
Browse files
Changed CICD pipeline
parent
0944b25a
Pipeline
#3670
passed with stage
in 1 minute and 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
c953dea7
include
:
-
project
:
'
osdu/platform/ci-cd-pipelines'
ref
:
'
master'
file
:
'
service.gitlab-ci.yml'
# Copyright 2020 Google LLC
# Copyright 2017-2019, Schlumberger
# Copyright 2020 EPAM
#
#
# 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 ./...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment