Created
December 19, 2018 08:37
-
-
Save burdzwastaken/0df4462ed9ce64c0efeab711f07df9e7 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
set -e | |
if [ -z $1 ]; then | |
echo "whoooops, please set team name" | |
exit | |
fi | |
cat <<EOF > /tmp/index.yaml | |
apiVersion: v1 | |
entries: | |
generated: 2018-11-08T23:28:06.79259884Z | |
EOF | |
aws-keycloak -p keycloak-power-build -- aws s3 cp /tmp/index.yaml s3://mulesoft-ci-helm-chart-repository/stable/$1/index.yaml | |
echo "index.yaml uploaded for $1 team" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Why don't you generate a new timestamp?