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: try new image for console-test #108

Merged
merged 5 commits into from
Sep 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
23 changes: 23 additions & 0 deletions .github/workflows/docker-console-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Docker / console-test

on:
push:
branches:
- main
paths:
- 'console-test/version.json'
pull_request:
paths:
- 'console-test/**'
- '.github/workflows/docker-console-test.yml'

jobs:
build_docker_image:
uses: vegaprotocol/docker-public/.github/workflows/docker-generic.yml@main
with:
image_name: console-test
docker_context_path: ./console-test
platforms: linux/amd64
secrets:
dockerhub_username: ${{ secrets.DOCKERHUB_USERNAME }}
dockerhub_token: ${{ secrets.DOCKERHUB_TOKEN }}
1 change: 0 additions & 1 deletion .github/workflows/docker-github-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- main
- github-runner-test
paths:
- 'github-runner/version.json'
pull_request:
Expand Down
36 changes: 36 additions & 0 deletions console-test/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
FROM summerwind/actions-runner:v2.308.0-ubuntu-22.04

USER root
RUN curl -sSL https://install.python-poetry.org | python3 - \
&& curl -s https://deb.nodesource.com/setup_16.x | bash \
&& curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
&& apt-get update \
&& apt-get install -y \
libnss3 \
libnspr4 \
libatk1.0-0 \
libatk-bridge2.0-0 \
libcups2 \
libdrm2 \
libxcb1 \
libxkbcommon0 \
libatspi2.0-0 \
libx11-6 \
libxcomposite1 \
libxdamage1 \
libxext6 \
libxfixes3 \
libxrandr2 \
libgbm1 \
libpango-1.0-0 \
libcairo2 \
libasound2 \
nodejs \
yarn \
&& rm -rf /var/lib/apt/lists/*

USER runner
RUN poetry --version
RUN node -v
RUN yarn -v
5 changes: 5 additions & 0 deletions console-test/version.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"version": "v2.308.0-ubuntu-22.04-4",
"name": "vegaprotocol/console-test"
}

Loading