Skip to content

Commit 9f548c0

Browse files
committed
refactor(devcontainer): rename run to ci-run as now only CI needs it
1 parent 8d5cf5b commit 9f548c0

3 files changed

Lines changed: 14 additions & 40 deletions

File tree

.devcontainer/ci-run

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/bin/env bash
2+
3+
set -euo pipefail
4+
5+
readonly WORKSPACE=/workspaces/sentry-ruby
6+
7+
sudo chown -R sentry:sentry "$WORKSPACE"
8+
9+
cd "$WORKSPACE"
10+
mise trust "$WORKSPACE" >/dev/null
11+
12+
exec "$@"

.devcontainer/run

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

.github/workflows/e2e_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
--volume "${PWD}:/workspaces/sentry-ruby" \
111111
--volume "${E2E_BUNDLE_VOLUME}:/home/sentry/bundle" \
112112
"ghcr.io/getsentry/sentry-ruby-devcontainer-${{ matrix.ruby.flavor }}:${{ steps.devcontainer-version.outputs.version }}" \
113-
.devcontainer/run .devcontainer/setup --only .,spec/apps/rails-mini
113+
.devcontainer/ci-run .devcontainer/setup --only .,spec/apps/rails-mini
114114
115115
- name: Start test services
116116
run: |
@@ -125,7 +125,7 @@ jobs:
125125
--volume "${PWD}:/workspaces/sentry-ruby" \
126126
--volume "${E2E_BUNDLE_VOLUME}:/home/sentry/bundle" \
127127
"ghcr.io/getsentry/sentry-ruby-devcontainer-${{ matrix.ruby.flavor }}:${{ steps.devcontainer-version.outputs.version }}" \
128-
.devcontainer/run mise run e2e:serve
128+
.devcontainer/ci-run mise run e2e:serve
129129
130130
# Poll from the runner host, not a container action: the apps' ports are
131131
# published to the host (`--publish`), so `localhost` here reaches them,

0 commit comments

Comments
 (0)