Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalsaleh committed Nov 9, 2023
1 parent 6b388ee commit b91f249
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,6 @@ jobs:
--shared-password password \
--kotsadm-registry ttl.sh \
--kotsadm-namespace automated-${{ github.run_id }} \
--skip-preflights \
--kotsadm-tag 24h | tee output.txt
if ! grep -q "The Kubernetes RBAC policy that the Admin Console is running with does not have access to complete the Preflight Checks. It's recommended that you run these manually before proceeding." output.txt; then
Expand Down Expand Up @@ -1156,8 +1155,11 @@ jobs:
- name: minimal rbac override on command line
run: |
set +e
echo ${{ secrets.MINIMAL_RBAC_LICENSE }} | base64 -d > license.yaml
./bin/kots \
install "$APP_SLUG/automated" \
--license-file license.yaml \
--app-version-label "$APP_VERSION_LABEL" \
--no-port-forward \
--namespace "$APP_SLUG" \
Expand Down Expand Up @@ -1214,8 +1216,11 @@ jobs:
- name: no minimal rbac override on command line
run: |
set +e
echo ${{ secrets.MINIMAL_RBAC_LICENSE }} | base64 -d > license.yaml
./bin/kots \
install "$APP_SLUG/automated" \
--license-file license.yaml \
--app-version-label "$APP_VERSION_LABEL" \
--no-port-forward \
--namespace "$APP_SLUG" \
Expand Down
2 changes: 1 addition & 1 deletion hack/build-ttl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ printf "\n\n\n"
printf "Run command: ${GREEN}kubectl edit deployment kotsadm${NC}\n"
printf "Replace image with: ${GREEN}ttl.sh/${CURRENT_USER}/kotsadm:24h${NC}\n"
printf "\n"
printf "These images are good for 12 hours\n"
printf "These images are good for 24 hours\n"
2 changes: 1 addition & 1 deletion migrations/build-ttl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ printf "\n\n\n"
printf "Run command: ${GREEN}kubectl edit deployment kotsadm${NC}\n"
printf "Replace image with: ${GREEN}${IMAGE}${NC}\n"
printf "\n"
printf "This image is good for 12 hours\n"
printf "This image is good for 24 hours\n"

0 comments on commit b91f249

Please sign in to comment.