Skip to content

chore(deps): update dependency poetry-core to v2.0.1 #27

chore(deps): update dependency poetry-core to v2.0.1

chore(deps): update dependency poetry-core to v2.0.1 #27

Workflow file for this run

---
name: Build and test `irrd` container image
on:
pull_request:
branches:
- main
paths:
- "irrd/**"
workflow_dispatch:
jobs:
# create-runner:
# name: Create self-hosted Actions runner
# runs-on: ubuntu-24.04
# steps:
# - name: Create runner
# uses: MattKobayashi/[email protected]
# with:
# gh-api-token: ${{ secrets.GH_API_TOKEN }}
# gha-runner-apt-mirror: http://mirror.overthewire.com.au/ubuntu/
# gha-runner-labels: irrd
# gha-runner-tz: Australia/Brisbane
# ssh-host: 100.102.37.118
# ssh-user: matthew
# ts-oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
# ts-oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
# ts-tag: ci
build-setup:
name: Set up build environment
runs-on: ubuntu-24.04
outputs:
repo-owner: ${{ steps.repo-lowercase.outputs.REPO_OWNER }}
steps:
- name: Convert repository owner name to lowercase
id: repo-lowercase
run: |
echo "REPO_OWNER=${GITHUB_REPOSITORY_OWNER,,}" >> $GITHUB_OUTPUT
build-test:
name: Build and test image
# runs-on: irrd
runs-on: ubuntu-24.04
needs: [build-setup]
strategy:
fail-fast: false
max-parallel: 1
matrix:
container: [irrd]
steps:
# Checkout repository
# https://github.com/actions/checkout
- name: Checkout repository
uses: actions/[email protected]
# Build and start image
- name: Build and start image
run: |
set -x
docker compose up --detach
working-directory: irrd
# Wait for container to start and run
- name: Wait for container to start and run
run: |
set -x
sleep 300
# Grab the container logs
- name: Grab container logs
run: |
set -x
docker compose logs irrd
working-directory: irrd
# Stop and remove containers
- name: Stop and remove container
run: |
set -x
docker compose down
working-directory: irrd