Re-build with cache changes
This commit is contained in:
parent
78171c86c0
commit
ca3f9f1709
@ -17,15 +17,19 @@ glide-install:
|
||||
- glide install
|
||||
- cd $CI_PROJECT_DIR
|
||||
- mkdir -p build/i386 build/amd64 build/armv7
|
||||
- tar -zcf cache.tgz src/meow.tf/deb-simple/vendor
|
||||
cache:
|
||||
key: "pipeline-$CI_PIPELINE_ID"
|
||||
policy: push
|
||||
paths:
|
||||
- src/meow.tf/deb-simple/vendor
|
||||
- cache.tgz
|
||||
|
||||
build-i386:
|
||||
stage: build
|
||||
script:
|
||||
- echo "Extracting vendor files..."
|
||||
- tar -xf cache.tgz
|
||||
- echo "Building i386 binary..."
|
||||
- mkdir -p build/i386
|
||||
- GOOS=linux GOARCH=386 go build -o build/i386/deb-simple
|
||||
artifacts:
|
||||
@ -35,11 +39,14 @@ build-i386:
|
||||
key: "pipeline-$CI_PIPELINE_ID"
|
||||
policy: pull
|
||||
paths:
|
||||
- src/meow.tf/deb-simple/vendor
|
||||
- cache.tgz
|
||||
|
||||
build-amd64:
|
||||
stage: build
|
||||
script:
|
||||
- echo "Extracting vendor files..."
|
||||
- tar -xf cache.tgz
|
||||
- echo "Building amd64 binary..."
|
||||
- mkdir -p build/amd64
|
||||
- go build -o build/amd64/deb-simple
|
||||
artifacts:
|
||||
@ -49,11 +56,14 @@ build-amd64:
|
||||
key: "pipeline-$CI_PIPELINE_ID"
|
||||
policy: pull
|
||||
paths:
|
||||
- src/meow.tf/deb-simple/vendor
|
||||
- cache.tgz
|
||||
|
||||
build-armv7:
|
||||
stage: build
|
||||
script:
|
||||
- echo "Extracting vendor files..."
|
||||
- tar -xf cache.tgz
|
||||
- echo "Building armv7 binary..."
|
||||
- mkdir -p build/armv7
|
||||
- GOOS=linux GOARCH=arm GOARM=7 go build -o build/armv7/deb-simple
|
||||
artifacts:
|
||||
@ -63,7 +73,7 @@ build-armv7:
|
||||
key: "pipeline-$CI_PIPELINE_ID"
|
||||
policy: pull
|
||||
paths:
|
||||
- src/meow.tf/deb-simple/vendor
|
||||
- cache.tgz
|
||||
|
||||
package:
|
||||
stage: package
|
||||
|
8
src/meow.tf/deb-simple/glide.lock
generated
8
src/meow.tf/deb-simple/glide.lock
generated
@ -1,12 +1,12 @@
|
||||
hash: 33760adb1090508f6d56dfc1d600a664790a280e5fc4d84cb26a7e11ad0f1f35
|
||||
updated: 2017-06-11T20:13:27.6668377-04:00
|
||||
hash: 1a6d5cdf757d6be4cab4e8b0d2224a38038fb086e135b15282ba85d02c54368a
|
||||
updated: 2017-09-14T00:26:28.2385236-04:00
|
||||
imports:
|
||||
- name: github.com/blakesmith/ar
|
||||
version: 8bd4349a67f2533b078dbc524689d15dba0f4659
|
||||
- name: github.com/blang/semver
|
||||
version: b38d23b8782a487059e8fc8773e9a5b228a77cb6
|
||||
version: 2ee87856327ba09384cabd113bc6b5d174e9ec0f
|
||||
- name: github.com/go-ini/ini
|
||||
version: d3de07a94d22b4a0972deb4b96d790c2c0ce8333
|
||||
version: 20b96f641a5ea98f2f8619ff4f3e061cff4833bd
|
||||
- name: golang.org/x/crypto
|
||||
version: 7e9105388ebff089b3f99f0ef676ea55a6da3a7e
|
||||
subpackages:
|
||||
|
@ -1,4 +1,4 @@
|
||||
package: .
|
||||
package: meow.tf/deb-simple
|
||||
import:
|
||||
- package: github.com/blakesmith/ar
|
||||
- package: golang.org/x/crypto
|
||||
|
Loading…
Reference in New Issue
Block a user