This repository is currently being migrated. It's locked while the migration is in progress.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
34 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
language: go | ||
dist: bionic | ||
services: | ||
- docker | ||
go: | ||
- 1.13.5 | ||
env: | ||
global: | ||
- CONTAINER_TAG=v1.17.0 | ||
script: | ||
- docker build . -f kube-scheduler/Dockerfile -t storageos/kube-scheduler:latest | ||
deploy: | ||
- provider: script | ||
script: bash publish.sh | ||
on: | ||
tags: true |
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,10 @@ | ||
## kube-scheduler release branch | ||
|
||
This branch is for automated release of kube-scheduler container images only. | ||
To create a new release, ensure that the `CONTAINER_TAG` in .travis.yaml is the | ||
tag for the new release and create a git tag from this branch, `kube-scheduler`. | ||
Git tags trigger a release build in the CI. Changes to the branch only builds | ||
the container image. | ||
|
||
Any change related to kube-scheduler build, including k8s version upgrade, | ||
should be done in the [Dockerfile](kube-scheduler/Dockerfile). |
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,8 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -Eeuxo pipefail | ||
|
||
docker login -u "$REGISTRY_USER" -p "$REGISTRY_KEY" "$CONTAINER_REGISTRY" | ||
NEW_IMAGE="$CONTAINER_REGISTRY/$PID/kube-scheduler:$CONTAINER_TAG" | ||
docker tag storageos/kube-scheduler:latest "$NEW_IMAGE" | ||
docker push "$NEW_IMAGE" |