Skip to content

Commit 451c72c

Browse files
committed
test(ci): remove other jobs
1 parent 6205dd8 commit 451c72c

File tree

1 file changed

+40
-59
lines changed

1 file changed

+40
-59
lines changed

.github/workflows/build.yml

Lines changed: 40 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -4,79 +4,60 @@ on:
44
push:
55
workflow_dispatch:
66

7-
env:
8-
PACT_BROKER_BASE_URL: https://test.pactflow.io
9-
PACT_BROKER_HOST: test.pactflow.io
10-
PACT_BROKER_TOKEN: ${{ secrets.PACTFLOW_TOKEN_FOR_CI_CD_WORKSHOP }}
11-
PACT_BROKER_PUBLISH_VERIFICATION_RESULTS: true
12-
GIT_COMMIT: ${{ github.sha }}
13-
GITHUB_REF: ${{ github.ref }}
14-
SEND_TEST_EVENTS: false
7+
# env:
8+
# PACT_BROKER_BASE_URL: https://test.pactflow.io
9+
# PACT_BROKER_HOST: test.pactflow.io
10+
# PACT_BROKER_TOKEN: ${{ secrets.PACTFLOW_TOKEN_FOR_CI_CD_WORKSHOP }}
11+
# PACT_BROKER_PUBLISH_VERIFICATION_RESULTS: true
12+
# GIT_COMMIT: ${{ github.sha }}
13+
# GITHUB_REF: ${{ github.ref }}
14+
# SEND_TEST_EVENTS: false
1515

1616
jobs:
17-
test:
18-
runs-on: ubuntu-latest
19-
steps:
20-
- uses: actions/checkout@v4
21-
- uses: actions/setup-go@v5
22-
with:
23-
go-version: '^1.22'
24-
- name: install pact-go shared libraries
25-
run: make install
26-
- name: Test
27-
run: GIT_BRANCH=${GITHUB_REF:11} make test
17+
# test:
18+
# runs-on: ubuntu-latest
19+
# steps:
20+
# - uses: actions/checkout@v4
21+
# - uses: actions/setup-go@v5
22+
# with:
23+
# go-version: '^1.22'
24+
# - name: install pact-go shared libraries
25+
# run: make install
26+
# - name: Test
27+
# run: GIT_BRANCH=${GITHUB_REF:11} make test
2828

29-
# Runs on branches as well, so we know the status of our PRs
30-
can-i-deploy:
31-
runs-on: ubuntu-latest
32-
needs: test
33-
steps:
34-
- uses: actions/checkout@v4
35-
- run: docker pull pactfoundation/pact-cli:latest
36-
- name: Can I deploy?
37-
run: GIT_BRANCH=${GITHUB_REF:11} make can_i_deploy
29+
# # Runs on branches as well, so we know the status of our PRs
30+
# can-i-deploy:
31+
# runs-on: ubuntu-latest
32+
# needs: test
33+
# steps:
34+
# - uses: actions/checkout@v4
35+
# - run: docker pull pactfoundation/pact-cli:latest
36+
# - name: Can I deploy?
37+
# run: GIT_BRANCH=${GITHUB_REF:11} make can_i_deploy
3838

39-
# Only deploy from master
40-
deploy:
41-
runs-on: ubuntu-latest
42-
needs: can-i-deploy
43-
steps:
44-
- uses: actions/checkout@v4
45-
- run: docker pull pactfoundation/pact-cli:latest
46-
- name: Deploy
47-
run: GIT_BRANCH=${GITHUB_REF:11} make deploy
48-
if: github.ref == 'refs/heads/master'
39+
# # Only deploy from master
40+
# deploy:
41+
# runs-on: ubuntu-latest
42+
# needs: can-i-deploy
43+
# steps:
44+
# - uses: actions/checkout@v4
45+
# - run: docker pull pactfoundation/pact-cli:latest
46+
# - name: Deploy
47+
# run: GIT_BRANCH=${GITHUB_REF:11} make deploy
48+
# if: github.ref == 'refs/heads/master'
4949

5050
test-containers:
51-
continue-on-error: ${{ matrix.experimental }}
5251
runs-on: ${{ matrix.os }}
53-
name: ${{ matrix.os }}-${{ matrix.variant }}-${{ matrix.go-version }}-test-container
52+
name: ${{ matrix.os }}-${{ matrix.variant }}-${{ matrix.go-version }}-${{ matrix.cgo }}-${{ matrix.tags }}-test-container
5453
strategy:
5554
fail-fast: false
5655
matrix:
5756
os: [ubuntu-latest, ubuntu-24.04-arm]
5857
go-version: ["1.22", "1.23"]
5958
tags: [libpact_cgo,pact_go]
6059
cgo: [0,1]
61-
variant: [debian]
62-
experimental: [false]
63-
include:
64-
- variant: alpine
65-
go-version: 1.22
66-
experimental: true
67-
os: ubuntu-latest
68-
- variant: alpine
69-
go-version: 1.23
70-
experimental: true
71-
os: ubuntu-latest
72-
- variant: alpine
73-
go-version: 1.22
74-
experimental: true
75-
os: ubuntu-24.04-arm
76-
- variant: alpine
77-
go-version: 1.23
78-
experimental: true
79-
os: ubuntu-24.04-arm
60+
variant: [debian,alpine]
8061
exclude:
8162
- cgo: 0
8263
tags: pact_go

0 commit comments

Comments
 (0)