You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wayang.apache.org by gl...@apache.org on 2023/12/13 22:15:04 UTC

(incubator-wayang-website) branch main updated: remove old travis file

This is an automated email from the ASF dual-hosted git repository.

glauesppen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-wayang-website.git


The following commit(s) were added to refs/heads/main by this push:
     new e2cacdc  remove old travis file
e2cacdc is described below

commit e2cacdc48bf838bee152f00fa1ec1c8e3333440b
Author: Glaucia Esppenchutz <gl...@apache.org>
AuthorDate: Wed Dec 13 22:14:56 2023 +0000

    remove old travis file
---
 .asf.yaml                      |   2 -
 .github/PULL_REQUEST_TEMPLATE  |  24 -------
 .github/workflows/main.yaml    | 138 -----------------------------------------
 .github/workflows/release.yaml |  21 -------
 .travis.yml                    |  34 ----------
 script/cibuild                 |  69 ---------------------
 6 files changed, 288 deletions(-)

diff --git a/.asf.yaml b/.asf.yaml
index 3209719..63680c3 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -20,7 +20,6 @@ notifications:
   pullrequests: dev@wayang.apache.org
   jira_options: link label worklog comment
 
-
 jekyll:
   whoami: main
   target: asf-site
@@ -29,7 +28,6 @@ publish:
   whoami:  asf-site
 #  subdir: /test
 
-
 github:
   description: "Apache Wayang is a federated learning processing system"
   homepage: https://wayang.apache.org
