diff --git a/.github/workflows/mage-ai-develop.yml b/.github/workflows/mage-ai-develop.yml index bce1aca86..87b9c31b4 100644 --- a/.github/workflows/mage-ai-develop.yml +++ b/.github/workflows/mage-ai-develop.yml @@ -15,31 +15,31 @@ on: jobs: - pushToGHCR: - runs-on: ubuntu-latest - defaults: - run: - working-directory: ./global-api + # pushToGHCR: + # runs-on: ubuntu-latest + # defaults: + # run: + # working-directory: ./global-api - steps: - - uses: actions/checkout@v4 + # steps: + # - uses: actions/checkout@v4 - - name: Log in to the Container registry - uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 - with: - registry: ghcr.io - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + # - name: Log in to the Container registry + # uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1 + # with: + # registry: ghcr.io + # username: ${{ github.actor }} + # password: ${{ secrets.GITHUB_TOKEN }} - - name: Push Docker image to GitHub Container Registry - env: - VERSION: ${{ github.sha }} - IMAGE: ghcr.io/open-earth-foundation/citycatalyst-mage-ai - run: | - docker build -t $IMAGE:$VERSION importer-mage/ - docker tag $IMAGE:$VERSION $IMAGE:latest - docker push $IMAGE:$VERSION - docker push $IMAGE:latest + # - name: Push Docker image to GitHub Container Registry + # env: + # VERSION: ${{ github.sha }} + # IMAGE: ghcr.io/open-earth-foundation/citycatalyst-mage-ai + # run: | + # docker build -t $IMAGE:$VERSION importer-mage/ + # docker tag $IMAGE:$VERSION $IMAGE:latest + # docker push $IMAGE:$VERSION + # docker push $IMAGE:latest deployToEKS: runs-on: ubuntu-latest @@ -74,6 +74,9 @@ jobs: - name: Add Helm repository run: helm repo add $HELM_REPO_NAME https://mage-ai.github.io/helm-charts + - name: testing connection to Helm + run: helm list + - name: Upgrade/Install Helm chart run: helm upgrade --install $HELM_RELEASE_NAME $HELM_REPO_NAME/$HELM_CHART_NAME --namespace $NAMESPACE -f charts/mage-ai/values.yml