removing remote view stuff

This commit is contained in:
Pfeil, Scott Robert 2021-06-30 10:53:04 -04:00
parent 1d0f039170
commit d5a66f61a2
3 changed files with 6 additions and 9 deletions

View File

@ -1,5 +1,5 @@
stages:
- test
# - test
- build
- deploy
@ -24,7 +24,7 @@ build_project:
deploy_snapshot:
stage: deploy
script:
- cd Scripts && ./upload_remote_view_frameworks.sh
- cd Scripts && ./upload_core_frameworks.sh
only:
- branches
- develop

View File

@ -1,10 +1,10 @@
#!/bin/sh -e
# upload_remote_view_frameworks.sh
# upload_core_frameworks.sh
#
# Uploads all compiled framework flavors in RemoteViewFramework to Artifactory with the SNAPSHOT classifier. This is to avoid accidently clobbering a release build of a particular version. Remove the classifier in Artificatory to make a release.
# Uploads all compiled framework flavors in MVMCore to Artifactory with the SNAPSHOT classifier. This is to avoid accidently clobbering a release build of a particular version. Remove the classifier in Artificatory to make a release.
#
# Created by Hedden, Kyle Matthew on 3/2/18.
# Copied from Hedden, Kyle Matthew on 3/2/18.
#
FRAMEWORK_VERSION=$(cd ../MVMCore && agvtool vers -terse)
@ -19,8 +19,6 @@ if [ -z $ARTIFACTORY_URL ]; then
ARTIFACTORY_URL="https://oneartifactoryprod.verizon.com/artifactory"
fi
#xcodebuild -workspace "../RemoteView.xcworkspace" -scheme "RemoteViewAggregate"
# Remote View Versions
BUILD_DIR=$(xcodebuild -showBuildSettings -project ../MVMCore/MVMCore.xcodeproj | grep -w -o 'BUILD_DIR = .*' | cut -d\ -f3-)
./upload_framework.sh $ARTIFACTORY_URL "${BUILD_DIR}/universal/MVMCore.framework" BPHV_MobileFirst_IOS/com/vzw/hss/myverizon/MVMCore/[VER]/MVMCore-[VER]-Debug-SNAPSHOT

View File

@ -1,7 +1,6 @@
#!/bin/bash -e
# upload_framework.sh
# RemoteView
#
# Uploads an iOS framework to Artificatory given the local path as the first argument and the remote project name in Verizon OneArtifactory for the second argument.
#
@ -9,7 +8,7 @@
#
# The script will replace [VER] in the provided remote path with the version found in the framework bundle.
#
# Created by Hedden, Kyle Matthew on 3/2/18.
# Copied from Hedden, Kyle Matthew on 3/2/18.
# Copyright © 2018 Verizon. All rights reserved.
URL=$1