Skip to content

Commit 492b298

Browse files
authored
Run build verified solana only with tags (#1361)
* Run build verified solana only with tags * Don't tag on release * Fix Checkout refs * test something * Modify Solana Verify Build * Add gobindings for 1.6.0 * Add codeowners
1 parent b197f2c commit 492b298

File tree

166 files changed

+19846
-36
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

166 files changed

+19846
-36
lines changed

.github/workflows/solana-verified-build.yml

Lines changed: 7 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -3,38 +3,16 @@ name: Solana Verified Build
33
on:
44
workflow_dispatch:
55
inputs:
6-
sha:
7-
description: 'SHA to build (can be short)'
6+
tag:
7+
description: 'Tag to build artifacts for'
88
required: true
99
type: string
1010
push:
11-
branches:
12-
- main
11+
tags:
12+
- 'solana-v*'
1313

1414
jobs:
15-
changes:
16-
name: Detect changes
17-
runs-on: ubuntu-latest
18-
outputs:
19-
solana_changes: ${{ steps.changes.outputs.solana_changes }}
20-
steps:
21-
- name: Checkout the repo
22-
uses: actions/checkout@v4
23-
with:
24-
persist-credentials: false
25-
- name: Detect changes
26-
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
27-
id: changes
28-
with:
29-
list-files: "shell"
30-
filters: |
31-
solana_changes:
32-
- 'chains/solana/**'
33-
- '.github/workflows/solana*.yml'
34-
3515
build:
36-
needs: [ changes ]
37-
if: ${{ needs.changes.outputs.solana_changes == 'true' }}
3816
runs-on: ubuntu-latest-8cores-32GB
3917
steps:
4018
- uses: actions/checkout@v4
@@ -43,7 +21,7 @@ jobs:
4321
- name: Get Long and Short SHAs
4422
id: get_sha
4523
run: |
46-
FULL_SHA=$(git rev-parse ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.sha || github.sha }})
24+
FULL_SHA=$(git rev-parse ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.tag || github.ref_name }})
4725
echo "short_sha=${FULL_SHA:0:12}" >> $GITHUB_OUTPUT
4826
echo "full_sha=$FULL_SHA" >> $GITHUB_OUTPUT
4927
- uses: actions/checkout@v4
@@ -73,7 +51,8 @@ jobs:
7351
uses: softprops/action-gh-release@c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda # v2.2.1
7452
with:
7553
token: ${{ secrets.GITHUB_TOKEN }}
76-
tag_name: solana-artifacts-localtest-${{ steps.get_sha.outputs.short_sha }}
54+
tag_name: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.tag || github.ref_name }}
7755
target_commitish: ${{ steps.get_sha.outputs.full_sha }}
56+
body_path: ${{ github.workspace }}/chains/solana/CHANGELOG.md
7857
files: |
7958
chains/solana/contracts/artifacts.tar.gz

CODEOWNERS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
# solana development ownership
99
/chains/solana @smartcontractkit/ccip-onchain-solana
1010
.github/workflows/solana.yml @smartcontractkit/ccip-onchain-solana
11+
.github/workflows/solana-verified-build.yml @smartcontractkit/ccip-onchain-solana
12+
.github/workflows/idl-compatibility-check.yml @smartcontractkit/ccip-onchain-solana
1113

1214
# Deployment tooling
1315
/deployment @smartcontractkit/ccip-tooling

chains/solana/CHANGELOG.md

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,26 @@
22

33
This document describes the changes introduced in the different versions of the **Chainlink CCIP Solana programs**, located in [`chains/solana/contracts/programs`](https://github.com/smartcontractkit/chainlink-ccip/tree/main/chains/solana/contracts/programs).
44

5-
---
5+
<!-- --- -->
66

7-
## [Unreleased] (1.6.0)
7+
<!-- ## [Unreleased] (1.6.1) -->
88
<!-- ### Added
99
- (Placeholder for upcoming features) -->
1010

11+
<!-- ### Changed -->
12+
<!-- - (Placeholder for changes) -->
13+
14+
<!-- ### Fixed
15+
- (Placeholder for bug fixes) -->
16+
17+
---
18+
19+
## [1.6.0]
20+
1121
### Changed
1222

1323
- [Token Pools] Allow setting rate limit with rate and capacity set to 0 [#1290](https://github.com/smartcontractkit/chainlink-ccip/pull/1290)
1424

15-
<!-- ### Fixed
16-
- (Placeholder for bug fixes) -->
1725

1826
---
1927

@@ -32,8 +40,8 @@ This document describes the changes introduced in the different versions of the
3240

3341
### Core Contracts & CCTP Token Pool
3442

35-
1. Commit [`7f8a0f403c3a`](https://github.com/smartcontractkit/chainlink-ccip/commit/7f8a0f403c3a)
36-
1. Git Tag: [solana-v0.1.1-cctp](https://github.com/smartcontractkit/chainlink-ccip/releases/tag/solana-v0.1.1-cctp)
43+
1. Commit [`7f8a0f403c3a`](https://github.com/smartcontractkit/chainlink-ccip/commit/7f8a0f403c3a)
44+
1. Git Tag: [solana-v0.1.1-cctp](https://github.com/smartcontractkit/chainlink-ccip/releases/tag/solana-v0.1.1-cctp)
3745

3846
#### Added
3947

@@ -53,8 +61,8 @@ This document describes the changes introduced in the different versions of the
5361

5462
### Lock and Release + Burn and Mint Token Pools
5563

56-
1. Commit: [`ee587a6c0562`](https://github.com/smartcontractkit/chainlink-ccip/commit/ee587a6c0562)
57-
1. Git Tag: [solana-v0.1.1](https://github.com/smartcontractkit/chainlink-ccip/releases/tag/solana-v0.1.1)
64+
1. Commit: [`ee587a6c0562`](https://github.com/smartcontractkit/chainlink-ccip/commit/ee587a6c0562)
65+
1. Git Tag: [solana-v0.1.1](https://github.com/smartcontractkit/chainlink-ccip/releases/tag/solana-v0.1.1)
5866

5967
#### Added
6068

chains/solana/gobindings/v1_6_0/base_token_pool/accounts.go

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

chains/solana/gobindings/v1_6_0/base_token_pool/instructions.go

Lines changed: 109 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

chains/solana/gobindings/v1_6_0/base_token_pool/testing_utils.go

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)