Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ORNL Quantum Computing Institute
xacc
Commits
cf45e3c1
Commit
cf45e3c1
authored
May 28, 2021
by
Mccaskey, Alex
Browse files
set docker deploy to not trigger build failure
Signed-off-by:
Alex McCaskey
<
mccaskeyaj@ornl.gov
>
parent
a28a5451
Pipeline
#148857
passed with stage
in 56 seconds
Changes
2
Pipelines
9
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
cf45e3c1
...
...
@@ -22,17 +22,6 @@ docker build_master:
-
git config remote.aideqc.url >&- || git remote add -t master aideqc https://amccaskey:$AIDEQC_ACCESS_TOKEN@github.com/aide-qc/xacc
-
git push -f aideqc HEAD:master
-
git remote remove aideqc
# - git clone https://github.com/aide-qc/homebrew-deploy && cd homebrew-deploy
# - git clone --depth=1 --recursive https://github.com/eclipse/xacc
# - tar -czvf xacc-1.0.0.tar.gz xacc
# - jfrog bt u --override --publish xacc-1.0.0.tar.gz amccaskey/qci-homebrew-bintray/xacc-source/xacc-1.0.0
# - export src_sha=$(sha256sum xacc-1.0.0.tar.gz | cut -d " " -f 1)
# - sed -i "0,/sha256 \".*\"/s//sha256 \"$src_sha\" /" Formula/xacc.rb
# - git add Formula/xacc.rb
# - git commit -m "updating sha256 for xacc homebrew formula"
# - git config remote.aideqchbdeploy.url >&- || git remote add -t master aideqchbdeploy https://amccaskey:$AIDEQC_ACCESS_TOKEN@github.com/aide-qc/homebrew-deploy
# - git push -f aideqchbdeploy HEAD:master
# - git remote remove aideqchbdeploy
docker run_docker_deploy
:
stage
:
deploy
...
...
@@ -42,3 +31,5 @@ docker run_docker_deploy:
-
cd docker/deploy/dev && docker build -t xacc/xacc . --no-cache
-
echo "$REGISTRY_PASSWORD" | docker login -u xacc --password-stdin
-
docker push xacc/xacc
allow_failure
:
true
docker/deploy/base/Dockerfile
View file @
cf45e3c1
FROM
ubuntu:18.04
ENV
DEBIAN_FRONTEND noninteractive
ARG
GITHUB_TOKEN
ARG
NODE_VERSION=10.1
6
.0
ARG
NODE_VERSION=10.1
7
.0
ENV
NODE_VERSION $NODE_VERSION
ENV
YARN_VERSION 1.13.0
...
...
@@ -114,25 +114,4 @@ RUN apt-get update && \
gdb && \
ln -s /usr/bin/clangd-12 /usr/bin/clangd && \
ln -s /usr/bin/clang-tidy-12 /usr/bin/clang-tidy && \
rm -rf /var/lib/apt/lists/*
#&& cd /home/dev && git clone --recursive https://github.com/eclipse/xacc && cd xacc && mkdir build && cd build \
#&& cmake .. -DXACC_BUILD_TESTS=TRUE -DXACC_BUILD_EXAMPLES=TRUE \
#&& make -j18 install \
#&& cd ../../ && git clone https://github.com/ornl-qci/tnqvm && cd tnqvm && mkdir build && cd build \
#&& cmake .. -DXACC_DIR=~/.xacc && make -j18 install \
# Theia application
#ADD $version.package.json ./package.json
#RUN yarn --cache-folder ./ycache && rm -rf ./ycache && \
# NODE_OPTIONS="--max_old_space_size=4096" yarn theia build ;\
# yarn theia download:plugins
#EXPOSE 3000
#ENV SHELL=/bin/bash \
# THEIA_DEFAULT_PLUGINS=local-dir:/home/dev/plugins
#ENV PYTHONPATH "${PYTHONPATH}:/root/.xacc"
#ENTRYPOINT [ "yarn", "theia", "start", "/home/dev", "--hostname=0.0.0.0" ]
rm -rf /var/lib/apt/lists/*
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment