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

Adds .gitpod.yml #178

Open
kenorb opened this issue Apr 30, 2020 · 2 comments
Open

Adds .gitpod.yml #178

kenorb opened this issue Apr 30, 2020 · 2 comments
Assignees

Comments

@kenorb
Copy link
Member

kenorb commented Apr 30, 2020

See: https://www.gitpod.io/docs/config-gitpod-file/

@kenorb
Copy link
Member Author

kenorb commented Jul 13, 2020

.gitpod.yml

image:
  file: .gitpod.dockerfile
tasks:
 - init: . ${GITPOD_REPO_ROOT}/init_tasks.sh
 - openMode: tab-before
 - command: >
    echo "export C9_USER='gitpod'" >> /home/gitpod/.bashrc
 - command: >
    rm ${GITPOD_REPO_ROOT}/init_tasks.sh
    ${GITPOD_REPO_ROOT}/.gitpod*

.gitpod.Dockerfile

FROM gitpod/workspace-full
USER gitpod
RUN sudo apt-get -q update

@kenorb kenorb self-assigned this Jul 13, 2020
@kenorb
Copy link
Member Author

kenorb commented Jul 13, 2020

image: gitpod/workspace-full

ports:
  - port: 6080
    onOpen: open-preview
  - port: 35900
    onOpen: ignore
  - port: 5900
    onOpen: ignore
- port: 8080
  onOpen: open-preview

github:
    prebuilds:
        pullRequestsFromForks: true

tasks:
  - init: >
      make deps &&
      make build &&
      make clean
  - command: python3 -m http.server 8080
    name: Static Server
  - openMode: split-right
    command: echo SplitTerminal
  - openIn: left
    command: echo LeftPanelTerminal

vscode:
  extensions:
    - [email protected]:auCYfQ5pnsZ6Cjf4ZxkAtA==
    - [email protected]:VNmQN1OhYwV60u8C6agP7g==
    - [email protected]:eP3hU/MFme+CcSL21Klk1w==

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant