Skip to content

Commit 6e01a07

Browse files
committed
Revert "[anza migration] ci (solana-labs#5)"
This reverts commit b0022d7.
1 parent 4cb7c31 commit 6e01a07

10 files changed

+140
-14
lines changed

.mergify.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ pull_request_rules:
3333
actions:
3434
request_reviews:
3535
teams:
36-
- "@anza-xyz/community-pr-subscribers"
36+
- "@solana-labs/community-pr-subscribers"
3737
- name: label changes from monorepo-triage
3838
conditions:
3939
- author≠@core-contributors
@@ -102,7 +102,7 @@ pull_request_rules:
102102
actions:
103103
backport:
104104
assignees: &BackportAssignee
105-
- "{{ merged_by|replace('mergify[bot]', label|select('equalto', 'community')|first|default(author)|replace('community', '@anza-xyz/community-pr-subscribers')) }}"
105+
- "{{ merged_by|replace('mergify[bot]', label|select('equalto', 'community')|first|default(author)|replace('community', '@solana-labs/community-pr-subscribers')) }}"
106106
title: "{{ destination_branch }}: {{ title }} (backport of #{{ number }})"
107107
ignore_conflicts: true
108108
labels:

.travis.yml

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
branches:
2+
only:
3+
- master
4+
- /^v\d+\.\d+/
5+
6+
notifications:
7+
email: false
8+
slack:
9+
on_success: change
10+
if: NOT type = pull_request
11+
secure: F4IjOE05MyaMOdPRL+r8qhs7jBvv4yDM3RmFKE1zNXnfUOqV4X38oQM1EI+YVsgpMQLj/pxnEB7wcTE4Bf86N6moLssEULCpvAuMVoXj4QbWdomLX+01WbFa6fLVeNQIg45NHrz2XzVBhoKOrMNnl+QI5mbR2AlS5oqsudHsXDnyLzZtd4Y5SDMdYG1zVWM01+oNNjgNfjcCGmOE/K0CnOMl6GPi3X9C34tJ19P2XT7MTDsz1/IfEF7fro2Q8DHEYL9dchJMoisXSkem5z7IDQkGzXsWdWT4NnndUvmd1MlTCE9qgoXDqRf95Qh8sB1Dz08HtvgfaosP2XjtNTfDI9BBYS15Ibw9y7PchAJE1luteNjF35EOy6OgmCLw/YpnweqfuNViBZz+yOPWXVC0kxnPIXKZ1wyH9ibeH6E4hr7a8o9SV/6SiWIlbYF+IR9jPXyTCLP/cc3sYljPWxDnhWFwFdRVIi3PbVAhVu7uWtVUO17Oc9gtGPgs/GrhOMkJfwQPXaudRJDpVZowxTX4x9kefNotlMAMRgq+Drbmgt4eEBiCNp0ITWgh17BiE1U09WS3myuduhoct85+FoVeaUkp1sxzHVtGsNQH0hcz7WcpZyOM+AwistJA/qzeEDQao5zi1eKWPbO2xAhi2rV1bDH6bPf/4lDBwLRqSiwvlWU=
12+
13+
os: linux
14+
dist: bionic
15+
language: minimal
16+
17+
jobs:
18+
include:
19+
- &release-artifacts
20+
if: type IN (api, cron) OR tag IS present
21+
name: "macOS release artifacts"
22+
os: osx
23+
osx_image: xcode12
24+
language: rust
25+
rust:
26+
- stable
27+
install:
28+
- source ci/rust-version.sh
29+
- PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"
30+
- readlink -f .
31+
- brew install gnu-tar
32+
- PATH="/usr/local/opt/gnu-tar/libexec/gnubin:$PATH"
33+
- tar --version
34+
script:
35+
- source ci/env.sh
36+
- rustup set profile default
37+
- ci/publish-tarball.sh
38+
deploy:
39+
- provider: s3
40+
access_key_id: $AWS_ACCESS_KEY_ID
41+
secret_access_key: $AWS_SECRET_ACCESS_KEY
42+
bucket: release.solana.com
43+
region: us-west-1
44+
skip_cleanup: true
45+
acl: public_read
46+
local_dir: travis-s3-upload
47+
on:
48+
all_branches: true
49+
- provider: releases
50+
token: $GITHUB_TOKEN
51+
skip_cleanup: true
52+
file_glob: true
53+
file: travis-release-upload/*
54+
on:
55+
tags: true
56+
- <<: *release-artifacts
57+
name: "Windows release artifacts"
58+
os: windows
59+
install:
60+
- choco install openssl
61+
- export OPENSSL_DIR="C:\Program Files\OpenSSL-Win64"
62+
- source ci/rust-version.sh
63+
- PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"
64+
- readlink -f .
65+
# Linux release artifacts are still built by ci/buildkite-secondary.yml
66+
#- <<: *release-artifacts
67+
# name: "Linux release artifacts"
68+
# os: linux
69+
# before_install:
70+
# - sudo apt-get install libssl-dev libudev-dev
71+
72+
# docs pull request
73+
- name: "docs"
74+
if: type IN (push, pull_request) OR tag IS present
75+
language: node_js
76+
node_js:
77+
- "lts/*"
78+
79+
services:
80+
- docker
81+
82+
cache:
83+
directories:
84+
- ~/.npm
85+
86+
before_install:
87+
- source ci/env.sh
88+
- .travis/channel_restriction.sh edge beta || travis_terminate 0
89+
- .travis/affects.sh docs/ .travis || travis_terminate 0
90+
- cd docs/
91+
- source .travis/before_install.sh
92+
93+
script:
94+
- source .travis/script.sh

README.md

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<p align="center">
22
<a href="https://solana.com">
3-
<img alt="Solana" src="https://i.imgur.com/0vfIMHo.png" width="250" />
3+
<img alt="Solana" src="https://i.imgur.com/IKyzQ6T.png" width="250" />
44
</a>
55
</p>
66

@@ -113,3 +113,35 @@ problem is solved by this code?" On the other hand, if a test does fail and you
113113
better way to solve the same problem, a Pull Request with your solution would most certainly be
114114
welcome! Likewise, if rewriting a test can better communicate what code it's protecting, please
115115
send us that patch!
116+
117+
# Disclaimer
118+
119+
All claims, content, designs, algorithms, estimates, roadmaps,
120+
specifications, and performance measurements described in this project
121+
are done with the Solana Labs, Inc. (“SL”) good faith efforts. It is up to
122+
the reader to check and validate their accuracy and truthfulness.
123+
Furthermore, nothing in this project constitutes a solicitation for
124+
investment.
125+
126+
Any content produced by SL or developer resources that SL provides are
127+
for educational and inspirational purposes only. SL does not encourage,
128+
induce or sanction the deployment, integration or use of any such
129+
applications (including the code comprising the Solana blockchain
130+
protocol) in violation of applicable laws or regulations and hereby
131+
prohibits any such deployment, integration or use. This includes the use of
132+
any such applications by the reader (a) in violation of export control
133+
or sanctions laws of the United States or any other applicable
134+
jurisdiction, (b) if the reader is located in or ordinarily resident in
135+
a country or territory subject to comprehensive sanctions administered
136+
by the U.S. Office of Foreign Assets Control (OFAC), or (c) if the
137+
reader is or is working on behalf of a Specially Designated National
138+
(SDN) or a person subject to similar blocking or denied party
139+
prohibitions.
140+
141+
The reader should be aware that U.S. export control and sanctions laws prohibit
142+
U.S. persons (and other persons that are subject to such laws) from transacting
143+
with persons in certain countries and territories or that are on the SDN list.
144+
Accordingly, there is a risk to individuals that other persons using any of the
145+
code contained in this repo, or a derivation thereof, may be sanctioned persons
146+
and that transactions with such persons would be a violation of U.S. export
147+
controls and sanctions law.

ci/buildkite-pipeline-in-disk.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ if [[ -n $BUILDKITE_TAG ]]; then
289289
start_pipeline "Tag pipeline for $BUILDKITE_TAG"
290290

291291
annotate --style info --context release-tag \
292-
"https://github.com/anza-xyz/agave/releases/$BUILDKITE_TAG"
292+
"https://github.com/solana-labs/solana/releases/$BUILDKITE_TAG"
293293

294294
# Jump directly to the secondary build to publish release artifacts quickly
295295
trigger_secondary_step
@@ -307,7 +307,7 @@ if [[ $BUILDKITE_BRANCH =~ ^pull ]]; then
307307

308308
# Add helpful link back to the corresponding Github Pull Request
309309
annotate --style info --context pr-backlink \
310-
"Github Pull Request: https://github.com/anza-xyz/agave/$BUILDKITE_BRANCH"
310+
"Github Pull Request: https://github.com/solana-labs/solana/$BUILDKITE_BRANCH"
311311

312312
if [[ $GITHUB_USER = "dependabot[bot]" ]]; then
313313
command_step dependabot "ci/dependabot-pr.sh" 5

ci/buildkite-pipeline.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ EOF
121121

122122
trigger_secondary_step() {
123123
cat >> "$output_file" <<"EOF"
124-
- name: "Trigger Build on agave-secondary"
125-
trigger: "agave-secondary"
124+
- name: "Trigger Build on solana-secondary"
125+
trigger: "solana-secondary"
126126
branches: "!pull/*"
127127
async: true
128128
soft_fail: true
@@ -315,7 +315,7 @@ if [[ -n $BUILDKITE_TAG ]]; then
315315
start_pipeline "Tag pipeline for $BUILDKITE_TAG"
316316

317317
annotate --style info --context release-tag \
318-
"https://github.com/anza-xyz/agave/releases/$BUILDKITE_TAG"
318+
"https://github.com/solana-labs/solana/releases/$BUILDKITE_TAG"
319319

320320
# Jump directly to the secondary build to publish release artifacts quickly
321321
trigger_secondary_step
@@ -333,7 +333,7 @@ if [[ $BUILDKITE_BRANCH =~ ^pull ]]; then
333333

334334
# Add helpful link back to the corresponding Github Pull Request
335335
annotate --style info --context pr-backlink \
336-
"Github Pull Request: https://github.com/anza-xyz/agave/$BUILDKITE_BRANCH"
336+
"Github Pull Request: https://github.com/solana-labs/solana/$BUILDKITE_BRANCH"
337337

338338
if [[ $GITHUB_USER = "dependabot[bot]" ]]; then
339339
command_step dependabot "ci/dependabot-pr.sh" 5

ci/buildkite-solana-private.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ if [[ $BUILDKITE_BRANCH =~ ^pull ]]; then
287287

288288
# Add helpful link back to the corresponding Github Pull Request
289289
annotate --style info --context pr-backlink \
290-
"Github Pull Request: https://github.com/anza-xyz/agave/$BUILDKITE_BRANCH"
290+
"Github Pull Request: https://github.com/solana-labs/solana/$BUILDKITE_BRANCH"
291291

292292
if [[ $GITHUB_USER = "dependabot[bot]" ]]; then
293293
command_step dependabot "ci/dependabot-pr.sh" 5

ci/channel-info.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ here="$(dirname "$0")"
1111
# shellcheck source=ci/semver_bash/semver.sh
1212
source "$here"/semver_bash/semver.sh
1313

14-
remote=https://github.com/anza-xyz/agave.git
14+
remote=https://github.com/solana-labs/solana.git
1515

1616
# Fetch all vX.Y.Z tags
1717
#

ci/dependabot-pr.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ fi
2121
echo --- "(FAILING) Backpropagating dependabot-triggered Cargo.lock updates"
2222

2323
name="dependabot-buildkite"
24-
api_base="https://api.github.com/repos/anza-xyz/agave/pulls"
24+
api_base="https://api.github.com/repos/solana-labs/solana/pulls"
2525
pr_num=$(echo "$BUILDKITE_BRANCH" | grep -Eo '[0-9]+')
2626
branch=$(curl -s "$api_base/$pr_num" | python3 -c 'import json,sys;print(json.load(sys.stdin)["head"]["ref"])')
2727

ci/rust-version.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export rust_stable="$stable_version"
3737

3838
export rust_nightly=nightly-"$nightly_version"
3939

40-
export ci_docker_image="anzaxyz/ci:rust_${rust_stable}_${rust_nightly}"
40+
export ci_docker_image="solanalabs/ci:rust_${rust_stable}_${rust_nightly}"
4141

4242
[[ -z $1 ]] || (
4343

ci/test-coverage.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ else
3232
codecov -t "${CODECOV_TOKEN}"
3333

3434
annotate --style success --context codecov.io \
35-
"CodeCov report: https://codecov.io/github/anza-xyz/agave/commit/${CI_COMMIT:0:9}"
35+
"CodeCov report: https://codecov.io/github/solana-labs/solana/commit/${CI_COMMIT:0:9}"
3636
fi

0 commit comments

Comments
 (0)