[gnome-build-meta/sthursfield/james/openqa-master] TEMP: Disable CI stuff while testing



commit 984c0152d1b45a039055471ccbbc81aaf34458c5
Author: Sam Thursfield <sam afuera me uk>
Date:   Wed Jul 28 11:36:37 2021 +0200

    TEMP: Disable CI stuff while testing

 .gitlab-ci.yml | 194 +--------------------------------------------------------
 1 file changed, 1 insertion(+), 193 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 64671783..272bbd12 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -76,202 +76,12 @@ default:
     - image
     expire_in: '2 days'
 
-.deploy-rules:
-  rules:
-  - if: $EMERGENCY || $BST_TRACK_TAGS != "false"
-    when: never
-  - if: $CI_COMMIT_REF_NAME == "master"
-  - if: $CI_COMMIT_REF_NAME =~ /^gnome-\d\d$/ && $CI_PIPELINE_SOURCE != "schedule"
-
-.ostree-template:
-  extends: .deploy-rules
-  stage: deploy
-  script:
-  - |
-    export FLAT_MANAGER_SERVER=https://flatmgr-ostree.openshift.gnome.org/
-    export FLAT_MANAGER_REPO=gnomeos
-    export REPO_TOKEN=$OSTREE_REPO_TOKEN
-
-  - ostree init --repo repo/ --mode archive
-
-  - ${BST} -o arch "${ARCH}" pull vm/repo.bst vm/repo-devel.bst
-
-  - |
-    for element in vm/repo.bst vm/repo-devel.bst; do
-        ${BST} -o arch "${ARCH}" checkout --hardlinks $element checkout-repo/
-        ostree pull-local --repo=repo/ checkout-repo/
-        rm -rf checkout-repo/
-    done
-
-  - BUILD_ID=$(flat-manager-client create $FLAT_MANAGER_SERVER $FLAT_MANAGER_REPO)
-  - flat-manager-client push --commit --publish --wait $BUILD_ID repo/ $(ostree --repo=repo/ refs) || 
result=$?
-  - flat-manager-client purge $BUILD_ID
-  - exit $result
-
-#
-# "Real" CI jobs
-#
-
-track:
-  extends: .x86_64
-  stage: track
-  interruptible: true
-  script:
-  - 'sed -i "s/track-tags: false/track-tags: ${BST_TRACK_TAGS}/" project.conf'
-  # FIXME: pbp image breaks the build https://gitlab.gnome.org/GNOME/gnome-build-meta/-/issues/371
-  # - ${BST} track --deps all core.bst flatpak-runtimes.bst vm/image.bst boards/pinebook-pro/image.bst 
boards/rock64/image.bst boards/raspberrypi-4/image.bst vm/repo-devel.bst iso/image.bst
-  - ${BST} track --deps all core.bst flatpak-runtimes.bst vm/image.bst boards/rock64/image.bst 
boards/raspberrypi-4/image.bst vm/repo-devel.bst iso/image.bst
-  - echo $CI_JOB_ID > track-job.id
-  retry: 2
-  # only run on branches targeting master
-  rules:
-  - if: $FLATPAK_BRANCH == 'master' && $CI_MERGE_REQUEST_ID == null
-  artifacts:
-    paths:
-    - project.refs
-    - track-job.id
-
 
 build-x86_64:
   extends:
   - .build-template
   - .x86_64
 
