Skip to content

Commit

Permalink
Fix manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
jhchabran committed Oct 30, 2023
1 parent 6798170 commit 18414e5
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .buildkite/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ steps:
tar zxf sg-rfc795.tar.gz
chmod +x ./sg-rfc795
./sg-rfc795 release test --workdir=. --config-from-commit
./sg-rfc795 release run test --workdir=. --config-from-commit
- wait

Expand Down
36 changes: 36 additions & 0 deletions release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,39 @@ test:
- name: "placeholder"
cmd: |
echo "-- pretending to test release ..."
promoteToPublic:
create:
steps:
- name: "git"
cmd: |
echo "Checking out origin/release-{{version}}"
git fetch origin
git checkout origin/release-{{version}}
- name: "sg ops"
cmd: |
# TODO switch to public
sg ops update-images \
--kind k8s \
--registry internal \
--docker-username=$DOCKER_USERNAME \
--docker-password=$DOCKER_PASSWORD \
--pin-tag wip_v{{inputs.server.tag}} \
base/
- name: "git"
cmd: |
echo "Creating branch promote-release_{{version}}"
branch="promote-release_{{version}}"
git checkout -b $branch
- name: "git"
cmd: |
find . -name "*.yaml" | xargs git add
find . -name "*.yml" | xargs git add
# Careful with the quoting for the config, using double quotes will lead
# to the shell dropping out all quotes from the json, leading to failed
# parsing.
git commit -m "promote_release: {{version}}" -m '{{config}}'
- name: "github"
cmd: |
git push origin promote-release_{{version}}
gh pr create -f -t "PRETEND PROMOTE RELEASE WIP: promote-release: build {{version}}" --base release-{{version}}

0 comments on commit 18414e5

Please sign in to comment.