diff --git a/tests/cli/test_build_and_deploy_azure.sh b/tests/cli/test_build_and_deploy_azure.sh index 61a23899..2023edb9 100755 --- a/tests/cli/test_build_and_deploy_azure.sh +++ b/tests/cli/test_build_and_deploy_azure.sh @@ -101,6 +101,8 @@ rlJournalStart rlRun -t -c "ssh-keygen -t rsa -N '' -f $SSH_KEY_DIR/id_rsa" SSH_PUB_KEY=`cat $SSH_KEY_DIR/id_rsa.pub` + now=$(date -u '+%FT%T') + TMP_DIR=`mktemp -d /tmp/composer-azure.XXXXX` cat > $TMP_DIR/azure-playbook.yaml << __EOF__ --- @@ -121,6 +123,8 @@ rlJournalStart image: name: $OS_IMAGE_NAME resource_group: $AZURE_RESOURCE_GROUP + tags: + "first_seen": "$now" __EOF__ rlRun -t -c "ansible-playbook $TMP_DIR/azure-playbook.yaml"