diff --git a/.github/PULL_REQUEST_TEMPLATE b/.github/PULL_REQUEST_TEMPLATE
deleted file mode 100644
index ff4e08f..0000000
--- a/.github/PULL_REQUEST_TEMPLATE
+++ /dev/null
@@ -1,24 +0,0 @@
-### What is this PR for?
-A few sentences describing the overall goals of the pull request's commits.
-First time? Check out the community guide- https://wayang.apache.org/community/
-
-
-### What type of PR is it?
-* [ ] - Bug Fix
-* [ ] - Improvement
-* [ ] - Feature
-* [ ] - Documentation
-* [ ] - Hot Fix
-* [ ] - Refactoring
-
-### Todos
-* [ ] - Task
-
-### How should this be tested?
-
-### Screenshots (if appropriate)
-
-### Questions:
-* [ ] - The licenses files need update.
-* [ ] - There is breaking changes for older versions.
-* [ ] - It needs documentation.
\ No newline at end of file
diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml
deleted file mode 100644
index b2fe23d..0000000
--- a/.github/workflows/main.yaml
+++ /dev/null
@@ -1,138 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#    http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-
-name: Apache Wayang Ruby deploy
-run-name: Deploying latest updates on Apache Wayang Website
-env:
-  BRANCH_PAGE: asf-site
-  URL: "https://wayang.apache.org"
-  BASE_URL: "/"
-  REPO_URL: $(git remote get-url origin)
-  VALIDATE: ""
-  # USER:
-  # TOKEN:
-  # TRAVIS_REPO_SLUG:
-on:
-  push:
-    branches: [ main ]
-  # pull_request:
-  #   branches: [ main ]
-jobs:
-  test:
-    runs-on: ubuntu-latest
-    strategy:
-        matrix:
-          ruby-version: [2.6.3]
-    continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }}
-    steps:
-      - uses: actions/checkout@v3
-      - name: Set up Ruby
-        uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
-        with:
-          ruby-version: ${{ matrix.ruby-version }}
-          bundler-cache: true
-
-      - name: Install dependencies (Ruby)
-        run: bundle install
-
-      - name: Install dependencies (Ubuntu)
-        run: |
-          sudo apt-get update
-          sudo apt-get install -y libcurl4-openssl-dev
-
-  build:
-    runs-on: ubuntu-latest
-    strategy:
-        matrix:
-          ruby-version: [2.6.3]
-    continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }}
-    steps:
-      - uses: actions/checkout@v3
-      - name: Set up Ruby
-        uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
-        with:
-          ruby-version: ${{ matrix.ruby-version }}
-          bundler-cache: true
-
-      - name: Install dependencies (Ruby)
-        run: | 
-          bundle install
-
-      - name: Install dependencies (Ubuntu)
-        run: |
-          sudo apt-get update
-          sudo apt-get install -y libcurl4-openssl-dev
-      
-      - name: Setting _config.yaml
-        run: |
-          export JEKYLL_ENV="production"
-
-          echo "url: \"$URL\"" > _config.yml.tmp
-          echo "baseurl: \"$BASE_URL\"" >> _config.yml.tmp
-          cat _config.yml | grep -v "url:" >> _config.yml.tmp
-          mv _config.yml.tmp _config.yml
-      
-      - name: Validating ./_site
-        run: |
-          bundle exec jekyll build
-          if [ "$VALIDATE" != "" ]; then
-            bundle exec htmlproofer ./_site
-          else
-            echo "it will not validate the site"
-          fi
-      
-      - name: Moving and copying files
-        run: |
-          mkdir -p ../tmp
-          mv ./_site/* ../tmp
-          rm -rf ../tmp/script
-          cp DISCLAIMER ../tmp
-          cp LICENSE.TXT ../tmp
-          cp NOTICE.TXT ../tmp
-          cp .gitignore ../tmp
-          cp .asf.yaml ../tmp
-
-      # - name: Cloning repository
-      #   run: |
-      #     #git pull origin $BRANCH_PAGE --allow-unrelated-histories
-      #     #git checkout $BRANCH_PAGE
-
-      - name: Cloning repository
-        run: |
-          mkdir ../$BRANCH_PAGE
-          cd ../$BRANCH_PAGE
-          git clone --depth 50 --branch $BRANCH_PAGE $(git remote get-url origin)
-
-      - name: Delete the old file that it was not gerenated
-        run: |
-          rm -rf $(diff --exclude=".git" --exclude="./docs" -q ../tmp/ ./ | awk '/Only in \.\//{print substr($3, 1, length($3)-1) "" $4}')
-
-      - name: Syncing files
-        run: |
-          rsync -av ../tmp/* ./
-          cp ../tmp/.gitignore ./
-          cp ../tmp/.asf.yaml ./
-
-      # Commenting this step while we understand if still necessary
-      # - name: Commiting changes on Travis branch
-      #   run: |
-      #     git add -A
-      #     git status
-      #     git commit -m "Lastest site built on successful travis build ${{github.run_number}} auto-pushed to github"
-      #     git remote set-url origin https://${{secrets.USER}}:${{secrets.TOKEN}}@github.com/$TRAVIS_REPO_SLUG}}
-      #     git push origin $BRANCH_PAGE:$BRANCH_PAGE
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
deleted file mode 100644
index 41171dd..0000000
--- a/.github/workflows/release.yaml
+++ /dev/null
@@ -1,21 +0,0 @@
-name: Release-Notes-Preview
-
-on:
-  pull_request:
-    branches: [ main ]
-  issue_comment:
-    types: [ edited ]
-
-jobs:
-  preview:
-    runs-on: ubuntu-latest
-    steps:
-    - uses: actions/checkout@v2
-    - run: |
-        git fetch --prune --unshallow --tags
-    - uses: snyk/release-notes-preview@v1.6.1
-      with:
-        releaseBranch: master
-      env:
-        GITHUB_PR_USERNAME: ${{ github.actor }}
-        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
\ No newline at end of file
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 057638a..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#    http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-# language: ruby
-# rvm:
-# - 2.6.3
-# before_script:
-# - chmod +x ./script/cibuild
-# install: bundle install
-# script: "./script/cibuild"
-# branches:
-#   only:
-#   - main
-# addons:
-#   apt:
-#     packages:
-#     - libcurl4-openssl-dev
-# cache: bundler
-# notifications:
-#   email: false
diff --git a/script/cibuild b/script/cibuild
deleted file mode 100644
index cf2f1f9..0000000
--- a/script/cibuild
+++ /dev/null
@@ -1,69 +0,0 @@
-#!/usr/bin/env bash
-
-#
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#    http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-
-set -e # halt script on error
-
-URL="https://wayang.apache.org"
-BASE_URL="/"
-BRANCH_PAGE=asf-site
-
-export JEKYLL_ENV="production"
-
-echo "url: \"${URL}\"" > _config.yml.tmp
-echo "baseurl: \"${BASE_URL}\"" >> _config.yml.tmp
-cat _config.yml | grep -v "url:" >> _config.yml.tmp
-mv _config.yml.tmp _config.yml
-
-bundle exec jekyll build
-if [ "${VALIDATE}" != "" ]; then
-  bundle exec htmlproofer ./_site
-else
-  echo "it will not validate the site"
-fi
-
-mkdir -p ../tmp
-mv ./_site/* ../tmp
-rm -rf ../tmp/script
-cp DISCLAIMER ../tmp
-cp LICENSE.TXT ../tmp
-cp NOTICE.TXT ../tmp
-cp .gitignore ../tmp
-cp .asf.yaml ../tmp
-
-#git pull origin ${BRANCH_PAGE} --allow-unrelated-histories
-#git checkout ${BRANCH_PAGE}
-
-REPO_URL=$(git remote get-url origin)
-git clone --depth=50 --branch=${BRANCH_PAGE} ${REPO_URL} ../${BRANCH_PAGE}
-
-cd ../${BRANCH_PAGE}
-#delete the old file that it was not gerenated
-rm -rf $(diff --exclude=".git" --exclude="./docs" -q ../tmp/ ./ | awk '/Only in \.\//{print substr($3, 1, length($3)-1) "" $4}')
-
-rsync -av ../tmp/* ./
-cp ../tmp/.gitignore ./
-cp ../tmp/.asf.yaml ./
-
-git add -A
-git status
-git commit -m "Lastest site built on successful travis build $TRAVIS_BUILD_NUMBER auto-pushed to github"
-git remote set-url origin https://${USER}:${TOKEN}@github.com/${TRAVIS_REPO_SLUG}
-git push origin ${BRANCH_PAGE}:${BRANCH_PAGE}
-
-