Skip to content

Commit

Permalink
feat(tizen): Migrate Google Container Registry to GitHub Container Re…
Browse files Browse the repository at this point in the history
…gistry

Google Container Registry is imposing more painful restrictions on us,
so we are migrating the Tizen Studio TV docker image from GCR to GHCR
(GitHub Container Registry).  This should be simpler overall for an
open source project hosted on GitHub, and should also work well for
forks.
  • Loading branch information
joeyparrish committed Aug 6, 2024
1 parent f4643de commit 097f7ea
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion backends/tizen/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ are used by the server, you may want to pre-fetch the image you'll be using.
This command will fetch the default image:

```sh
docker pull gcr.io/generic-webdriver-server/tizen-studio-tv-3.0
docker pull ghcr.io/shaka-project/tizen-studio-tv-3.0
```


Expand Down
6 changes: 3 additions & 3 deletions backends/tizen/how-it-works.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ environment.

We provide public Docker images containing a copy of Tizen Studio. By default,
Tizen WebDriver Server uses the image published at
`gcr.io/generic-webdriver-server/tizen-studio-tv-3.0` to run Tizen Studio with
`ghcr.io/shaka-project/tizen-studio-tv-3.0` to run Tizen Studio with
the TV 3.0 SDK installed, but you can configure the server to use any arbitrary
Docker image if you have your own. See the option `tizen-studio-docker-image`.

Expand All @@ -46,10 +46,10 @@ If you don't have pre-existing Docker images for Tizen Studio, but you want to
create a custom image anyway, you can base yours on ours. We currently provide
two images:

- `gcr.io/generic-webdriver-server/tizen-studio`: A base image with Tizen
- `ghcr.io/shaka-project/tizen-studio`: A base image with Tizen
Studio installed on top of a minimal Ubuntu environment, with no special
SDKs installed.
- `gcr.io/generic-webdriver-server/tizen-studio-tv-3.0`: Built on top of the
- `ghcr.io/shaka-project/tizen-studio-tv-3.0`: Built on top of the
base image, and includes the TV 3.0 SDK.

The source for these images can be found in
Expand Down
8 changes: 4 additions & 4 deletions backends/tizen/tizen-studio-docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ The Docker images are built using these commands before publishing them to the

```sh
# The base image, containing Tizen Studio.
docker build -t gcr.io/generic-webdriver-server/tizen-studio base/
docker build -t ghcr.io/shaka-project/tizen-studio base/
# An extension of the base image which also contains the Tizen TV 3.0 SDK.
docker build -t gcr.io/generic-webdriver-server/tizen-studio-tv-3.0 tv-3.0/
docker build -t ghcr.io/shaka-project/tizen-studio-tv-3.0 tv-3.0/
```

## Interactive use of Tizen Studio tools
Expand All @@ -34,7 +34,7 @@ variable. Tizen Studio is installed in `~/tizen-studio`.

```sh
# To get a shell in the Tizen Studio Docker image:
docker run -it gcr.io/generic-webdriver-server/tizen-studio-tv-3.0
docker run -it ghcr.io/shaka-project/tizen-studio-tv-3.0
```


Expand All @@ -44,7 +44,7 @@ The `sdb` tool's `connect` command starts a daemon in the background, so running
that command alone will not work:

```sh
docker run gcr.io/generic-webdriver-server/tizen-studio-tv-3.0 sdb connect mytv
docker run ghcr.io/shaka-project/tizen-studio-tv-3.0 sdb connect mytv
```

After the connection is established, the Docker image will shut down, and the
Expand Down
2 changes: 1 addition & 1 deletion backends/tizen/tizen-studio-docker/tv-3.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# be painful to install and configure.

# Build on top of the generic tizen-studio package.
FROM gcr.io/generic-webdriver-server/tizen-studio
FROM ghcr.io/shaka-project/tizen-studio

MAINTAINER joeyparrish <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion backends/tizen/tizen-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ function addTizenArgs(yargs) {
'For local Tizen Studio installations, use ' +
'--local-tizen-studio.\n',
type: 'string',
default: 'gcr.io/generic-webdriver-server/tizen-studio-tv-3.0:1.1.4',
default: 'ghcr.io/shaka-project/tizen-studio-tv-3.0:2.0.0',
})
.option('tizen-studio-path', {
description:
Expand Down

0 comments on commit 097f7ea

Please sign in to comment.