Skip to content

Commit 2fa14f9

Browse files
committed
Remove unnecessary test jobs
1 parent f5996af commit 2fa14f9

File tree

4 files changed

+0
-1157
lines changed

4 files changed

+0
-1157
lines changed

.github/workflows/build.yml

-63
Original file line numberDiff line numberDiff line change
@@ -75,69 +75,6 @@ jobs:
7575
token: ${{ secrets.ANTREA_BUILD_INFRA_WORKFLOW_DISPATCH_PAT }}
7676
inputs: ${{ format('{{ "antrea-repository":"antrea-io/antrea", "antrea-ref":"{0}", "docker-tag":"{1}" }}', github.ref, 'latest') }}
7777

78-
build-ubi:
79-
needs: check-changes
80-
if: ${{ needs.check-changes.outputs.has_changes == 'yes' || github.event_name == 'push' }}
81-
runs-on: [ubuntu-latest]
82-
steps:
83-
- name: Free disk space
84-
# https://github.com/actions/virtual-environments/issues/709
85-
run: |
86-
sudo apt-get clean
87-
df -h
88-
- uses: actions/checkout@v4
89-
with:
90-
show-progress: false
91-
- name: Checking if image needs to be pushed
92-
run: |
93-
if [ "${{ github.repository }}" == "antrea-io/antrea" ] && [ "${{ github.event_name }}" == "push" ] && [ "${{ github.ref }}" == "refs/heads/main" ]; then
94-
echo "push_needed=true" >> $GITHUB_ENV
95-
echo "docker_driver=docker-container" >> $GITHUB_ENV
96-
else
97-
echo "push_needed=false" >> $GITHUB_ENV
98-
echo "docker_driver=docker" >> $GITHUB_ENV
99-
fi
100-
- name: Set up Docker Buildx
101-
uses: docker/setup-buildx-action@v3
102-
with:
103-
driver: ${{ env.docker_driver }}
104-
- uses: actions/setup-go@v5
105-
with:
106-
go-version-file: 'go.mod'
107-
- name: Build Antrea UBI9 Docker image without pushing to registry
108-
if: ${{ env.push_needed == 'false' }}
109-
run: |
110-
./hack/build-antrea-linux-all.sh --pull --distro ubi
111-
- name: Build and push Antrea UBI9 Docker image to registry
112-
if: ${{ env.push_needed == 'true' }}
113-
env:
114-
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
115-
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
116-
run: |
117-
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
118-
./hack/build-antrea-linux-all.sh --pull --push-base-images --distro ubi
119-
docker push antrea/antrea-agent-ubi:latest
120-
docker push antrea/antrea-controller-ubi:latest
121-
122-
build-scale:
123-
needs: check-changes
124-
if: ${{ needs.check-changes.outputs.has_changes == 'yes' || github.event_name == 'push' }}
125-
runs-on: [ubuntu-latest]
126-
steps:
127-
- uses: actions/checkout@v4
128-
with:
129-
show-progress: false
130-
- name: Build Antrea Agent Simulator Docker image
131-
run: make build-scale-simulator
132-
- name: Push Antrea Agent Simulator Docker image to registry
133-
if: ${{ github.repository == 'antrea-io/antrea' && github.event_name == 'push' && github.ref == 'refs/heads/main' }}
134-
env:
135-
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
136-
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
137-
run: |
138-
echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
139-
docker push antrea/antrea-ubuntu-simulator:latest
140-
14178
build-windows:
14279
needs: check-changes
14380
if: ${{ needs.check-changes.outputs.has_changes == 'yes' || github.event_name == 'push' }}

.github/workflows/conformance.yml

-141
This file was deleted.

0 commit comments

Comments
 (0)