diff --git a/.github/workflows/git-backup.yml b/.github/workflows/git-backup.yml new file mode 100644 index 000000000000..e50ae4207f77 --- /dev/null +++ b/.github/workflows/git-backup.yml @@ -0,0 +1,39 @@ +name: Backup Rasa repo to S3 +on: + schedule: + # Run cron job at 7AM Monday to Sunday. + - cron: "0 7 * * *" + workflow_dispatch: + +permissions: + id-token: write + contents: read + +jobs: + backup: + runs-on: ubuntu-22.04 + steps: + - name: Checkout repository + uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c + with: + fetch-depth: 0 + + - name: Configure AWS credentials + uses: aws-actions/configure-aws-credentials@8c3f20df09ac63af7b3ae3d7c91f105f857d8497 #v3.0.1 + with: + role-to-assume: ${{ secrets.GIT_BACKUP_ROLE_ARN }} + aws-region: ${{ secrets.GIT_BACKUP_REGION }} + + # Determine the date in the right format for us to tag the image. + - name: Get current date + id: date + run: echo "date=$(date +'%Y%m%d')" >> $GITHUB_OUTPUT + + - name: Create Git bundle + run: git bundle create --progress rasa-${{ steps.date.outputs.date }}.bundle --all + + - name: Verify Git bundle + run: git bundle verify rasa-${{ steps.date.outputs.date }}.bundle + + - name: Upload bundle to S3 + run: aws s3 cp rasa-${{ steps.date.outputs.date }}.bundle s3://${{ secrets.GIT_BACKUP_BUCKET }}/rasa/ \ No newline at end of file diff --git a/docs/docs/sources/rasa_interactive___help.txt b/docs/docs/sources/rasa_interactive___help.txt index c3458bff7505..2c3f6a903d2e 100644 --- a/docs/docs/sources/rasa_interactive___help.txt +++ b/docs/docs/sources/rasa_interactive___help.txt @@ -39,7 +39,7 @@ options: --conversation-id CONVERSATION_ID Specify the id of the conversation the messages are in. Defaults to a UUID that will be randomly - generated. (default: a7ee6fdf181946c9ab1813ba70293e3b) + generated. (default: 9284b5ce99d34c7d8d40fb60e267c7f1) --endpoints ENDPOINTS Configuration file for the model server and the connectors as a yml file. (default: endpoints.yml) diff --git a/docs/docs/sources/rasa_shell___help.txt b/docs/docs/sources/rasa_shell___help.txt index 5ae4e37230b7..a1b3fa797af3 100644 --- a/docs/docs/sources/rasa_shell___help.txt +++ b/docs/docs/sources/rasa_shell___help.txt @@ -30,7 +30,7 @@ options: -h, --help show this help message and exit --conversation-id CONVERSATION_ID Set the conversation ID. (default: - 00baaccc56e5459e80d0e27f3ad9e17a) + f1e5cf4aab0849018e401f39e7a80b7b) -m MODEL, --model MODEL Path to a trained Rasa model. If a directory is specified, it will use the latest model in this