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

Add tests for cloning a git repo #616

Merged
merged 7 commits into from
Mar 9, 2020
Merged

Conversation

alexellis
Copy link
Member

Signed-off-by: Alex Ellis (OpenFaaS Ltd) [email protected]

Description

These tests will enable #615 to be worked on. Additional if
guards are added through the tests.

How Has This Been Tested?

Unit testing

How are existing users impacted? What migration steps/scripts do we need?

N/a

These tests will enable #615 to be worked on. Additional if
guards are added through the tests.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
The faas-cli and watchdog are both available via Docker images
which do not require curl to fetch them anymore.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
The whole response was being printed which was far too verbose
for the purposes of logging.

Fixes: #617

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
If there's an error on basic auth, then return without trying
to go further.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
Copy link
Contributor

@Waterdrips Waterdrips left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alexellis alexellis merged commit 0959c41 into master Mar 9, 2020
@alexellis
Copy link
Member Author

Thanks @Waterdrips

@alexellis alexellis deleted the openfaasltd/test-git-clone branch March 9, 2020 16:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants