Skip to content

Commit

Permalink
kind testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan Hoeft committed Feb 13, 2024
1 parent 87f8f96 commit 3c6a33f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,13 @@ jobs:
- name: Get appVersion from Chart.yaml
id: chart_version
run: |
APP_VERSION=$(grep 'appVersion:' charts/tsm-node/Chart.yaml | awk '{print $2}'| tr -d '\r')
APP_VERSION=$(grep 'appVersion:' charts/tsm-node/Chart.yaml | awk '{print $2}')
echo "IMAGE_TAG=$APP_VERSION" >> $GITHUB_ENV
- name: Pull image from ECR
run: |
aws ecr get-login-password --region us-east-1 | docker login --username AWS --password-stdin $ECR_REPO
IMAGE_TAG=$(echo ${{ env.IMAGE_TAG }} | tr -d '\r')
docker pull $ECR_REPO:$IMAGE_TAG
- name: Create kind ${{ matrix.k8s }} cluster
Expand All @@ -134,10 +135,13 @@ jobs:

- name: Load image into kind cluster
run: |
IMAGE_TAG=$(echo ${{ env.IMAGE_TAG }} | tr -d '\r')
kind load docker-image $ECR_REPO:$IMAGE_TAG
- name: Inject ECR Repo and Image Tag into Values Files
run: ./inject-image-tag.sh charts/tsm-node/ci $ECR_REPO $IMAGE_TAG
run: |
IMAGE_TAG=$(echo ${{ env.IMAGE_TAG }} | tr -d '\r')
./inject-image-tag.sh charts/tsm-node/ci $ECR_REPO $IMAGE_TAG
- name: Install chart-testing
uses: helm/[email protected]
Expand Down

0 comments on commit 3c6a33f

Please sign in to comment.