Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: flag for local vs remote init was wrong #3

Merged
merged 3 commits into from
Jul 27, 2023
Merged

Conversation

Gowiem
Copy link
Member

@Gowiem Gowiem commented Jul 25, 2023

Info

  • local vs remote flag in init: This was broken and never working. Realized within client project.

  • Updates to use https git clone instead of ssh as SSH did not work in GHAs without creating a user and all that jazz. We may need to get more complicated here in the future, but hopefully not.

  • Adds SNAPSHOT_ENV var to snaplet snapshot paths (via upload and download tasks) in S3 for differentiating dev vs stage vs prod vs whatever snapshots.

  • We need tests for this stuff... Is there any common approach to testing Taskfile implementations? go-task/task#1283

@Gowiem Gowiem self-assigned this Jul 25, 2023
@Gowiem Gowiem requested a review from gberenice July 27, 2023 16:39
Copy link
Member

@gberenice gberenice left a comment

Choose a reason for hiding this comment

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

🚢

@@ -53,12 +53,12 @@ tasks:

- |
echo -e "\n"
if [[ -z "{{.TASKIT_LOCAL_PATH}}" ]]; then
Copy link
Member

Choose a reason for hiding this comment

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

Ah, I was sure I saw -n, not -z somewhere. I tested that! 😆

Copy link
Member Author

Choose a reason for hiding this comment

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

It was somewhere... Not sure what happened, but I messed it up!

Copy link
Member Author

Choose a reason for hiding this comment

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

I blame bash for their unreadable, horrible conditionals.

@Gowiem Gowiem merged commit 853e30e into main Jul 27, 2023
1 check passed
@Gowiem Gowiem deleted the fix/broken-init branch July 27, 2023 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants