From 5bc7d0c38b2b4becd292aaf6e72c04d30ae138f2 Mon Sep 17 00:00:00 2001 From: Akis Maziotis Date: Mon, 21 Aug 2023 12:16:31 +0300 Subject: [PATCH] [chore] Removing unised files since moving to ghactions --- .github/workflows/build.yml | 39 ------------------------------ .gitlab-ci.yml | 48 ------------------------------------- 2 files changed, 87 deletions(-) delete mode 100644 .github/workflows/build.yml delete mode 100644 .gitlab-ci.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index 95696c743ded..000000000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: Build - -on: - push: - branches: - - master - - staging - pull_request: - -permissions: - contents: read - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 - - - uses: actions/setup-python@db9987b4c1f10f0404fa60ee629f675fafbd6763 # v4.6.0 - with: - python-version: '3.9' - - - name: Run Python deps - run: make python-deps - - - name: Run build - run: make html - - - uses: actions/upload-artifact@65d862660abb392b8c4a3d1195a2108db131dd05 # v3.1.2 - with: - name: docs - path: build/html - - - uses: actions/upload-artifact@65d862660abb392b8c4a3d1195a2108db131dd05 # v3.1.2 - with: - name: doc-logs - path: build/*.log diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 95516f99414c..000000000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,48 +0,0 @@ -# This run in the mattermost gitlab internal instace -variables: - AWS_DEFAULT_REGION: "us-east-1" - - IMAGE_BUILD: python:3.9 - IMAGE_AWS_CI: $CI_REGISTRY/images/aws-ci:2.1.1-1 - -stages: - - build - - deploy - -build-package: - stage: build - image: $IMAGE_BUILD - before_script: - - make python-deps - script: - - make html - artifacts: - paths: - - ./build/html - expire_in: 2 hours - only: - refs: - - master - - staging - -s3-release-prod: - image: $IMAGE_AWS_CI - stage: deploy - script: - - aws s3 cp build/html s3://docs.mattermost.com/ --recursive --cache-control no-cache --acl public-read - needs: - - build-package - only: - refs: - - master - -s3-release-staging: - image: $IMAGE_AWS_CI - stage: deploy - script: - - aws s3 cp build/html s3://docs-stagging.mattermost.com/ --recursive --cache-control no-cache --acl public-read - needs: - - build-package - only: - refs: - - staging