forked from velas/velas-chain
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'velas:develop' into develop
- Loading branch information
Showing
837 changed files
with
83,746 additions
and
55,134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# This script is used to upload the full buildkite pipeline. The steps defined | ||
# in the buildkite UI should simply be: | ||
# | ||
# steps: | ||
# - command: ".buildkite/pipeline-upload.sh" | ||
# | ||
|
||
set -e | ||
cd "$(dirname "$0")"/.. | ||
source ci/_ | ||
sudo chmod 0777 ci/buildkite-pipeline-in-disk.sh | ||
|
||
_ ci/buildkite-pipeline-in-disk.sh pipeline.yml | ||
echo +++ pipeline | ||
cat pipeline.yml | ||
|
||
_ buildkite-agent pipeline upload pipeline.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
#### Problem | ||
|
||
|
||
|
||
#### Summary of Changes | ||
|
||
|
||
|
||
Fixes # |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,9 @@ on: | |
- devnet | ||
- 'build/**' | ||
|
||
env: | ||
APP_REPO: velas-solana | ||
|
||
jobs: | ||
docker-build-push: | ||
name: Build and push | ||
|
@@ -16,20 +19,13 @@ jobs: | |
image_tag: ${{ steps.build.outputs.image_tag }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} | ||
- name: Login to Docker Hub | ||
uses: docker/login-action@v2 | ||
with: | ||
username: ${{ secrets.REGISTRY_USER }} | ||
password: ${{ secrets.REGISTRY_PASS }} | ||
registry: ${{ secrets.REGISTRY_HOST }} | ||
- name: Build and push | ||
id: docker_build | ||
uses: docker/build-push-action@v2 | ||
with: | ||
ssh: | | ||
default=${{ env.SSH_AUTH_SOCK }} | ||
push: true | ||
tags: ${{ secrets.REGISTRY_HOST }}/velas/velas-solana:${{github.sha}} | ||
- name: Build, tag, and push image | ||
id: build | ||
env: | ||
REGISTRY: ${{ secrets.REGISTRY_HOST }}/velas | ||
REPOSITORY: ${{ env.APP_REPO }} | ||
IMAGE_TAG: ${{github.sha}} | ||
run: | | ||
docker pull ubuntu:20.04 | ||
DOCKER_BUILDKIT=1 docker build -t $REGISTRY/$REPOSITORY:$IMAGE_TAG --no-cache . | ||
docker push $REGISTRY/$REPOSITORY:$IMAGE_TAG |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.