As we reevaluate how to best support and maintain Staging Ref in the future, we encourage development teams using this environment to highlight their use cases in the following issue: https://gitlab.com/gitlab-com/gl-infra/software-delivery/framework/software-delivery-framework-issue-tracker/-/issues/36.

Skip to content
Snippets Groups Projects
Commit 27e52681 authored by Igor Drozdov's avatar Igor Drozdov
Browse files

Try using Gitlab provided image instead

parent e50d6d0b
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -10,6 +10,9 @@ include:
variables:
DOCKER_VERSION: "20.10.15"
BUNDLE_FROZEN: "true"
GO_VERSION: "1.18"
DEBIAN_VERSION: "bullseye"
RUBY_VERSION: "2.7"
workflow:
rules: &workflow_rules
Loading
Loading
@@ -21,7 +24,7 @@ workflow:
- if: '$CI_COMMIT_TAG'
default:
image: golang:1.14
image: registry.gitlab.com/gitlab-org/gitlab-build-images/debian-${DEBIAN_VERSION}-ruby-${RUBY_VERSION}-golang-${GO_VERSION}:git-2.36
tags:
- gitlab-org
Loading
Loading
@@ -37,13 +40,7 @@ default:
variables:
GITALY_CONNECTION_INFO: '{"address":"tcp://gitaly:8075", "storage":"default"}'
before_script:
# Set up the environment to run integration tests (still written in Ruby)
- apt-get update -qq && apt-get install -y ruby ruby-dev libkrb5-dev
- ruby -v
- export PATH=~/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin
- gem install --force --bindir /usr/local/bin bundler -v 2.3.6
- bundle install
# Now set up to run the Golang tests
- make build
- cp config.yml.example config.yml
- go version
Loading
Loading
@@ -58,7 +55,6 @@ default:
tests:
extends: .test
image: golang:${GO_VERSION}
parallel:
matrix:
- GO_VERSION: ["1.17", "1.18", "1.19"]
Loading
Loading
@@ -68,7 +64,6 @@ tests:
race:
extends: .test
image: golang:1.18
script:
- make test_golang_race
Loading
Loading
@@ -80,7 +75,6 @@ code_navigation:
image: sourcegraph/lsif-go:v1.9
allow_failure: true
script:
- apt-get update -qq && apt-get install -y libkrb5-dev
- lsif-go
artifacts:
reports:
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment