Skip to content

Commit

Permalink
add .gitlab-ci.yml crossplane-contrib#27
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirill Sushkov (teeverr) committed Jun 3, 2024
1 parent e99f680 commit 08b0552
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ stages:
.base:
image: tde-green-public-docker-local.artifactory.swisscom.com/golang:1.21.2-bookworm
variables:
# GIT_SUBMODULE_STRATEGY: recursive
http_proxy: http://server-proxy.corproot.net:8080
https_proxy: http://server-proxy.corproot.net:8080
noproxy: '127.0.0.1,localhost,code.swisscom.com,git.swisscom.com,artifactory.swisscom.com,bin.swisscom.com,icp.swisscom.com'
Expand All @@ -27,8 +28,8 @@ lint:
allow_failure: true
script:
- make submodules
- make go.modules.tidy
- make vendor vendor.check
- .cache/tools/linux_x86_64/golangci-lint-v1.54.2 cache status
- make lint

build:
Expand All @@ -44,5 +45,6 @@ build:
BUILD_TYPE=development
fi
echo "this build classified as ${BUILD_TYPE} based on tag ${CI_COMMIT_TAG}"
- make submodules
- make build.all VERSION=$CI_COMMIT_TAG PLATFORMS=linux_amd64
- make publish.artifacts PLATFORMS=linux_amd64 XPKG_REG_ORGS=${DESTINATION_REGISTRY}/provider-aws VERSION=${CI_COMMIT_TAG}

0 comments on commit 08b0552

Please sign in to comment.