testcontainers / testcontainers/testcontainers-java

Consider using GitHub Actions as a primary CI

Open
#1,836 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

resolution/acknowledged type/housekeeping
Dominant language
Java
Stars
8.7k
Forks
1.9k
Avg merge
2d 17h
Merged PRs (30d)
9

Description

With the release of GitHub Actions CI/CD, it works perfectly fine with Testcontainers and can be used to run our tests.

Since we're working on migrating off Travis as our primary CI (see #1720), we need to consider which service to use instead, and GHA (GitHub Actions) looks like a good choice. It looks like Azure Pipelines (and AFAIK uses it under the hood) but does not come with Enterprise-style UI and users management, which is IMO better for an OSS project.

However, there are a few things in AZP (Azure Pipelines) that we still benefit from (listing them as checkboxes so that we can check them once there is such feature in GHA):

  • self-hosted agents - we run our own agent for Docker for Windows CI due to licensing issues of Docker for Windows
  • test result aggregation - sounds small, but this dramatically reduces the time it takes to figure out why the build is failing and also helped us to pinpoint a few flaky tests

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the existing Travis and Azure Pipelines setup and the migration context in issue #1720. Determine whether GitHub Actions can provide the required self-hosted Docker for Windows agents and test result aggregation; done means the primary CI migration preserves the needed capabilities.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, github-actions
Domain
ci-cd, devops, testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.