-
Notifications
You must be signed in to change notification settings - Fork 121
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
Add pre-configured Gitpod to make it easier for contributors to contribute #1149
Open
tylers-username
wants to merge
14
commits into
platformsh:main
Choose a base branch
from
improper:feature/gitpod
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+30
−1
Open
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
a8b4498
Initialize Gitpod
tylers-username 12a83f8
Fix oopsy in gitpod dockerfile
0f86175
Use better development alias for platform command
tylers-username 0de2190
Refactor gitpod dockerfile location
tylers-username 8ac1133
Refactor gitpod setup with platform login
tylers-username 4d8c9f5
Fix path to gitpod dockerfile
2f3a979
Gitpod uses bash by default
tylers-username 422bbe5
Remove alias from setup. It's a bit too opinionated
tylers-username d1376ca
Clean up login.sh for gitpod
tylers-username 54b2ee6
Ensure tests do not fail with 'cannot combine --user and --prefix'
tylers-username c0020e8
Let Gitpod contributors know that tests are ready to run
tylers-username ea1d272
Document gitpod setup
tylers-username 64b2cba
Update-countries is not needed when setting up development
bb7a450
Suggest authentication steps during setup
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
image: | ||
file: .gitpod/.gitpod.Dockerfile | ||
tasks: | ||
- name: Prepare Environment | ||
init: | | ||
composer install | ||
command: | | ||
./.gitpod/scripts/login.sh | ||
printf "\n\n All set! Be sure to test your changes by running: vendor/bin/phpunit\n\n" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FROM gitpod/workspace-full:latest | ||
|
||
# Set PHP 7.4 - Gitpod defaults to 8.1 otherwise | ||
RUN sudo update-alternatives --set php $(which php7.4) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/env bash | ||
|
||
echo "When ready to make authenticated requests, use: platform auth:api-token-login" | ||
echo "Or: export \PLATFORMSH_CLI_TOKEN=YOUR_TOKEN" | ||
|
||
if [ -z "$PLATFORM_CLI_TOKEN" ]; then | ||
echo "WARNING: \$PLATFORMSH_CLI_TOKEN was detected as an environment variable. If you share this workspace with others, they will have access to this token."; | ||
fi; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what does this change do?