diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b58d2a7..10060ae 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,22 +3,18 @@ stages: - build - deploy -test: - stage: test - script: - - echo "This job tests something" - tags: - - xcode_12_2 +#test: +# stage: test +# script: +# - echo "This job tests something" +# tags: +# - xcode_12_2 build_project: stage: build script: - xcodebuild build -project MVMCore/MVMCore.xcodeproj -scheme FatLibrary | xcpretty - BUILD_DIR=$(xcodebuild -showBuildSettings -project MVMCore/MVMCore.xcodeproj | grep BUILD_DIR) - artifacts: - paths: - - ${BUILD_DIR}/universal/MVMCore.framework - expire_in: 1 week only: - branches - feature/testing @@ -39,55 +35,7 @@ deploy_snapshot: url: https://oneartifactoryprod.verizon.com/artifactory variables: ARTIFACTORY_URL: https://oneartifactoryprod.verizon.com/artifactory -## -#stages: -# # - test -# - build # generate the remote view framework -# - deploy # deploy the framework to Artifactory as a snapshot -# - tag # on manual confirmation, tag the repository -# - go live # move the snapshot binary on artifactory into live status -# -##run_unit_tests: -## stage: test -## script: -## - xcodebuild test -project ProjectName.xcodeproj -scheme SchemeName -destination 'platform=iOS Simulator,name=iPhone 6s,OS=9.2' | xcpretty -s -## tags: -## - xcode_12 -# -#build_project: -# stage: build -# script: -# - xcodebuild build -workspace RemoteView.xcworkspace -scheme RemoteViewAggregate | xcpretty -# artifacts: -# paths: -# - RemoteViewFramework/** -# expire_in: 1 week -# only: -# - branches -# - develop -# tags: -# - xcode_12_2 -# environment: -# name: oneartifactory -# url: https://oneartifactoryprod.verizon.com/artifactory -# variables: -# ARTIFACTORY_URL: https://oneartifactoryprod.verizon.com/artifactory -# -#deploy_snapshot: -# stage: deploy -# script: -# - cd Scripts && ./upload_remote_view_frameworks.sh -# only: -# - branches -# - develop -# tags: -# - bash_shell -# environment: -# name: oneartifactory -# url: https://oneartifactoryprod.verizon.com/artifactory -# variables: -# ARTIFACTORY_URL: https://oneartifactoryprod.verizon.com/artifactory -# + #promote_snapshot: # stage: go live # # Prevent artifacts from needing to re-download. Everything we need is in Artifactory.