Skip to content

Commit

Permalink
Prepare for first 2.2 alpha release.
Browse files Browse the repository at this point in the history
  • Loading branch information
grossmj committed Jan 28, 2019
1 parent 1f88ec7 commit dd4ae27
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 38 deletions.
72 changes: 36 additions & 36 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,20 +105,20 @@ jobs:
git checkout bionic-stable
fi
"
# - run:
# name: Release VirtualBox VM
# command: |
# source env_vars
# ssh root@${DEVICE_IP} "
# set -e
#
# cd gns3-vm
#
# if [ ! -e \"GNS3 VM VirtualBox ${GNS3_NUMBER}.zip\" ];
# then
# ./release_virtualbox.sh ${GNS3_VERSION}
# fi
# "
- run:
name: Release VirtualBox VM
command: |
source env_vars
ssh root@${DEVICE_IP} "
set -e
cd gns3-vm
if [ ! -e \"GNS3 VM VirtualBox ${GNS3_NUMBER}.zip\" ];
then
./release_virtualbox.sh ${GNS3_VERSION}
fi
"
- run:
name: Release VMWare VM
command: |
Expand All @@ -130,26 +130,26 @@ jobs:
if [ ! -e \"GNS3 VM VMware Workstation ${GNS3_NUMBER}.zip\" ];
then
./vmware.sh
./release_vmware.sh ${GNS3_VERSION} GNS3VM.VMware.dev.zip
#./vmware.sh
./release_vmware.sh ${GNS3_VERSION} # GNS3VM.VMware.dev.zip
fi
"
- run:
name: Release VMWare ESXI VM
command: |
source env_vars
ssh root@${DEVICE_IP} "
set -e
cd gns3-vm
cp \"GNS3 VM VMware Workstation ${GNS3_NUMBER}.zip\" /tmp/GNS3VM.VMware.${GNS3_NUMBER}.zip
if [ ! -e \"GNS3 VM VMware ESXI ${GNS3_NUMBER}.zip\" ];
then
./release_vmware_esxi.sh ${GNS3_VERSION}
fi
"
# - run:
# name: Release VMWare ESXI VM
# command: |
# source env_vars
# ssh root@${DEVICE_IP} "
# set -e
#
# cd gns3-vm
#
# cp \"GNS3 VM VMware Workstation ${GNS3_NUMBER}.zip\" /tmp/GNS3VM.VMware.${GNS3_NUMBER}.zip
#
# if [ ! -e \"GNS3 VM VMware ESXI ${GNS3_NUMBER}.zip\" ];
# then
# ./release_vmware_esxi.sh ${GNS3_VERSION}
# fi
# "
- run:
name: Gather arifacts from device
command: |
Expand All @@ -171,15 +171,15 @@ jobs:
cd gns3-build
pip3 install -r requirements.txt
cd ..
#python3 gns3-build/upload.py ${CIRCLE_TAG} artifacts/GNS3\ VM\ VirtualBox\ *.zip
python3 gns3-build/upload.py ${CIRCLE_TAG} artifacts/GNS3\ VM\ VirtualBox\ *.zip
python3 gns3-build/upload.py ${CIRCLE_TAG} artifacts/GNS3\ VM\ VMware\ Workstation\ *.zip
#python3 gns3-build/upload.py ${CIRCLE_TAG} artifacts/GNS3\ VM\ VMware\ ESXI\ *.zip
python3 gns3-build/upload.py ${CIRCLE_TAG} artifacts/GNS3\ VM\ VMware\ ESXI\ *.zip
echo "Deploying on SourceForge"
ssh-keyscan -H frs.sourceforge.net >> ~/.ssh/known_hosts
mkdir -p artifacts/release
#cp artifacts/GNS3\ VM\ VirtualBox\ *.zip artifacts/release/GNS3.VM.VirtualBox.${CIRCLE_TAG}.zip
cp artifacts/GNS3\ VM\ VirtualBox\ *.zip artifacts/release/GNS3.VM.VirtualBox.${CIRCLE_TAG}.zip
cp artifacts/GNS3\ VM\ VMware\ Workstation\ *.zip artifacts/release/GNS3.VM.VMware.Workstation.${CIRCLE_TAG}.zip
#cp artifacts/GNS3\ VM\ VMware\ ESXI\ *.zip artifacts/release/GNS3.VM.VMware.ESXI.${CIRCLE_TAG}.zip
cp artifacts/GNS3\ VM\ VMware\ ESXI\ *.zip artifacts/release/GNS3.VM.VMware.ESXI.${CIRCLE_TAG}.zip
scp artifacts/release/* [email protected]:"/home/frs/project/gns-3/Releases/${CIRCLE_TAG}/"
- store_artifacts:
Expand Down
4 changes: 2 additions & 2 deletions scripts/welcome.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,11 +230,13 @@ def vm_information():
content += "The GNS3 server is not installed, please manually install it or download a pre-installed VM.\n\n"
else:
content = """GNS3 server version: {gns3_version}
Release channel: {release_channel}
VM version: {gns3vm_version}
Ubuntu version: {ubuntu_version}
Qemu version: {qemu_version}
KVM support available: {kvm}\n\n""".format(
gns3vm_version=gns3vm_version(),
release_channel=get_release_channel(),
gns3_version=version,
ubuntu_version=ubuntu_version(),
qemu_version=qemu_version(),
Expand All @@ -246,8 +248,6 @@ def vm_information():
else:
content += "eth0 is not configured. Please manually configure by selecting the 'Network' entry in the menu."

content += "\n\nRelease channel: " + get_release_channel()

try:
d.msgbox(content)
except:
Expand Down

0 comments on commit dd4ae27

Please sign in to comment.