Skip to content

Commit

Permalink
make default flist use tf-zos directory on the hub (#306)
Browse files Browse the repository at this point in the history
* make default flist use tf-zos directory on the hub

* use the commit has in the name of the generated flist

* upload the flist to tf-zos organization

* Update flist_build.yml
  • Loading branch information
zaibon authored Oct 3, 2019
1 parent b953302 commit da3d88e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/flist_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
if: success()
uses: threefoldtech/action-publish@v1-release
with:
user: tf-autobuilder
root: /tmp/archive
token: ${{ secrets.HUB_JWT }}
name: zos-${{ github.ref }}.tar.gz
name: zos-${{ github.sha }}.tar.gz
6 changes: 3 additions & 3 deletions bootstrap/etc/zinit/init/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,16 @@ default_param() {
runmode=$(default_param runmode prod)

# set default production flist
flist=azmy/zos:production:latest.flist
flist=tf-zos/zos:production:latest.flist

case "${runmode}" in
prod)
;;
dev)
flist=azmy/zos:development:latest.flist
flist=tf-zos/zos:development:latest.flist
;;
test)
flist=azmy/zos:testing:latest.flist
flist=tf-zos/zos:testing:latest.flist
;;
*)
echo "Invalid run mode '${runmode}'. fall back to production"
Expand Down

0 comments on commit da3d88e

Please sign in to comment.