mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-18 20:31:40 +03:00
Merge pull request #6405 from urbit/i/6404/next-kelvin-ci
ci: use corresponding `vere` builds on CI for `next/kelvin/*` branches
This commit is contained in:
commit
e365a58a98
4
.github/workflows/develop.yml
vendored
4
.github/workflows/develop.yml
vendored
@ -9,7 +9,7 @@ on:
|
||||
- '.github/workflows/develop.yml'
|
||||
- '.github/workflows/release.yml'
|
||||
- '.github/workflows/master.yml'
|
||||
- '.github/workflows/vere.yml'
|
||||
- '.github/workflows/shared.yml'
|
||||
- 'pkg/arvo/**'
|
||||
- 'pkg/docker-image/**'
|
||||
- 'pkg/ent/**'
|
||||
@ -24,7 +24,7 @@ on:
|
||||
|
||||
jobs:
|
||||
call-vere:
|
||||
uses: ./.github/workflows/vere.yml
|
||||
uses: ./.github/workflows/shared.yml
|
||||
with:
|
||||
pace: 'edge'
|
||||
upload: >-
|
||||
|
4
.github/workflows/feature.yml
vendored
4
.github/workflows/feature.yml
vendored
@ -7,7 +7,7 @@ on:
|
||||
- '.github/workflows/develop.yml'
|
||||
- '.github/workflows/release.yml'
|
||||
- '.github/workflows/master.yml'
|
||||
- '.github/workflows/vere.yml'
|
||||
- '.github/workflows/shared.yml'
|
||||
- 'pkg/arvo/**'
|
||||
- 'pkg/docker-image/**'
|
||||
- 'pkg/ent/**'
|
||||
@ -22,7 +22,7 @@ on:
|
||||
|
||||
jobs:
|
||||
call-vere:
|
||||
uses: ./.github/workflows/vere.yml
|
||||
uses: ./.github/workflows/shared.yml
|
||||
with:
|
||||
pace: 'edge'
|
||||
upload: >-
|
||||
|
4
.github/workflows/master.yml
vendored
4
.github/workflows/master.yml
vendored
@ -9,7 +9,7 @@ on:
|
||||
- '.github/workflows/develop.yml'
|
||||
- '.github/workflows/release.yml'
|
||||
- '.github/workflows/master.yml'
|
||||
- '.github/workflows/vere.yml'
|
||||
- '.github/workflows/shared.yml'
|
||||
- 'pkg/arvo/**'
|
||||
- 'pkg/docker-image/**'
|
||||
- 'pkg/ent/**'
|
||||
@ -24,7 +24,7 @@ on:
|
||||
|
||||
jobs:
|
||||
call-vere:
|
||||
uses: ./.github/workflows/vere.yml
|
||||
uses: ./.github/workflows/shared.yml
|
||||
with:
|
||||
pace: 'live'
|
||||
upload: >-
|
||||
|
31
.github/workflows/next.yml
vendored
Normal file
31
.github/workflows/next.yml
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
name: Push to next/kelvin/*
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'next/kelvin/*'
|
||||
paths:
|
||||
- '.github/workflows/feature.yml'
|
||||
- '.github/workflows/develop.yml'
|
||||
- '.github/workflows/release.yml'
|
||||
- '.github/workflows/master.yml'
|
||||
- '.github/workflows/shared.yml'
|
||||
- 'pkg/arvo/**'
|
||||
- 'pkg/docker-image/**'
|
||||
- 'pkg/ent/**'
|
||||
- 'pkg/ge-additions/**'
|
||||
- 'pkg/libaes_siv/**'
|
||||
- 'pkg/urbit/**'
|
||||
- 'pkg/urcrypt/**'
|
||||
- 'tests/**'
|
||||
- 'bin/**'
|
||||
- 'nix/**'
|
||||
- 'default.nix'
|
||||
|
||||
jobs:
|
||||
call-vere:
|
||||
uses: ./.github/workflows/shared.yml
|
||||
with:
|
||||
upload: true
|
||||
next: ${{ github.ref | replace('refs/heads/next/kelvin/', '') }}
|
||||
secrets: inherit
|
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -9,7 +9,7 @@ on:
|
||||
- '.github/workflows/develop.yml'
|
||||
- '.github/workflows/release.yml'
|
||||
- '.github/workflows/master.yml'
|
||||
- '.github/workflows/vere.yml'
|
||||
- '.github/workflows/shared.yml'
|
||||
- 'pkg/arvo/**'
|
||||
- 'pkg/docker-image/**'
|
||||
- 'pkg/ent/**'
|
||||
@ -24,7 +24,7 @@ on:
|
||||
|
||||
jobs:
|
||||
call-vere:
|
||||
uses: ./.github/workflows/vere.yml
|
||||
uses: ./.github/workflows/shared.yml
|
||||
with:
|
||||
pace: 'soon'
|
||||
upload: >-
|
||||
|
@ -14,6 +14,11 @@ on:
|
||||
type: string
|
||||
default: 'edge'
|
||||
required: false
|
||||
next:
|
||||
description: 'next kelvin version'
|
||||
type: string
|
||||
default: null
|
||||
required: false
|
||||
secrets:
|
||||
CACHIX_AUTH_TOKEN:
|
||||
required: false
|
||||
@ -73,9 +78,14 @@ jobs:
|
||||
name: run urbit-tests
|
||||
run: |
|
||||
cp -RL tests pkg/arvo/tests
|
||||
vere=$(curl https://bootstrap.urbit.org/vere/${{ inputs.pace }}/last)
|
||||
if ${{ inputs.next != null }}; then
|
||||
base="https://bootstrap.urbit.org/vere/next/kelvin/${{ inputs.next }}"
|
||||
else
|
||||
base="https://bootstrap.urbit.org/vere/${{ inputs.pace }}"
|
||||
fi
|
||||
vere=$(curl ${base}/last)
|
||||
url="$(echo ${base}/v${vere}/vere-v${vere}-linux-x86_64)"
|
||||
echo $vere
|
||||
url="$(echo https://bootstrap.urbit.org/vere/${{ inputs.pace }}/v${vere}/vere-v${vere}-linux-x86_64)"
|
||||
echo $url
|
||||
# put in .jam so it doesn't crash when it gets -A'd in
|
||||
curl -Lo pkg/arvo/vere.jam "$url"
|
Loading…
Reference in New Issue
Block a user