hack.d Lawrence McDaniel discuss.overhang.io docs.tutor.overhang.io AWS Docker Kubernetes

tutor-plugin-enable-credentials

Github Action to install and enable the Tutor plugin – Open edX Credentials service

Usage:

name: Example workflow

on: workflow_dispatch

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      # required antecedent
      - uses: actions/[email protected]

      # required antecedent
      - name: Configure AWS credentials
        uses: aws-actions/[email protected]
        with:
          aws-access-key-id: ${{ secrets.THE_NAME_OF_YOUR_AWS_ACCESS_KEY_ID }}
          aws-secret-access-key: ${{ secrets.THE_NAME_OF_YOUR_AWS_SECRET_ACCESS_KEY }}
          aws-region: us-east-2

      # install and configure tutor and kubectl
      - name: Configure Github workflow environment
        uses: openedx-actions/[email protected]

      # build the Credentials container
      - name: Build the image and upload to AWS ECR
        uses: openedx-actions/[email protected]
        with:
          aws-ecr-repo: credentials

      # This action.
      - name: Enable tutor plugin - Credentials
        uses: openedx-actions/[email protected]
        with:
          namespace: openedx-prod
          aws-ecr-uri: 123456789012.dkr.ecr.us-east-2.amazonaws.com/openedx_credentials:latest
          common-logo-url: https://www.edx.org/images/logos/edx-logo-elm.svg

GitHub

View Github