Skip to content

Commit 04b91dc

Browse files
committed
no-chrome
1 parent 7638f99 commit 04b91dc

File tree

8 files changed

+7
-25
lines changed

8 files changed

+7
-25
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ jobs:
3232
- name: Get URL
3333
run: echo "Cloud Desktop Environment URL $(curl -s localhost:4040/api/tunnels | jq -r .tunnels[0].public_url)"
3434

35-
- name: Run for 20 mins
36-
run: sleep 1200
35+
- name: Run for 60 mins
36+
run: sleep 3600
3737
continue-on-error: true

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
.build-exit-code
2+
.build-exit-time
23
.dotfiles-cachebust

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ git clone https://github.com/sabrehagen/desktop-environment
2626
## Running in the Cloud
2727

2828
- Fork this repository.
29-
- Add your [ngrok auth token](https://dashboard.ngrok.com/login) to the repository secrets as `NGROK_AUTH_TOKEN` to enable web access.
29+
- Add your [ngrok auth token](https://dashboard.ngrok.com/login) to the [repository secrets](../../settings/secrets/actions/new) as `NGROK_AUTH_TOKEN` to enable web access.
3030
- Enable [read and write permissions](../../settings/actions) on your fork to allow GitHub Actions to push to your repository's container registry.
3131
- Run the [Deploy Desktop Environment](../../actions/workflows/deploy.yml) GitHub Actions workflow to deploy the desktop environment to GitHub's Actions infrastructure.
3232
- Click the Cloud Desktop Environment URL printed in the output of the `Get URL` workflow step.

docker/Dockerfile

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -177,14 +177,6 @@ RUN wget -O beekeeper-studio.deb -q https://github.com/beekeeper-studio/beekeepe
177177
# Install bluetuith
178178
RUN go install github.com/darkhz/bluetuith@latest
179179

180-
# Install chromium
181-
RUN wget -q http://ports.ubuntu.com/pool/universe/c/chromium-browser/chromium-codecs-ffmpeg-extra_112.0.5615.49-0ubuntu0.18.04.1_arm64.deb && \
182-
wget -q http://ports.ubuntu.com/pool/universe/c/chromium-browser/chromium-browser_112.0.5615.49-0ubuntu0.18.04.1_arm64.deb && \
183-
wget -q http://ports.ubuntu.com/pool/universe/c/chromium-browser/chromium-codecs-ffmpeg_112.0.5615.49-0ubuntu0.18.04.1_arm64.deb && \
184-
dpkg -i chromium*.deb && \
185-
rm chromium*.deb && \
186-
sed -i 's/Exec=chromium-browser/Exec=chrome/' /usr/share/applications/chromium-browser.desktop
187-
188180
# Install discord
189181
RUN curl -fsSL https://eu.armcord.app/pgp-key.public | gpg --dearmor -o /usr/share/keyrings/armcord.gpg && \
190182
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/armcord.gpg] https://eu.armcord.app/apt-repo stable main" | tee /etc/apt/sources.list.d/armcord.list && \

docker/scripts/build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,6 @@ docker build \
2121

2222
# Store build exit code
2323
echo $? > $REPO_ROOT/.build-exit-code
24+
25+
# Store build end time
26+
echo $(date +%s) > $REPO_ROOT/.build-exit-time

docker/scripts/clean-hard.sh

Lines changed: 0 additions & 10 deletions
This file was deleted.

docker/scripts/environment.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ echo export DESKTOP_ENVIRONMENT_USER_ID=1000
2626
echo export DESKTOP_ENVIRONMENT_DOCKER_NETWORK=$DESKTOP_ENVIRONMENT_REGISTRY-$DESKTOP_ENVIRONMENT_CONTAINER_NAME
2727

2828
# Desktop environment application cache volumes
29-
echo export DESKTOP_ENVIRONMENT_CACHE_CHROME=$DESKTOP_ENVIRONMENT_USER_HOME/.cache/chromium
3029
echo export DESKTOP_ENVIRONMENT_CACHE_AWS=$DESKTOP_ENVIRONMENT_USER_HOME/.aws/sso
3130
echo export DESKTOP_ENVIRONMENT_CACHE_CODE=$DESKTOP_ENVIRONMENT_USER_HOME/.vscode
3231
echo export DESKTOP_ENVIRONMENT_CACHE_KDENLIVE=$DESKTOP_ENVIRONMENT_USER_HOME/.cache/kdenlive
@@ -38,7 +37,6 @@ echo export DESKTOP_ENVIRONMENT_CACHE_ZSH=$DESKTOP_ENVIRONMENT_USER_HOME/.cache/
3837

3938
# Desktop environment application state volumes
4039
echo export DESKTOP_ENVIRONMENT_STATE_BEEKEEPER=$DESKTOP_ENVIRONMENT_USER_HOME/.config/beekeeper-studio
41-
echo export DESKTOP_ENVIRONMENT_STATE_CHROME=$DESKTOP_ENVIRONMENT_USER_HOME/.config/chromium
4240
echo export DESKTOP_ENVIRONMENT_STATE_CODE=$DESKTOP_ENVIRONMENT_USER_HOME/.config/Code
4341
echo export DESKTOP_ENVIRONMENT_STATE_DISCORD=$DESKTOP_ENVIRONMENT_USER_HOME/.config/ArmCord
4442
echo export DESKTOP_ENVIRONMENT_STATE_I3=$DESKTOP_ENVIRONMENT_USER_HOME/.config/i3/i3-resurrect

docker/scripts/start.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ docker run \
4848
--volume /var/lib/docker:/var/lib/docker \
4949
--volume /var/run/docker.sock:/var/run/docker.sock \
5050
--volume DESKTOP_ENVIRONMENT_CACHE_AWS:$DESKTOP_ENVIRONMENT_CACHE_AWS \
51-
--volume DESKTOP_ENVIRONMENT_CACHE_CHROME:$DESKTOP_ENVIRONMENT_CACHE_CHROME \
5251
--volume DESKTOP_ENVIRONMENT_CACHE_CODE:$DESKTOP_ENVIRONMENT_CACHE_CODE \
5352
--volume DESKTOP_ENVIRONMENT_CACHE_KDENLIVE:$DESKTOP_ENVIRONMENT_CACHE_KDENLIVE \
5453
--volume DESKTOP_ENVIRONMENT_CACHE_SSH:$DESKTOP_ENVIRONMENT_CACHE_SSH \
@@ -57,7 +56,6 @@ docker run \
5756
--volume DESKTOP_ENVIRONMENT_CACHE_YARN:$DESKTOP_ENVIRONMENT_CACHE_YARN \
5857
--volume DESKTOP_ENVIRONMENT_CACHE_ZSH:$DESKTOP_ENVIRONMENT_CACHE_ZSH \
5958
--volume DESKTOP_ENVIRONMENT_STATE_BEEKEEPER:$DESKTOP_ENVIRONMENT_STATE_BEEKEEPER \
60-
--volume DESKTOP_ENVIRONMENT_STATE_CHROME:$DESKTOP_ENVIRONMENT_STATE_CHROME \
6159
--volume DESKTOP_ENVIRONMENT_STATE_CODE:$DESKTOP_ENVIRONMENT_STATE_CODE \
6260
--volume DESKTOP_ENVIRONMENT_STATE_DISCORD:$DESKTOP_ENVIRONMENT_STATE_DISCORD \
6361
--volume DESKTOP_ENVIRONMENT_STATE_I3:$DESKTOP_ENVIRONMENT_STATE_I3 \

0 commit comments

Comments
 (0)