Skip to content

Instantly share code, notes, and snippets.

@burdzwastaken
Created December 19, 2018 08:37
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save burdzwastaken/0df4462ed9ce64c0efeab711f07df9e7 to your computer and use it in GitHub Desktop.
Save burdzwastaken/0df4462ed9ce64c0efeab711f07df9e7 to your computer and use it in GitHub Desktop.
#!/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"
@tosih
Copy link

tosih commented Oct 4, 2019

Why don't you generate a new timestamp?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment