Skip to content
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

release/2.7.0 -> master #11290

Closed
wants to merge 194 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
194 commits
Select commit Hold shift + click to select a range
702d0c8
Bump version and update CHANGELOG for core v2.6.0 (#10804)
chainchad Sep 26, 2023
f67d7e3
[Functions] Add extra expiration check in storage plugin (#10805)
bolekk Sep 26, 2023
c19d648
CCIP-1053 Replace filtering by created_at with filtering by block_tim…
mateusz-sekara Sep 27, 2023
05efa5d
Gas cost optimisations for VRFV2PlusWrapper (#10790)
kidambisrinivas Sep 27, 2023
6b1d465
Fix flakey job test (#10807)
cedric-cordenier Sep 27, 2023
8ed253b
fix: arbitrum chain id check in all ChainSpecificUtil methods (#10756)
makramkd Sep 27, 2023
57fec36
[fix] Refactor some flakey tests (#10777)
cedric-cordenier Sep 27, 2023
7b1ae85
feature: cmd for closest bhs block (#10799)
makramkd Sep 27, 2023
0d475b6
Redesign VRFV2PlusWrapper to be migratable to new VRFCoordinators (#1…
kidambisrinivas Sep 27, 2023
49837da
Support dynamic secrets (#10797)
shileiwill Sep 27, 2023
f7d0b38
Fix automation - mercury v0.3 response decoding (#10812)
infiloop2 Sep 27, 2023
c1348ed
core/plugins: fix logger field reference (#10815)
jmank88 Sep 27, 2023
f684afc
Mark solana test matrix as required check (#10811)
tateexon Sep 27, 2023
17772f3
[VRF-616] Fix test flake for trusted BHS (#10728)
vreff Sep 28, 2023
71d314f
[BCF-2674] Make BalanceMonitor test deterministic; add WorkDone to *s…
cedric-cordenier Sep 28, 2023
bfdd7d1
Increase error log detail for enhanced telemetry (#10822)
samsondav Sep 28, 2023
de737a5
Better Log Collection (#10824)
kalverra Sep 28, 2023
24dce59
Moving observability for LogPoller closer to the database layer (#10674)
mateusz-sekara Sep 28, 2023
f935479
[TT-609] Fix Bad Context Cancel (#10826)
kalverra Sep 28, 2023
eff698d
Add Mercury v0.3 contract wrappers for E2E tests (#10823)
lukaszcl Sep 29, 2023
5233de3
Fix enhanced EA Mercury telemetry prices are 0 when task result is no…
george-dorin Sep 29, 2023
55c7baa
[TT-414] Test Env E2E Builder Changes for Non EVM Chains (#10753)
tateexon Sep 29, 2023
6ae09dc
updates to bump chainlink-env and new chainlink charts (#10831)
AnieeG Sep 29, 2023
07d4038
Pass through extraArgs from user to VRFV2PlusWrapper (#10816)
kidambisrinivas Oct 2, 2023
0adc90c
Force RPC switching interval (#10726)
george-dorin Oct 2, 2023
16361f3
Update chainlink-env and PreventPodEviction settings (#10841)
tateexon Oct 2, 2023
9a65ab2
core/services: remove unused pg.QOpts from Delegate.ServicesForSpec (…
jmank88 Oct 3, 2023
b536d67
Improves Fund Return (#10842)
kalverra Oct 3, 2023
c5f9904
bump hashicorp/go-plugin to 1.5.2 (#10849)
jmank88 Oct 3, 2023
34d0500
Bump reviewdog/action-actionlint from 1.39.0 to 1.39.1 (#10856)
dependabot[bot] Oct 3, 2023
7547e57
ORM layer refactoring before adding finality (#10846)
mateusz-sekara Oct 4, 2023
61ccf8b
Update TxStore to use parent context created at initialization (#10735)
amit-momin Oct 4, 2023
c97bb57
chore: fix wrapper config in v2plus scripts (#10845)
makramkd Oct 4, 2023
dd3a699
Rename VRFV2PlusWrapperInterface to IVRFV2PlusWrapper to be consisten…
kidambisrinivas Oct 4, 2023
346c942
remove -tags test in favor of testing.Testing() (#10853)
jmank88 Oct 4, 2023
936ec09
core/services: flag duplicate service names (#10843)
jmank88 Oct 4, 2023
fea8410
Retroactively update the @chainlink/contracts v0.7.1 changelog (#10748)
chainchad Oct 4, 2023
76cb642
@chainlink.contracts release v0.8.0 (#10798)
chainchad Oct 4, 2023
30dfa21
write keeper debugging script (#10808)
RyanRHall Oct 4, 2023
a35a7e1
(test): Add Functions Gas tests (#10657)
justinkaseman Oct 4, 2023
f560107
Update e2e docker tests to use killgrave mock adapter instead of mock…
tateexon Oct 4, 2023
edbcda7
feature: support ovm in ChainSpecificUtil (#10757)
makramkd Oct 5, 2023
5d088a5
simplify HealthReport() implementations (#10867)
jmank88 Oct 5, 2023
efcf9f4
Bump build-test-image base-image version to v0.38.2 (#10870)
anirudhwarrier Oct 5, 2023
d030e2c
switch from exp/slices pkg to the stable (#10852)
poopoothegorilla Oct 5, 2023
a808a95
change warns to debugs in streams lookup (#10863)
RyanRHall Oct 5, 2023
09dfcf0
.github/workflows: print *.race files (#10868)
jmank88 Oct 5, 2023
38384ec
Move changelog entry from 2.6.0 to dev (#10871)
george-dorin Oct 5, 2023
05d7b5a
VRF-599: add load tests; test refactoring to have configurable setup;…
iljapavlovs Oct 5, 2023
59cb265
[AUTO-5283] Fix automation benchmark, on-demands tests (#10640)
anirudhwarrier Oct 6, 2023
961cc04
switch some exp pkg usage to stable (#10876)
poopoothegorilla Oct 6, 2023
064503e
core/scripts/vrfv2plus: pk not required for deploy (#10874)
makramkd Oct 6, 2023
1e89a63
Enable Solhint (#10869)
RensR Oct 6, 2023
bcb2c3c
Add migration support to VRFV2PlusWrapper (#10859)
kidambisrinivas Oct 6, 2023
c89f9c3
Fix the upgrade test ci (#10880)
tateexon Oct 7, 2023
7dbb38b
core: randomize p2p ports; consolidate GetFreePort implementations (#…
jmank88 Oct 9, 2023
5a0197b
golangci-lint (#10882)
jmank88 Oct 9, 2023
e3929dd
.github/workflows: fix race file match (#10885)
jmank88 Oct 9, 2023
a40a6a8
chore: update codeowners (#10888)
makramkd Oct 9, 2023
dfb97e5
remove request signatures (#10864)
KuphJr Oct 9, 2023
e499700
VRF-586: add env setup script for VRF V2 Plus (#10892)
iljapavlovs Oct 10, 2023
a4154c7
Set aliveLoopSub (#10893)
george-dorin Oct 10, 2023
743ee49
shadow: declaration of X shadows declaration at line 913 (govet) (#10…
jmank88 Oct 10, 2023
2ce9e60
bump foundry version (#10889)
RensR Oct 10, 2023
e66a735
chore: move dev vrf contracts into v0.8/vrf (#10894)
makramkd Oct 10, 2023
5efd686
[AUTO-5283] Fix on demand test CI (#10883)
anirudhwarrier Oct 10, 2023
9fe119d
core/internal/testutils: use github.com/hashicorp/consul/sdk/freeport…
jmank88 Oct 10, 2023
f512ca5
[TT-619] Poly zkEVM Compatibility (#10877)
kalverra Oct 10, 2023
7b926c8
[TT-619] zkEVM Integration and Gas Fixes (#10898)
kalverra Oct 10, 2023
5e51734
Fixes Odd Exit Code (#10900)
kalverra Oct 10, 2023
37673f4
add ci-lint gha for chaincli (#10732)
momentmaker Oct 10, 2023
f3a463f
bump zap to 1.26.0 (#10901)
jmank88 Oct 10, 2023
feedc9b
core/internal/cltest: refactor MustInsertRandomKey* for type safety (…
jmank88 Oct 10, 2023
5425f26
Add Polygon on demand soak test (#10899)
davidcauchi Oct 11, 2023
d7aaa0d
patch bump: grafana/pyroscope-go, pressly/goose/v3, shirou/gopsutil/v…
jmank88 Oct 11, 2023
2cc99be
Prevents pod eviction in OCR Soak (#10909)
kalverra Oct 11, 2023
7ca67b2
[TT-449] Automation Benchmark RPC Fault Tolerance (#10676)
kalverra Oct 11, 2023
400cd27
[TT-630] Moves Cleanup into Builder (#10910)
kalverra Oct 11, 2023
0c2501e
bump solana (#10904)
jmank88 Oct 11, 2023
838d162
Remove legacy secrets support (#10865)
KuphJr Oct 11, 2023
4983951
Move next nonce logic from Keystore to Broadcaster (#10108)
amit-momin Oct 12, 2023
f21c9c3
resolve root level solhint issues (#10929)
RensR Oct 12, 2023
4079431
rm old solidity versions from NPM package (#10931)
RensR Oct 12, 2023
33231a3
bump prometheus/client_* & some golang.org/x modules (#10915)
jmank88 Oct 12, 2023
0c50f5d
Fix l2EP solhint (#10932)
RensR Oct 12, 2023
f6401b5
Fixing createdAfter queries for backfill cases (#10928)
mateusz-sekara Oct 12, 2023
7d18cf0
Bump ctf version for E2E tests (#10934)
lukaszcl Oct 12, 2023
4c76ff2
update codeowners coverage (#10927)
RensR Oct 12, 2023
78b9a28
VRF-598: adjust tests to run VRF V2 Plus load tests against already d…
iljapavlovs Oct 12, 2023
3396a0e
update chainlink-env (#10938)
AnieeG Oct 12, 2023
2e825c4
faster generate (#10937)
jmank88 Oct 12, 2023
d8aa339
[TT-628] Close the EVMClient connections on test cleanup (#10911)
tateexon Oct 13, 2023
eab0984
Multichain telemetry support (#10623)
george-dorin Oct 13, 2023
9cc576f
Ensure txdb.conn is not closed on tx context cancelation (#10935)
dhaidashenko Oct 13, 2023
30c6b4b
[BCF-2689] Use an in-memory keystore for tests (#10946)
cedric-cordenier Oct 13, 2023
eb3cb9e
bump openzeppelin/contracts (#10887)
RensR Oct 13, 2023
96f89be
bump mockery to 2.35.4 (#10936)
jmank88 Oct 13, 2023
5132532
fix job spec grafana counts (#10913)
eutopian Oct 13, 2023
40d4a89
[TT-537] Use ipv4 localhost 127.0.0.1 to avoid intermittent ipv6 port…
tateexon Oct 13, 2023
0c20ec7
(fix): Amend hash for Foundry Oct 2nd nightly release (#10955)
justinkaseman Oct 13, 2023
1ccf6fb
Larger runner to speed up solana e2e tests (#10956)
tateexon Oct 13, 2023
e9a97ad
update bhs wrapper generation (#10944)
makramkd Oct 16, 2023
96155bc
Refactor E2E docker wrappers to use ClCluster (#10945)
lukaszcl Oct 16, 2023
a2c91ae
handle unchecked errors (#10964)
jmank88 Oct 16, 2023
4e07f4f
core/services/keystore: *memoryORM.saveEncryptedKeyRing - handle call…
jmank88 Oct 16, 2023
7bede8e
rm derived price feed (#10926)
RensR Oct 16, 2023
3f492fe
chore: prefix internal functions w/ underscore (#10943)
makramkd Oct 16, 2023
1227169
Chore/vrf 673 fix "On Demand VRFV2 Plus Load Test" workflow (#10947)
iljapavlovs Oct 16, 2023
fd1369c
Bump umani/changed-files from 4.0.1 to 4.1.0 (#10954)
dependabot[bot] Oct 16, 2023
4519370
Support for finality tags in LogPoller (#10762)
mateusz-sekara Oct 16, 2023
a76e6a1
type switch on an error will fail on wrapped errors. Use errors.As/Is…
jmank88 Oct 16, 2023
47902e1
core/services/ocrcommon: close started SingletonPeerWrapper (#10961)
jmank88 Oct 16, 2023
a466aea
(chore): Move Functions v1.0.0 to production (#10941)
justinkaseman Oct 16, 2023
2fa47e5
Bump solana to get latest e2e test stability fixes (#10960)
tateexon Oct 16, 2023
873aa6b
shadow: declaration of X shadows declaration at line Y (govet) (#10917)
jmank88 Oct 16, 2023
6dc18cb
BCF-2684: rm core/chains/solana; use chainlink-solana/pkg/solana (#10…
jmank88 Oct 16, 2023
458c18c
FUN-992 - Add minimumEstimateGasPrice to Functions Coordinator config…
justinkaseman Oct 16, 2023
f74c15a
reorg for v21 (#10381)
shileiwill Oct 16, 2023
93c75b1
Enhance VRFV2PlusWrapperConsumerBase (#10966)
kidambisrinivas Oct 17, 2023
49b2fc0
Return request price with requestRandomness (#10978)
kidambisrinivas Oct 17, 2023
ef4240f
chore: return native premium from wrapper getConfig (#10979)
makramkd Oct 17, 2023
0af1c02
core/web: simplify *TestApplication.NewHTTPClient() (#10957)
jmank88 Oct 17, 2023
34a5c3d
chaos test for v21 (#10503)
shileiwill Oct 17, 2023
c89866d
fix /dev solhint issues (#10977)
RensR Oct 17, 2023
edaefc6
Fix example consumer contracts to be migratable (#10982)
kidambisrinivas Oct 17, 2023
464de96
Add smoke test for check pipeline with Mercury Server enabled (#10766)
shileiwill Oct 17, 2023
d5aadc1
FUN-980 - (test): Add additional Functions foundry units tests from a…
justinkaseman Oct 17, 2023
f468fa6
read owner from registry (#10984)
shileiwill Oct 17, 2023
3f43eb0
BCF-2697: correct wrong search path in migration (#10985)
krehermann Oct 18, 2023
f8f929d
fix hardcoded trigger config values (#10905)
anirudhwarrier Oct 18, 2023
01a2dfb
Lock log waits in postgres and dump logs (#10992)
cedric-cordenier Oct 18, 2023
560a789
Move dev/transmission contracts to transmission/dev (#10991)
kidambisrinivas Oct 18, 2023
e5ef778
FUN-1009 - Remove redundant Functions Coordinator commitment & reques…
justinkaseman Oct 18, 2023
5908487
support mercury v0.3 (#10989)
shileiwill Oct 18, 2023
98aaf89
bump npm packages (#10981)
RensR Oct 18, 2023
4e0a0b4
fix the name (#10998)
shileiwill Oct 18, 2023
e740c8c
AUTO-6622 Enable v0.3 StreamsLookup to also use blockNumber (#10986)
cmalec Oct 18, 2023
d9afbbd
[BCI-2199] Enable Arbitrum on demand soaks (#10993)
davidcauchi Oct 18, 2023
231f2ff
Generate unique Functions requestIds for reorg'ed requests (#10891)
KuphJr Oct 18, 2023
c097c2c
[AUTO-6713] Remove additional funding step from smoke tests and make …
anirudhwarrier Oct 19, 2023
5b7b401
Randomize name to avoid contention on 'idx_jobs_name' (#11005)
cedric-cordenier Oct 19, 2023
8134dcf
upgrade opfwdr contracts to v0.8 and implement multiforward (#10933)
essamhassan Oct 19, 2023
cbef1bb
fix: retries for LINKNATIVEFEED and LINKETHFEED (#11010)
makramkd Oct 19, 2023
ef65395
release/2.6.0 -> develop (#11000)
snehaagni Oct 19, 2023
e952560
Revert "AUTO-6622 Enable v0.3 StreamsLookup to also use blockNumber (…
cmalec Oct 19, 2023
bdec2c1
Linea soak (#10641)
davidcauchi Oct 20, 2023
19866f2
allow to define a custom cleanup function, when building docker teste…
Tofel Oct 20, 2023
71e7de3
More randomising of externalJobID and name (#11008)
cedric-cordenier Oct 20, 2023
849e6b9
[BCF-2705] Randomize addresses in EVM forwarders tests (#11018)
cedric-cordenier Oct 20, 2023
ac1fc61
chore: bump operator ui (#11020)
makramkd Oct 20, 2023
4288e07
[BCF-2706] Remove duplicate externalJobIDs and names from testspecs (…
cedric-cordenier Oct 20, 2023
bf469b7
add migrations for eal tables (#10976)
jinhoonbang Oct 20, 2023
357a221
Fix solidity test after moving transmission contracts (#11024)
kidambisrinivas Oct 20, 2023
f8a36e7
log triggered based mercury test (#10999)
shileiwill Oct 20, 2023
75b7554
AUTO-6622-Enable-Mercury-v0.3-StreamsLookup-to-also-use-blockNumber (…
cmalec Oct 20, 2023
2930423
feature/BCF-2404-grpc-tracing: grpc tracing in core (#10698)
patrickhuie19 Oct 20, 2023
7194613
update core to use latest opfwdr contracts ABI (#11027)
essamhassan Oct 20, 2023
8040dfa
bump forwarder version, small optimization (#11032)
essamhassan Oct 20, 2023
bb5c5d7
Bump libocr dep version (#11031)
bolekk Oct 21, 2023
958c37c
VRF-663: adding better load test model for VRFV2 Plus (#11025)
iljapavlovs Oct 21, 2023
3b0fae7
remove unused event broadcaster plumbing (#11033)
krehermann Oct 22, 2023
35057f1
core: fix remaining golangci-lint issues (#10972)
jmank88 Oct 22, 2023
5211322
[BCF-2710] Randomize external_initiators.name (#11036)
cedric-cordenier Oct 23, 2023
ae8ec42
BCF-2641 Add prom bridge_name metric label to PromPipelineTasksTotalF…
ilija42 Oct 23, 2023
ff84f9f
rm plugins/cmd/chainlink-solana (#10973)
jmank88 Oct 23, 2023
a9ddfa1
bump golangci-lint to 1.55.0 (#11037)
jmank88 Oct 23, 2023
b7a2c77
CCIP-1143 LogPoller using blocks for database when doing cleanup (#11…
mateusz-sekara Oct 23, 2023
b64010c
cleanup the Fund function in consumer (#11045)
shileiwill Oct 23, 2023
c1fc9d2
[TT-647] Bump gha metrics collection (#10983)
tateexon Oct 23, 2023
1d7cec6
golangci-lint: deprecated types (#11044)
jmank88 Oct 23, 2023
370cdb0
[Functions] Remove V0 support from Listener (#11054)
bolekk Oct 23, 2023
a5e734c
rm chains/starknet (#10994)
jmank88 Oct 23, 2023
dcf2ea2
[BCF-2711] Randomize web auth tests (#11047)
cedric-cordenier Oct 24, 2023
bb32b73
Update CHANGELOG.md (#11059)
george-dorin Oct 24, 2023
a5b3fd7
fix keeper benchmark test that doesn't compile (#11042)
Tofel Oct 24, 2023
61e5564
BCF-2652: upgrade sync.Once to sync.Func/Value(s) (#11040)
jmank88 Oct 24, 2023
2dc0333
plugins: remove cmd/chainlink-starknet (#11058)
jmank88 Oct 24, 2023
621576c
fix logIndex bug in debugging script (#10939)
RyanRHall Oct 24, 2023
8d98dd5
update helm release gha (#11062)
momentmaker Oct 24, 2023
85330ca
Update CHANGELOG.md with note about logpoller support for finality ta…
reductionista Oct 24, 2023
848bfe2
fix/tracing-matrix: updating eth integration-tests matrix to only run…
patrickhuie19 Oct 24, 2023
a632a91
[Functions] Remove V0 support from allowlist reader, report encoding …
bolekk Oct 24, 2023
b87571c
update helm release gha to use GATI and config file (#11064)
momentmaker Oct 24, 2023
a2ae7cb
move testing contracts from integration-tests/contracts/ethereum/src …
shileiwill Oct 24, 2023
b1f05cf
(chore): FUN-1024 - Deprecate Chainlink Functions v0 contract code (#…
justinkaseman Oct 24, 2023
d3f378b
Use correct git commit sha as build metadata from manual workflow dis…
chainchad Oct 24, 2023
7248dc7
Bump version and update CHANGELOG for core v2.7.0
snehaagni Oct 24, 2023
9dba1e4
core: log a warning when deprecated P2P.V1 config is set in TOML (#11…
jmank88 Oct 27, 2023
2fdcc35
Merge pull request #11107 from smartcontractkit/BCF-2716-p2p-warn-bac…
chainchad Oct 27, 2023
7ac8696
operator-ui deprecation warnings (#11104)
george-dorin Oct 27, 2023
c2f75eb
chore: bump sigstore/cosign-installer from 2.1.0 to 3.1.2
erikburt Nov 6, 2023
d61c5d4
Merge pull request #11194 from smartcontractkit/chore/re-2044-bump-co…
chainchad Nov 6, 2023
c2ddce5
Finalize date on changelog for 2.7.0
snehaagni Nov 14, 2023
e8d8a60
Merge pull request #11289 from smartcontractkit/chore/update-release-…
snehaagni Nov 14, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 8 additions & 2 deletions .github/actions/build-sign-publish-chainlink/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ inputs:
required: false

dockerfile:
description: Path to the Dockerfile (relative to the repo root)
default: core/chainlink.Dockerfile
required: false
ecr-hostname:
Expand All @@ -23,6 +24,11 @@ inputs:
default: chainlink/chainlink
required: false
ecr-tag-suffix:
description: Docker image tag suffix
required: false
git-commit-sha:
description: Git commit SHA used as metadata when building the application (appears in logs)
default: ${{ github.sha }}
required: false
aws-role-to-assume:
description: The AWS role to assume as the CD user, if any. Used in configuring the docker/login-action
Expand Down Expand Up @@ -74,7 +80,7 @@ runs:
)

SHARED_BUILD_ARGS=$(cat << EOF
COMMIT_SHA=${{ github.sha }}
COMMIT_SHA=${{ inputs.git-commit-sha }}
EOF
)

Expand Down Expand Up @@ -195,7 +201,7 @@ runs:

- if: inputs.sign-images == 'true'
name: Install cosign
uses: sigstore/cosign-installer@581838fbedd492d2350a9ecd427a95d6de1e5d01 # v2.1.0
uses: sigstore/cosign-installer@11086d25041f77fe8fe7b9ea4e48e3b9192b8f19 # v3.1.2
with:
cosign-release: "v1.6.0"

Expand Down
2 changes: 1 addition & 1 deletion .github/actions/build-test-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ runs:
file: ./integration-tests/test.Dockerfile
build-args: |
BASE_IMAGE=${{ inputs.QA_AWS_ACCOUNT_NUMBER }}.dkr.ecr.${{ inputs.QA_AWS_REGION }}.amazonaws.com/test-base-image
IMAGE_VERSION=v0.32.9
IMAGE_VERSION=v0.38.2
SUITES="${{ inputs.suites }}"
AWS_REGION: ${{ inputs.QA_AWS_REGION }}
AWS_ROLE_TO_ASSUME: ${{ inputs.QA_AWS_ROLE_TO_ASSUME }}
Expand Down
77 changes: 77 additions & 0 deletions .github/actions/golangci-lint/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
name: CI lint for Golang
description: Runs CI lint for Golang
inputs:
# general inputs
name:
description: Name of the lint action
default: lint
go-directory:
description: Go directory to run commands from
default: "."
# setup-go inputs
only-modules:
description: Set to 'true' to only cache modules
default: "false"
cache-version:
description: Set this to cache bust
default: "1"
go-version-file:
description: Set where the go version file is located at
default: "go.mod"
go-module-file:
description: Set where the go module file is located at
default: "go.sum"
# grafana cloud inputs
gc-host:
description: "grafana cloud hostname"
gc-basic-auth:
description: "grafana cloud basic auth"

runs:
using: composite
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: ./.github/actions/setup-go
with:
only-modules: ${{ inputs.only-modules }}
cache-version: ${{ inputs.cache-version }}
go-version-file: ${{ inputs.go-version-file }}
go-module-file: ${{ inputs.go-module-file }}
- name: Touching core/web/assets/index.html
shell: bash
run: mkdir -p core/web/assets && touch core/web/assets/index.html
- name: Build binary
if: ${{ inputs.go-directory == '.' }}
shell: bash
run: go build ./...
- name: Build binary
if: ${{ inputs.go-directory != '.' }}
working-directory: ${{ inputs.go-directory }}
shell: bash
run: go build
- name: golangci-lint
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0
with:
version: v1.55.0
# We already cache these directories in setup-go
skip-pkg-cache: true
skip-build-cache: true
# only-new-issues is only applicable to PRs, otherwise it is always set to false
only-new-issues: true
args: --out-format colored-line-number,checkstyle:golangci-lint-report.xml
working-directory: ${{ inputs.go-directory }}
- name: Store lint report artifact
if: always()
uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0
with:
name: golangci-lint-report
path: ${{ inputs.go-directory }}/golangci-lint-report.xml
- name: Collect Metrics
if: always()
uses: smartcontractkit/push-gha-metrics-action@f4d2fcbe12e9e44921e0171d24085ab7d2a30bc9 # v2.0.1
with:
basic-auth: ${{ inputs.gc-basic-auth }}
hostname: ${{ inputs.gc-host }}
this-job-name: ${{ inputs.name }}
continue-on-error: true
2 changes: 1 addition & 1 deletion .github/actions/goreleaser-build-sign-publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ runs:
version: ${{ inputs.zig-version }}
- name: Setup cosign
if: inputs.enable-cosign == 'true'
uses: sigstore/cosign-installer@581838fbedd492d2350a9ecd427a95d6de1e5d01 # v2.1.0
uses: sigstore/cosign-installer@11086d25041f77fe8fe7b9ea4e48e3b9192b8f19 # v3.1.2
with:
cosign-release: ${{ inputs.cosign-version }}
- name: Login to docker registry
Expand Down
87 changes: 49 additions & 38 deletions .github/actions/setup-go/action.yml
Original file line number Diff line number Diff line change
@@ -1,53 +1,64 @@
name: Setup Go
description: Setup Golang with efficient caching
description: Setup Golang with efficient caching
inputs:
only-modules:
description: Set to 'true' to only cache modules
default: 'false'
default: "false"
cache-version:
description: Set this to cache bust
default: "1"
go-version-file:
description: Set where the go version file is located at
default: "go.mod"
go-module-file:
description: Set where the go module file is located at
default: "go.sum"

runs:
using: composite
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version-file: "go.mod"
cache: false
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: ${{ inputs.go-version-file }}
cache: false

- name: Get branch name
if: ${{ inputs.only-modules == 'false' }}
id: branch-name
uses: tj-actions/branch-names@2e5354c6733793113f416314375826df030ada23 #v6.5
- name: Get branch name
if: ${{ inputs.only-modules == 'false' }}
id: branch-name
uses: tj-actions/branch-names@2e5354c6733793113f416314375826df030ada23 #v6.5

- name: Set go cache keys
shell: bash
id: go-cache-dir
run: |
echo "gomodcache=$(go env GOMODCACHE)" >> $GITHUB_OUTPUT
echo "gobuildcache=$(go env GOCACHE)" >> $GITHUB_OUTPUT
- name: Set go cache keys
shell: bash
id: go-cache-dir
run: |
echo "gomodcache=$(go env GOMODCACHE)" >> $GITHUB_OUTPUT
echo "gobuildcache=$(go env GOCACHE)" >> $GITHUB_OUTPUT

- uses: actions/cache@v3
name: Cache Go Modules
with:
path: |
${{ steps.go-cache-dir.outputs.gomodcache }}
# The lifetime of go modules is much higher than the build outputs, so we increase cache efficiency
# here by not having the primary key contain the branch name
key: ${{ runner.os }}-gomod-${{ inputs.cache-version }}-${{ hashFiles('./go.sum') }}
restore-keys: |
${{ runner.os }}-gomod-${{ inputs.cache-version }}-
- name: Set go module path
id: go-module-path
shell: bash
run: echo "path=./${{ inputs.go-module-file }}" >> $GITHUB_OUTPUT

- uses: actions/cache@v3
if: ${{ inputs.only-modules == 'false' }}
name: Cache Go Build Outputs
with:
path: |
${{ steps.go-cache-dir.outputs.gobuildcache }}
# The lifetime of go build outputs is pretty short, so we make our primary cache key be the branch name
key: ${{ runner.os }}-gobuild-${{ inputs.cache-version }}-${{ hashFiles('./go.sum') }}-${{ steps.branch-name.outputs.current_branch }}
restore-keys: |
${{ runner.os }}-gobuild-${{ inputs.cache-version }}-${{ hashFiles('./go.sum') }}-
${{ runner.os }}-gobuild-${{ inputs.cache-version }}-
- uses: actions/cache@v3
name: Cache Go Modules
with:
path: |
${{ steps.go-cache-dir.outputs.gomodcache }}
# The lifetime of go modules is much higher than the build outputs, so we increase cache efficiency
# here by not having the primary key contain the branch name
key: ${{ runner.os }}-gomod-${{ inputs.cache-version }}-${{ hashFiles(steps.go-module-path.output.path) }}
restore-keys: |
${{ runner.os }}-gomod-${{ inputs.cache-version }}-

- uses: actions/cache@v3
if: ${{ inputs.only-modules == 'false' }}
name: Cache Go Build Outputs
with:
path: |
${{ steps.go-cache-dir.outputs.gobuildcache }}
# The lifetime of go build outputs is pretty short, so we make our primary cache key be the branch name
key: ${{ runner.os }}-gobuild-${{ inputs.cache-version }}-${{ hashFiles(steps.go-module-path.output.path) }}-${{ steps.branch-name.outputs.current_branch }}
restore-keys: |
${{ runner.os }}-gobuild-${{ inputs.cache-version }}-${{ hashFiles(steps.go-module-path.output.path) }}-
${{ runner.os }}-gobuild-${{ inputs.cache-version }}-
2 changes: 1 addition & 1 deletion .github/actions/setup-postgres/.env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
POSTGRES_USER=postgres
POSTGRES_OPTIONS="-c max_connections=1000 -c shared_buffers=2GB"
POSTGRES_OPTIONS="-c max_connections=1000 -c shared_buffers=2GB -c log_lock_waits=true"
POSTGRES_PASSWORD=postgres
POSTGRES_DB=chainlink_test
POSTGRES_HOST_AUTH_METHOD=trust
2 changes: 2 additions & 0 deletions .github/cr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pages_branch: helm-release
packages_with_index: true
5 changes: 5 additions & 0 deletions .github/tracing/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Distributed Tracing

These config files are for an OTEL collector, grafana Tempo, and a grafana UI instance to run as containers on the same network.

A localhost client can send gRPC calls to the server. The gRPC server is instrumented with open telemetry traces, which are sent to the OTEL collector and forwarded to the Tempo backend. The grafana UI can then read the trace data from the Tempo backend.
18 changes: 18 additions & 0 deletions .github/tracing/grafana-datasources.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
apiVersion: 1

datasources:
- name: Tempo
type: tempo
access: proxy
orgId: 1
url: http://tempo:3200
basicAuth: false
isDefault: true
version: 1
editable: false
apiVersion: 1
uid: tempo
jsonData:
httpMethod: GET
serviceMap:
datasourceUid: prometheus
46 changes: 46 additions & 0 deletions .github/tracing/local-smoke-docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
version: "3"
services:

# ... the OpenTelemetry Collector configured to receive traces and export to Tempo ...
otel-collector:
image: otel/opentelemetry-collector:0.61.0
command: [ "--config=/etc/otel-collector.yaml" ]
volumes:
- ./otel-collector.yaml:/etc/otel-collector.yaml
ports:
- "4317:4317" # otlp grpc
depends_on:
- tempo
networks:
- tracing-network

# .. Which accepts requests from grafana ...
tempo:
image: grafana/tempo:latest
command: [ "-config.file=/etc/tempo.yaml" ]
volumes:
- ./tempo.yaml:/etc/tempo.yaml
- ./tempo-data:/tmp/tempo
ports:
- "4317" # otlp grpc
networks:
- tracing-network

grafana:
image: grafana/grafana:9.4.3
volumes:
- ./grafana-datasources.yaml:/etc/grafana/provisioning/datasources/datasources.yaml
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_AUTH_DISABLE_LOGIN_FORM=true
- GF_FEATURE_TOGGLES_ENABLE=traceqlEditor
ports:
- "3000:3000"
networks:
- tracing-network

networks:
tracing-network:
name: tracing
driver: bridge
15 changes: 15 additions & 0 deletions .github/tracing/otel-collector.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
receivers:
otlp:
protocols:
grpc:
endpoint: "0.0.0.0:4317"
exporters:
otlp:
endpoint: tempo:4317
tls:
insecure: true
service:
pipelines:
traces:
receivers: [otlp]
exporters: [otlp]
24 changes: 24 additions & 0 deletions .github/tracing/tempo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
server:
http_listen_port: 3200

distributor:
receivers:
otlp:
protocols:
http:
grpc:

ingester:
max_block_duration: 5m # cut the headblock when this much time passes. this is being set for demo purposes and should probably be left alone normally

compactor:
compaction:
block_retention: 1h # overall Tempo trace retention. set for demo purposes

storage:
trace:
backend: local # backend configuration to use
wal:
path: /tmp/tempo/wal # where to store the the wal locally
local:
path: /tmp/tempo/blocks
4 changes: 2 additions & 2 deletions .github/workflows/automation-benchmark-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
description: Chainlink image version to use
required: true
type: string
default: 2.0.0
default: 2.5.0
chainlinkImage:
description: Chainlink image repo to use
required: true
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
- name: Collect Metrics
if: always()
id: collect-gha-metrics
uses: smartcontractkit/push-gha-metrics-action@d2c2b7bdc9012651230b2608a1bcb0c48538b6ec
uses: smartcontractkit/push-gha-metrics-action@f4d2fcbe12e9e44921e0171d24085ab7d2a30bc9 # v2.0.1
with:
basic-auth: ${{ secrets.GRAFANA_CLOUD_BASIC_AUTH }}
hostname: ${{ secrets.GRAFANA_CLOUD_HOST }}
Expand Down
Loading
Loading