Skip to content

fix(deps): update module sigs.k8s.io/controller-runtime to v0.19.1 #3021

fix(deps): update module sigs.k8s.io/controller-runtime to v0.19.1

fix(deps): update module sigs.k8s.io/controller-runtime to v0.19.1 #3021

Workflow file for this run

name: docker
on:
pull_request:
paths:
- .github/workflows/docker.yaml
- Dockerfile
- go.*
- api/**
- internal/**
- e2e_test/**
- '!**/*_test.go'
- '!**/*.md'
push:
branches:
- main
tags:
- v*
paths:
- .github/workflows/docker.yaml
- Dockerfile
- go.*
- api/**
- internal/**
- e2e_test/**
- '!**/*_test.go'
- '!**/*.md'
jobs:
go-version:
runs-on: ubuntu-latest
timeout-minutes: 1
outputs:
go-version: ${{ steps.go-version.outputs.go-version }}
steps:
- uses: actions/checkout@v4
- id: go-version
run: echo "go-version=$(sed -ne '/^go /s/^go //p' go.mod)" >> "$GITHUB_OUTPUT"
build:
needs: go-version
uses: int128/docker-build-workflow/.github/workflows/build.yaml@v1
with:
platforms: linux/amd64,linux/arm64
build-args: go_version=${{ needs.go-version.outputs.go-version }}
e2e-test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache-dependency-path: go.sum
# Set up the test environment
- uses: actions/create-github-app-token@v1
id: e2e-test-token
with:
app-id: ${{ secrets.E2E_SETUP_GITHUB_APP_ID }}
private-key: ${{ secrets.E2E_SETUP_GITHUB_APP_PRIVATE_KEY }}
repositories: argocd-commenter-e2e-test
- uses: actions/checkout@v4
with:
token: ${{ steps.e2e-test-token.outputs.token }}
repository: int128/argocd-commenter-e2e-test
path: e2e_test/argocd-commenter-e2e-test-repository
- run: make -C e2e_test setup-fixture-branch
- run: make -C e2e_test cluster
- run: make -C e2e_test deploy-argocd
- uses: docker/metadata-action@v5
id: metadata
with:
images: ghcr.io/${{ github.repository }}
# set outputs.tags to single tag
flavor: latest=false
- uses: int128/wait-for-docker-image-action@v1
with:
tags: ${{ steps.metadata.outputs.tags }}
- run: make -C e2e_test deploy-controller
env:
CONTROLLER_IMAGE: ${{ steps.metadata.outputs.tags }}
GITHUB_APP_ID: ${{ secrets.E2E_GITHUB_APP_ID }}
GITHUB_APP_INSTALLATION_ID: ${{ secrets.E2E_GITHUB_APP_INSTALLATION_ID }}
GITHUB_APP_PRIVATE_KEY: ${{ secrets.E2E_GITHUB_APP_PRIVATE_KEY }}
- run: make -C e2e_test wait-for-apps
# Run the test
- uses: int128/deployment-action@v1
id: deployment-app1
with:
environment-suffix: /app1
- uses: int128/deployment-action@v1
id: deployment-app2
with:
environment-suffix: /app2
- uses: int128/deployment-action@v1
id: deployment-app3
with:
environment-suffix: /app3
- run: make -C e2e_test deploy-app1
env:
DEPLOYMENT_URL: ${{ steps.deployment-app1.outputs.url }}
GITHUB_TOKEN: ${{ steps.e2e-test-token.outputs.token }}
- run: make -C e2e_test restart-app1
- run: make -C e2e_test deploy-app2
env:
DEPLOYMENT_URL: ${{ steps.deployment-app2.outputs.url }}
GITHUB_TOKEN: ${{ steps.e2e-test-token.outputs.token }}
- run: make -C e2e_test deploy-app3
env:
DEPLOYMENT_URL: ${{ steps.deployment-app3.outputs.url }}
GITHUB_TOKEN: ${{ steps.e2e-test-token.outputs.token }}
# Show logs
- run: make -C e2e_test logs-controller
if: always()
- run: make -C e2e_test logs-argocd-application-controller
if: always()
- run: make -C e2e_test logs-argocd-applicationset-controller
if: always()