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

chore: create Gitpod configuration #12210

Merged
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
aa3b814
chore: create Gitpod configuration file
HonkingGoose Oct 19, 2021
5261eb6
Copy/paste .gitignore into .dockerignore
HonkingGoose Oct 19, 2021
28ac68c
Merge branch 'main' into chore/create-gitpod-config-file
HonkingGoose Nov 5, 2021
58b9fc4
Ignore all files in .dockerignore
HonkingGoose Nov 10, 2021
7ed5319
Merge branch 'main' into chore/create-gitpod-config-file
HonkingGoose Jan 3, 2022
6325d58
Merge branch 'main' into chore/create-gitpod-config-file
rarkins Jan 28, 2022
03769c1
Merge branch 'renovatebot:main' into chore/create-gitpod-config-file
HonkingGoose Mar 8, 2022
ab500a2
Copy/paste from default gitpod config
HonkingGoose Apr 11, 2022
2b0bb91
Merge branch 'main' into chore/create-gitpod-config-file
HonkingGoose Apr 11, 2022
9a26d1a
Merge branch 'main' into chore/create-gitpod-config-file
HonkingGoose Apr 14, 2022
b7c8e48
Drop Python and Git install stuff
HonkingGoose Apr 14, 2022
6c3e01b
Move files into .gitpod folder
HonkingGoose Apr 14, 2022
4638699
Try default Gitpod config
HonkingGoose Apr 14, 2022
662017a
Merge branch 'main' into chore/create-gitpod-config-file
HonkingGoose Apr 19, 2022
4af466f
Merge branch 'main' into chore/create-gitpod-config-file
HonkingGoose Apr 20, 2022
30969d1
Merge branch 'main' into chore/create-gitpod-config-file
HonkingGoose May 4, 2022
07a93a0
Use nvm to pin node to latest major version 16
HonkingGoose May 5, 2022
5093cb3
Remove boilerplate comment
HonkingGoose May 5, 2022
dd28ff9
Merge branch 'renovatebot:main' into chore/create-gitpod-config-file
HonkingGoose May 5, 2022
550dfe3
Draft for remote development docs
HonkingGoose May 5, 2022
9c60ffe
Improve remote development docs
HonkingGoose May 5, 2022
a4e72c9
Remove codespaces tips/problems section
HonkingGoose May 6, 2022
41b2ea3
Fix typo, improve text
HonkingGoose May 6, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/node_modules
/config.js
/coverage
/dist
/tmp
.DS_Store
.cache
/*.log
/.idea
/package-lock.json
*.pyc
renovate-0.0.0-semantic-release.tgz
/test/e2e/node_modules
.eslintcache
junit.xml
/test-results
renovate-schema.json
**/gradle-wrapper/__fixtures__/**/.gradle
.clinic/

# generated code
**/*.generated.ts
tools/dist
test/datasource/nuget/_fixtures/obj

# testing
/docker-compose.yml
HonkingGoose marked this conversation as resolved.
Show resolved Hide resolved
21 changes: 21 additions & 0 deletions .gitpod.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
FROM gitpod/workspace-full
HonkingGoose marked this conversation as resolved.
Show resolved Hide resolved

# Install latest version of Git

RUN sudo apt-get update && sudo apt-get install -y \
HonkingGoose marked this conversation as resolved.
Show resolved Hide resolved
git \
&& sudo rm -rf /var/lib/apt/lists/*

# Install Java OpenJDK

RUN bash -c ". /home/gitpod/.sdkman/bin/sdkman-init.sh && sdk update && sdk install java 11.0.12-open"
HonkingGoose marked this conversation as resolved.
Show resolved Hide resolved

# Install Node.js and use it

RUN bash -c ". .nvm/nvm.sh && nvm install 14.18.1 && nvm use 14.18.1 && nvm alias default 14.18.1"

RUN echo "nvm use default &>/dev/null" >> ~/.bashrc.d/51-nvm-fix

# Install Python

RUN bash -c "pyenv update && pyenv install 3.9.7 && pyenv global 3.9.7"
HonkingGoose marked this conversation as resolved.
Show resolved Hide resolved
14 changes: 14 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
image:
HonkingGoose marked this conversation as resolved.
Show resolved Hide resolved
file: .gitpod.Dockerfile
HonkingGoose marked this conversation as resolved.
Show resolved Hide resolved

tasks:
HonkingGoose marked this conversation as resolved.
Show resolved Hide resolved
- init: |
yarn install
yarn build

vscode:
extensions:
- editorconfig.editorconfig
- dbaeumer.vscode-eslint
- github.vscode-pull-request-github
- esbenp.prettier-vscode