Skip to content

Commit

Permalink
Rename Mina's rampup branch to o1js-main. (#525)
Browse files Browse the repository at this point in the history
  • Loading branch information
shimkiv authored Nov 24, 2023
1 parent 59b5b2d commit 7a0a3a0
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/actions/e2e-shared/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ runs:
using: "composite"
steps:
- name: Setup NodeJS ${{ inputs.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ inputs.node-version }}
- name: Install Node dependencies, build and link the CLI app
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
node: [18]
steps:
- name: Set up NodeJS
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Git checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: NPM ci, build, & test
run: |
npm ci
Expand All @@ -37,11 +37,11 @@ jobs:
node: [18]
steps:
- name: Set up NodeJS
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Git checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: NPM ci, build, & test
run: |
npm ci
Expand All @@ -61,11 +61,11 @@ jobs:
node: [18]
steps:
- name: Set up NodeJS
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Git checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: NPM ci, build, & test
run: |
npm ci
Expand All @@ -86,11 +86,11 @@ jobs:
node: [18]
steps:
- name: Set up NodeJS
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Git checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: NPM ci & build
run: |
npm ci
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/nightly-e2e-ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
os: [ubuntu-latest]
services:
mina-local-network:
image: o1labs/mina-local-network:rampup-latest-lightnet
image: o1labs/mina-local-network:o1js-main-latest-lightnet
env:
NETWORK_TYPE: 'single-node'
PROOF_LEVEL: 'none'
Expand All @@ -38,7 +38,7 @@ jobs:
mina-graphql-port: 8080
max-attempts: 60
polling-interval-ms: 10000
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use shared E2E testing steps
uses: ./.github/actions/e2e-shared
with:
Expand All @@ -55,7 +55,7 @@ jobs:
node: [18, 20]
os: [macos-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use shared E2E testing steps
uses: ./.github/actions/e2e-shared
with:
Expand All @@ -72,7 +72,7 @@ jobs:
node: [18, 20]
os: [windows-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use shared E2E testing steps
uses: ./.github/actions/e2e-shared
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/smoke-e2e-ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
os: [ubuntu-latest]
services:
mina-local-network:
image: o1labs/mina-local-network:rampup-latest-lightnet
image: o1labs/mina-local-network:o1js-main-latest-lightnet
env:
NETWORK_TYPE: 'single-node'
PROOF_LEVEL: 'none'
Expand All @@ -33,7 +33,7 @@ jobs:
mina-graphql-port: 8080
max-attempts: 60
polling-interval-ms: 10000
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use shared E2E testing steps
uses: ./.github/actions/e2e-shared
with:
Expand Down
4 changes: 2 additions & 2 deletions src/bin/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@ yargs(hideBin(process.argv))
string: true,
hidden: false,
choices: Constants.lightnetMinaBranches,
default: 'rampup',
default: 'o1js-main',
description:
'One of the major Mina repository branches the artifacts were compiled against.',
'One of the major Mina repository branches the Docker image artifacts were compiled against.',
},
archive: {
alias: 'a',
Expand Down
4 changes: 2 additions & 2 deletions src/lib/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import path from 'path';
* @typedef {'single-node' | 'multi-node'} LightnetMode
* @typedef {'fast' | 'real'} LightnetType
* @typedef {'none' | 'full'} LightnetProofLevel
* @typedef {'rampup' | 'berkeley' | 'develop'} LightnetMinaBranch
* @typedef {'o1js-main' | 'berkeley' | 'develop'} LightnetMinaBranch
*
* @type {{ uiTypes: UiType[], exampleTypes: ExampleType[], feePayerCacheDir: string, lightnetWorkDir: string, lightnetModes: LightnetMode[], lightnetTypes: LightnetType[], lightnetProofLevels: LightnetProofLevel[], lightnetMinaBranches: LightnetMinaBranch[] }}
*/
Expand All @@ -19,7 +19,7 @@ const Constants = Object.freeze({
lightnetModes: ['single-node', 'multi-node'],
lightnetTypes: ['fast', 'real'],
lightnetProofLevels: ['none', 'full'],
lightnetMinaBranches: ['rampup', 'berkeley', 'develop'],
lightnetMinaBranches: ['o1js-main', 'berkeley', 'develop'],
});

export default Constants;
4 changes: 2 additions & 2 deletions templates/project-ts/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ jobs:
timeout-minutes: 10
steps:
- name: Set up NodeJS
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '16'
- name: Git checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: NPM ci, build, & test
run: |
npm install
Expand Down

0 comments on commit 7a0a3a0

Please sign in to comment.