Commit cf45e3c1 authored by Mccaskey, Alex's avatar Mccaskey, Alex
Browse files

set docker deploy to not trigger build failure


Signed-off-by: Mccaskey, Alex's avatarAlex McCaskey <mccaskeyaj@ornl.gov>
parent a28a5451
Pipeline #148857 passed with stage
in 56 seconds
......@@ -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
FROM ubuntu:18.04
ENV DEBIAN_FRONTEND noninteractive
ARG GITHUB_TOKEN
ARG NODE_VERSION=10.16.0
ARG NODE_VERSION=10.17.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
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