-
Notifications
You must be signed in to change notification settings - Fork 17
Addition of new release and tag workflow files #16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
dan-tw
merged 15 commits into
ScalablePixelStreaming:v1.0.0
from
adrianZahra:newworkflows
Mar 22, 2023
Merged
Changes from 1 commit
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
f1c4482
updated the release file and renamedit
adrianZahra 78a1db3
added tag-workflow.yaml for workflows when tagging
adrianZahra 4ab8ec7
added build images file that kicks off docker file
adrianZahra d2b3ee0
added dockerfile for http container
adrianZahra baf55eb
removed using go in the tag-workflow
adrianZahra 41b79bb
changed some names and comments that did not reflect the intentions o…
adrianZahra 2732d42
removed installing zip from tag-workflow
adrianZahra b763fab
removed cw and aws workflow and just add one workflow
adrianZahra 292590a
renamed docker file
adrianZahra a459a4f
corrected comment from aws to library
adrianZahra 66f9548
removed aws specific comment
adrianZahra f255212
removed unneeded build images script
adrianZahra 0134cca
updated tag workflow with changes from testing
adrianZahra 464f644
added the refinements from workflow testing and fixed comments
adrianZahra 4639b43
updated sps-frontend dockerfile with the correct add path
adrianZahra File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,35 @@ | ||
| #!/usr/bin/env bash | ||
|
|
||
| # The version we're building, defaults to dev | ||
| VERSION=0.0.0-devel | ||
| CLOUD_PROVIDER=local | ||
|
|
||
| # Read the version flag if given | ||
| num=0 | ||
| for var in "$@" | ||
| do | ||
| eval flag="\$$num" | ||
|
|
||
| if [[ $flag == "--provider" ]]; then | ||
| ((num=num+1)) | ||
| eval CLOUD_PROVIDER="\$$num" | ||
| fi | ||
|
|
||
| if [[ $flag == "--version" ]]; then | ||
| ((num=num+1)) | ||
| eval VERSION="\$$num" | ||
| fi | ||
|
|
||
| ((num=num+1)) | ||
|
|
||
| done | ||
|
|
||
| # Define our base images | ||
| IMG_HTTP_SERVER="tensorworks/sps-http-server" | ||
adrianZahra marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| # Build all our core containers as background tasks | ||
| echo -e '*\n!bin/linux/amd64/*' > .dockerignore | ||
| docker build -t "$IMG_HTTP_SERVER:$VERSION-$CLOUD_PROVIDER" -f dockerfiles/http-server.dockerfile . | ||
|
|
||
| # push them containers to docker (3 at a time) | ||
| docker push "$IMG_HTTP_SERVER:$VERSION-$CLOUD_PROVIDER" | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.