Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Commit

Permalink
Include fake for gcloud
Browse files Browse the repository at this point in the history
Use image containing ytt,
and fix shellcheck errors

Co-authored-by: Mario Nitchev <[email protected]>
Issue: cloudfoundry/eirini-release#211
  • Loading branch information
Kieron Browne and mnitchev committed May 18, 2021
1 parent ae9c800 commit 7be8f7c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions pipelines/fakes/gcloud
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

echo fakepassword
2 changes: 1 addition & 1 deletion pipelines/shared/_ytt_lib/ci/ci_automation.lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ config:
task: check-wip-branches
config:
platform: linux
image_resource: #@ image_resource("eirini/ci")
image_resource: #@ image_resource("cloudfoundry/cf-for-k8s-ci")
inputs:
- name: ci-resources
run: #@ task_script("check-pipelines-are-applied.sh")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ chmod +x /usr/bin/fly

export PATH=$PWD/ci-resources/pipelines/fakes:$PATH

fly -t eirini login -c https://jetson.eirini.cf-app.com -u $USERNAME -p $PASSWORD
fly -t eirini login -c https://jetson.eirini.cf-app.com -u "$USERNAME" -p "$PASSWORD"

cd ci-resources/pipeline-checker
../pipelines/set-all-pipelines | go run main.go

0 comments on commit 7be8f7c

Please sign in to comment.