fix(ci): use foundation-prod, HTTPS el clone, main branch, fix runtime path
This commit is contained in:
@@ -19,8 +19,8 @@ jobs:
|
||||
|
||||
- name: Checkout foundation/el (ELP source for soul.el imports)
|
||||
run: |
|
||||
git clone http://34.31.145.131/neuron-technologies/el.git \
|
||||
--depth=1 --branch=dev \
|
||||
git clone https://git.neuralplatform.ai/neuron-technologies/el.git \
|
||||
--depth=1 --branch=main \
|
||||
../foundation/el
|
||||
|
||||
- name: Install build dependencies
|
||||
@@ -45,7 +45,7 @@ jobs:
|
||||
# Get latest version of each package
|
||||
get_latest() {
|
||||
gcloud artifacts versions list \
|
||||
--repository=foundation-dev \
|
||||
--repository=foundation-prod \
|
||||
--location=us-central1 \
|
||||
--project=neuron-785695 \
|
||||
--package="$1" \
|
||||
@@ -62,22 +62,22 @@ jobs:
|
||||
echo "Downloading elc@${ELC_VER} elb@${ELB_VER} runtime@${RC_VER}"
|
||||
|
||||
gcloud artifacts generic download \
|
||||
--repository=foundation-dev --location=us-central1 --project=neuron-785695 \
|
||||
--repository=foundation-prod --location=us-central1 --project=neuron-785695 \
|
||||
--package=el-elc --version="${ELC_VER}" \
|
||||
--destination=/opt/el/dist/platform/
|
||||
|
||||
gcloud artifacts generic download \
|
||||
--repository=foundation-dev --location=us-central1 --project=neuron-785695 \
|
||||
--repository=foundation-prod --location=us-central1 --project=neuron-785695 \
|
||||
--package=el-elb --version="${ELB_VER}" \
|
||||
--destination=/opt/el/dist/bin/
|
||||
|
||||
gcloud artifacts generic download \
|
||||
--repository=foundation-dev --location=us-central1 --project=neuron-785695 \
|
||||
--repository=foundation-prod --location=us-central1 --project=neuron-785695 \
|
||||
--package=el-runtime-c --version="${RC_VER}" \
|
||||
--destination=/opt/el/runtime/
|
||||
|
||||
gcloud artifacts generic download \
|
||||
--repository=foundation-dev --location=us-central1 --project=neuron-785695 \
|
||||
--repository=foundation-prod --location=us-central1 --project=neuron-785695 \
|
||||
--package=el-runtime-h --version="${RH_VER}" \
|
||||
--destination=/opt/el/runtime/
|
||||
|
||||
@@ -109,7 +109,7 @@ jobs:
|
||||
ELC=/opt/el/dist/platform/elc
|
||||
RUNTIME=/opt/el/runtime
|
||||
|
||||
$ELB --elc=$ELC --runtime=$RUNTIME
|
||||
$ELB --elc=$ELC --runtime=$RUNTIME/el_runtime.c
|
||||
ls -lh dist/neuron
|
||||
|
||||
- name: Smoke test
|
||||
@@ -126,7 +126,7 @@ jobs:
|
||||
VERSION="${GITHUB_SHA:0:8}"
|
||||
|
||||
gcloud artifacts generic upload \
|
||||
--repository=foundation-dev \
|
||||
--repository=foundation-prod \
|
||||
--location=us-central1 \
|
||||
--project=neuron-785695 \
|
||||
--package=neuron-soul \
|
||||
|
||||
Reference in New Issue
Block a user