This file contains 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
#!/usr/bin/env bash | |
NEW_VERSION="2.7.14" | |
CURRENT_VERSION="$(python -V 2>&1)" | |
if [[ "$CURRENT_VERSION" == "Python $NEW_VERSION" ]]; then | |
echo "Python $NEW_VERSION already installed, aborting." | |
else | |
echo "Starting upgrade from ${CURRENT_VERSION} to ${NEW_VERSION}" |
This file contains 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 | |
# | |
# Will rotate the credentials for the user and account that you have | |
# currently configured. It will print the shell `export` lines to use | |
# the creds. | |
# | |
# If you team uses STS with MFA to access the API, you must use those | |
# STS credentials. | |
# |