Skip to content

[CI]: Evergreen / Everred #4129

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

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from
Draft
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
69 changes: 0 additions & 69 deletions .github/workflows/ghcr-image-build-and-publish.yml

This file was deleted.

60 changes: 0 additions & 60 deletions .github/workflows/release.yml

This file was deleted.

47 changes: 0 additions & 47 deletions .github/workflows/test-canary.yml

This file was deleted.

56 changes: 0 additions & 56 deletions .github/workflows/workflow-flaky.yml

This file was deleted.

80 changes: 0 additions & 80 deletions .github/workflows/workflow-lint.yml

This file was deleted.

64 changes: 64 additions & 0 deletions .github/workflows/workflow-mod-proofing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
name: proofing

on:
push:
branches:
- main
- 'release/**'
pull_request:

env:
GOTOOLCHAIN: local

jobs:
proofing:
name: "proofing"
timeout-minutes: 15
runs-on: ubuntu-24.04
defaults:
run:
shell: bash
steps:
- name: "Checkout project"
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 1

- name: "Install go"
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
with:
go-version: 1.24
check-latest: true

- name: setup
run: |
set -x

CLI=docker ./mod/proofing/spoof.sh server::start ./pkg/testutil/images.env

# Check the server is reachable
# This is working
# curl -iv https://proofing:443/v2 || true

# Restart services so they catch-up on the system store changes?
sudo systemctl stop containerd || true
sudo systemctl start containerd || true
systemctl --user stop containerd || true
systemctl --user start containerd || true
sudo systemctl stop docker || true
sudo systemctl start docker || true

make binaries
sudo cp _output/nerdctl /usr/local/bin
sudo nerdctl pull --quiet debian
sudo nerdctl tag debian proofing:443/debian || true
# sudo nerdctl --insecure-registry push proofing:443/debian || true
sudo nerdctl push --quiet proofing:443/debian || true

# sudo -E PATH="_output:$PATH" ./mod/proofing/spoof.sh server::seed ./pkg/testutil/images.env
- name: test in container
run: |
set -x

docker ps -a
docker run -v $(pwd):/src --link proofing debian sh -c -- 'cd /src; apt-get -qq update; apt-get -qq install curl; ./mod/proofing/spoof.sh guest::configure ./pkg/testutil/images.env; curl -iv "https://docker.io/v2"; echo BOOO; cat /etc/hosts; echo BOOO; curl -iv https://proofing/v2/'
Loading