-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Gianluca Arbezzano <[email protected]>
- Loading branch information
Gianluca Arbezzano
committed
Nov 19, 2020
1 parent
45f5934
commit 509524b
Showing
8 changed files
with
136 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ on: | |
pull_request: | ||
|
||
jobs: | ||
validation: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
on: | ||
push: | ||
tags: | ||
- "v*" | ||
name: Create release | ||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: sudo apt install -y libgpgme-dev libassuan-dev libdevmapper-dev | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: "1.15.5" | ||
- run: ./script/release-binaries.sh | ||
name: get binaries | ||
- name: Create Release | ||
id: create_release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
tag_name: ${{ github.ref }} | ||
release_name: Release ${{ github.ref }} | ||
draft: false | ||
prerelease: false | ||
- name: Upload release binaries | ||
uses: alexellis/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
asset_paths: '["./out/release/*"]' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env bash | ||
|
||
# This file gets used from generate-envrc.sh but it is also used standalone by | ||
# automation that needs to get the version of the programs currently supported | ||
# in sandbox | ||
|
||
export OSIE_DOWNLOAD_LINK=https://tinkerbell-oss.s3.amazonaws.com/osie-uploads/osie-v0-n=366,c=1aec189,b=master.tar.gz | ||
export TINKERBELL_TINK_SERVER_IMAGE=quay.io/tinkerbell/tink:sha-0e8e5733 | ||
export TINKERBELL_TINK_CLI_IMAGE=quay.io/tinkerbell/tink-cli:sha-0e8e5733 | ||
export TINKERBELL_TINK_BOOTS_IMAGE=quay.io/tinkerbell/boots:sha-e81a291c | ||
export TINKERBELL_TINK_HEGEL_IMAGE=quay.io/tinkerbell/hegel:sha-c17b512f | ||
export TINKERBELL_TINK_WORKER_IMAGE=quay.io/tinkerbell/tink-worker:sha-0e8e5733 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/usr/bin/env bash | ||
|
||
source ./current_versions.sh | ||
|
||
go run cmd/getbinariesfromquay/main.go \ | ||
-binary-to-copy /usr/bin/hegel \ | ||
-image docker://quay.io/tinkerbell/hegel:sha-c17b512f \ | ||
-program hegel | ||
|
||
go run cmd/getbinariesfromquay/main.go \ | ||
-binary-to-copy /usr/bin/boots \ | ||
-image docker://quay.io/tinkerbell/boots:sha-e81a291c \ | ||
-program boots | ||
|
||
go run cmd/getbinariesfromquay/main.go \ | ||
-binary-to-copy /usr/bin/tink-worker \ | ||
-image docker://quay.io/tinkerbell/tink-worker:sha-0e8e5733 \ | ||
-program tink-worker | ||
|
||
go run cmd/getbinariesfromquay/main.go \ | ||
-binary-to-copy /usr/bin/tink-server \ | ||
-image docker://quay.io/tinkerbell/tink:sha-0e8e5733 \ | ||
-program tink-server | ||
|
||
go run cmd/getbinariesfromquay/main.go \ | ||
-binary-to-copy /usr/bin/tink \ | ||
-image docker://quay.io/tinkerbell/tink-cli:sha-0e8e5733 \ | ||
-program tink |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters