mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
docker.com/machine (#3411)
* new file: projects/docker.com/machine/package.yml * let's try without cp/mv * update notes --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
parent
9c9e5077ad
commit
d36d643923
1 changed files with 31 additions and 0 deletions
31
projects/docker.com/machine/package.yml
Normal file
31
projects/docker.com/machine/package.yml
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
distributable:
|
||||||
|
url: https://gitlab.com/gitlab-org/ci-cd/docker-machine/-/archive/v{{version}}-gitlab.22/docker-machine-v{{version}}-gitlab.22.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
versions:
|
||||||
|
#gitlab: gitlab-org/ci-cd/docker-machine <= all recent releases are 0.16.2-gitlab.X
|
||||||
|
- 0.16.2
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
tea.xyz/gx/cc: '*'
|
||||||
|
tea.xyz/gx/make: '*'
|
||||||
|
gnu.org/automake: '*'
|
||||||
|
go.dev: '*'
|
||||||
|
linux:
|
||||||
|
curl.se: '*'
|
||||||
|
working-directory: src/github.com/docker/machine
|
||||||
|
script:
|
||||||
|
- curl -L "$URL" | tar -xz --strip-components=1
|
||||||
|
- run: |
|
||||||
|
sed -i.bak 's|GO_LDFLAGS :=|GO_LDFLAGS := -buildmode=pie|g' mk/main.mk
|
||||||
|
rm mk/*.bak
|
||||||
|
if: linux
|
||||||
|
- make build
|
||||||
|
env:
|
||||||
|
URL: https://gitlab.com/gitlab-org/ci-cd/docker-machine/-/archive/v{{version}}-gitlab.22/docker-machine-v{{version}}-gitlab.22.tar.gz
|
||||||
|
GOPATH: $SRCROOT
|
||||||
|
GO111MODULE: auto
|
||||||
|
provides:
|
||||||
|
- bin/docker-machine
|
||||||
|
test:
|
||||||
|
script:
|
||||||
|
- docker-machine --version | grep {{version}}
|
Loading…
Reference in a new issue