Commit da00a288 authored by Dave Cooper's avatar Dave Cooper
Browse files

update docker build scripts

parent afdebabf
Pipeline #3528 passed with stages
in 11 minutes and 20 seconds
......@@ -9,35 +9,31 @@ stages:
# - deploy
#
# FLAG -- put this back when we want to start building gendl-bin again.
# and update docker/build to match.
#
#update:
# stage: update
# script:
# - bash -x ./.ci-script.sh linux git-pull
update:
stage: update
script:
- bash -x ./.ci-script.sh linux git-pull
# - bash -x ./.ci-script.sh windows rsync-from-manager
# - bash -x ./.ci-script.sh macos rsync-from-manager
#linux-build:
# stage: build
linux-build:
stage: build
# only:
# - master
# script:
# - bash -x ./.ci-script.sh linux build-gendl
script:
- bash -x ./.ci-script.sh linux build-gendl
windows-build:
stage: build
only:
- master
script:
- bash -x ./.ci-script.sh windows build-gendl
#
# FLAG - put back later
# FLAG - Maybe put back later.
#
#windows-build:
# stage: build
# only:
# - master
# script:
# - bash -x ./.ci-script.sh windows build-gendl
# macos-build:
# stage: build
# only:
......
......@@ -201,7 +201,8 @@ function addVisible(event, level)
;; FLAG - implement a dropdown ("combo box") to pick from existing defs.
;;
(file-new-typein-control :type 'text-form-control
:onblur (the ajax-call)
;;:onblur (the ajax-call)
:onchange (the ajax-call)
:placeholder "package:type"
:default ""))
......
......@@ -15,12 +15,12 @@ cd ..
echo "Present Working Directory: " `pwd`
CI_PIPELINE_ID=${CI_PIPELINE_ID:="3504"}
#
# FLAG -- put this back when we want to start building gendl-bin again.
# FLAG -- use below when we want to use fixed build
# and update .gitlab-ci.yml to match.
#
#CI_PIPELINE_ID=${CI_PIPELINE_ID:="3504"}
CI_PIPELINE_ID="3521"
#CI_PIPELINE_ID="3521"
DIST_NAME=gendl-build${CI_PIPELINE_ID}L-linux64
......
#!/bin/bash
#
# this will start a Swank listening on port 4200 and expose that to the host.
#
# So you can do M-x slime-connect to localhost on port 4200.
#
# (prerequisite: docker and Gnu emacs with slime).
#
cd `dirname "$0"`/../
gendl=`pwd`
echo "gendl source home is being mounted from: ${gendl} to /home/gendl-user/gendl/ in the container."
gendl_user="gendl-user"
#
# Note gendl source home is being mounted from: ${gendl} to /home/${gendl_user}/gendl/ in the container.
#
CID=$(docker run -d -it --rm -p 9000:9000 -p 4200:4200 -h gendl \
--name gendl --mount type=bind,src=${gendl},dst=/home/gendl-user/gendl/ dcooper8/gendl:latest)
--name gendl --mount type=bind,src=${gendl},dst=/home/${gendl_user}/gendl/ dcooper8/gendl:latest)
if [ -z "$CID" ]
then
......@@ -15,11 +28,6 @@ echo ""
echo ""
else
# here you may add lines to have you way with the container using the ${CID}.
echo "You may now connect from emacs with M-x slime-connect to localhost on port 4200."
echo ""
echo "Here is your container ID:"
echo ""
echo ${CID}
export gendl_CID=${CID}
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment