Skip to content

Commit

Permalink
Update e2e image tag (#95)
Browse files Browse the repository at this point in the history
Signed-off-by: Chandan Pinjani <chandan.pinjani@suse.com>
  • Loading branch information
cpinjani authored Jan 2, 2025
1 parent 008017b commit 70d7aed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/master-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@ jobs:
QASE_RUN_ID: ${{ needs.pre-qase.outputs.qase_run_id }}
# NOTE: this REPORT var is needed for Cypress!
QASE_REPORT: 1
TAG: 0.0.1
TURTLES_REPO: rancher/turtles
CONTROLLER_IMG: localhost:5000/$TURTLES_REPO
steps:
Expand All @@ -260,10 +259,13 @@ jobs:
go-version-file: go.mod

# This step builds latest turtles chart and pushes latest turtles docker image to local docker registry
- name: Set date variable
run: |
echo "TAG=$(date "+%Y.%m.%d")" >> ${GITHUB_ENV}
- name: Make chart
if: ${{ inputs.operator_nightly_chart == true }}
run: |
CONTROLLER_IMG=${{ env.CONTROLLER_IMG }} make e2e-image-build
TAG=v${{ env.TAG }} CONTROLLER_IMG=${{ env.CONTROLLER_IMG }} make e2e-image-build
RELEASE_TAG=v${{ env.TAG }} CONTROLLER_IMG=${{ env.CONTROLLER_IMG }} CONTROLLER_IMAGE_VERSION=v${{ env.TAG }} make build-chart
docker run -d -p 5000:5000 --name registry registry:2
docker push ${{ env.CONTROLLER_IMG }}:v${{ env.TAG }}
Expand Down
2 changes: 1 addition & 1 deletion tests/scripts/deploy-chartmuseum
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@ helm plugin install https://github.com/chartmuseum/helm-push.git
helm repo add chartmuseum http://localhost:8080

# Push helm chart to local repo
helm cm-push ./assets/rancher-turtles-0.0.1.tgz chartmuseum
helm cm-push ./assets/rancher-turtles-*.tgz chartmuseum

0 comments on commit 70d7aed

Please sign in to comment.