Skip to content

Commit

Permalink
Add mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
thommythomaso committed Oct 2, 2023
1 parent a52731b commit 8c5f4f2
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

# Author: Paul Scheffler <[email protected]>
# Authors:
# - Paul Scheffler <[email protected]>
# - Thomas Benz <[email protected]>

name: docs

Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Copyright 2023 ETH Zurich and University of Bologna.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0

# Authors:
# - Paul Scheffler <[email protected]>
# - Thomas Benz <[email protected]>

name: gitlab-ci

on: [ push, pull_request, workflow_dispatch ]

jobs:

check:
runs-on: ubuntu-latest
steps:
-
name: Mirror and check
uses: pulp-platform/pulp-actions/gitlab-ci@v2
# Skip on forks or pull requests from forks due to missing secrets.
if: >
github.repository == 'pulp-platform/cheshire' &&
(github.event_name != 'pull_request' ||
github.event.pull_request.head.repo.full_name == github.repository)
with:
domain: iis-git.ee.ethz.ch
repo: github-mirror/idma
token: ${{ secrets.GITLAB_TOKEN }}
poll-count: 10800 # (10800/60=180min=3hours)

0 comments on commit 8c5f4f2

Please sign in to comment.