-build-i386:
-  extends:
-  - .build-template
-  - .i686
-
-build-aarch64:
-  extends:
-  - .build-template
-  - .aarch64
-
-
-generate-deploy-config:
-  extends:
-  - .x86_64
-  - .deploy-rules
-  needs:
-  - job: 'track'
-    optional: true
-  - job: 'build-x86_64'
-    artifacts: false
-  - job: 'build-i386'
-    artifacts: false
-  - job: 'build-aarch64'
-    artifacts: false
-  stage: deploy-config
-  script:
-  - test -f track-job.id && TRACK_JOB_ID=$(cat track-job.id)
-  - |
-    case "$FLATPAK_BRANCH" in
-      master)
-        FLAT_MANAGER_SERVER=https://nightly.gnome.org/
-        ENVIRONMENT_NAME=flatpak-nightly
-        FLAT_MANAGER_REPO=nightly
-        SUPPORTED_ARCHES="x86_64 i686 aarch64"
-      ;;
-      *beta)
-        FLAT_MANAGER_SERVER=https://hub.flathub.org/
-        ENVIRONMENT_NAME=flathub/$FLATPAK_BRANCH
-        FLAT_MANAGER_REPO=beta
-        SUPPORTED_ARCHES="x86_64 i686 aarch64"
-      ;;
-      *)
-        FLAT_MANAGER_SERVER=https://hub.flathub.org/
-        ENVIRONMENT_NAME=flathub/$FLATPAK_BRANCH
-        FLAT_MANAGER_REPO=stable
-        SUPPORTED_ARCHES="x86_64 i686 aarch64"
-      ;;
-    esac
-
-  - |
-    cat > flatpak-variables.yml << END
-    variables:
-      BST: '$BST'
-      TRACK_JOB_ID: '$TRACK_JOB_ID'
-      FLAT_MANAGER_SERVER: '$FLAT_MANAGER_SERVER'
-      FLAT_MANAGER_REPO: '$FLAT_MANAGER_REPO'
-      TARGETS: flatpak-runtimes.bst
-      TARGETS_nightly: flatpak-platform-extensions.bst
-      ENVIRONMENT_NAME: '$ENVIRONMENT_NAME'
-
-    END
-  - cat flatpak-variables.yml .gitlab-ci/flat-manager.yml > flatpak-deploy.yml
-
-  - |
-    for ARCH in $SUPPORTED_ARCHES; do
-    cat >> flatpak-deploy.yml << END
-
-    flatmgr-$ARCH:
-      extends:
-      - .flatmgr-template
-      - .$ARCH
-    END
-    done
-
-  artifacts:
-    paths:
-    - flatpak-deploy.yml
-
-deploy-flatpak:
-  extends: .deploy-rules
-  stage: deploy
-  trigger:
-    strategy: depend
-    include:
-    - artifact: flatpak-deploy.yml
-      job: generate-deploy-config
-
-vm-image-x86_64:
-  extends:
-  - .manual-image-template
-  - .x86_64
-  needs:
-  - job: 'track'
-    optional: true
-  - job: 'build-x86_64'
-    artifacts: false
-  variables:
-    IMAGE: vm/image.bst
-
-.pinebook-pro-image:
-  extends:
-  - .manual-image-template
-  - .aarch64
-  needs:
-  - job: 'track'
-    optional: true
-  - job: 'build-aarch64'
-    artifacts: false
-  variables:
-    IMAGE: boards/pinebook-pro/image.bst
-
-rock64-image:
-  extends:
-  - .manual-image-template
-  - .aarch64
-  needs:
-  - job: 'track'
-    optional: true
-  - job: 'build-aarch64'
-    artifacts: false
-  variables:
-    IMAGE: boards/rock64/image.bst
-
-raspberrypi-4-image:
-  extends:
-  - .manual-image-template
-  - .aarch64
-  needs:
-  - job: 'track'
-    optional: true
-  - job: 'build-aarch64'
-    artifacts: false
-  variables:
-    IMAGE: boards/raspberrypi-4/image.bst
-
 iso-installer-x86_64:
   extends:
   - .manual-image-template
@@ -279,8 +89,6 @@ iso-installer-x86_64:
   variables:
     IMAGE: iso/image.bst
   needs:
-  - job: 'track'
-    optional: true
   - job: 'build-x86_64'
     artifacts: false
 
@@ -500,4 +308,4 @@ pages:
     paths:
     - 'public'
   rules:
-  - if: $CI_COMMIT_REF_NAME == "master" || $CI_COMMIT_REF_NAME =~ /^gnome-\d\d$/
\ No newline at end of file
+  - if: $CI_COMMIT_REF_NAME == "master" || $CI_COMMIT_REF_NAME =~ /^gnome-\d\d$/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]