Skip to content

Commit d08bdee

Browse files
Merge pull request #165 from MAAP-Project/develop
V2 merge and tag
2 parents 9a54307 + 82d35af commit d08bdee

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+42728
-314
lines changed

.github/workflows/trigger-gitlab.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,24 +25,16 @@ jobs:
2525
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2626
- uses: actions/checkout@v2
2727

28-
- name: Extract branch name
29-
shell: bash
30-
# $GITHUB_HEAD_REF is the source branch name
31-
# $GITHUB_BASE_REF is the PR destination branch
32-
# If we want to test that tests pass on the destination branch (e.g. master and develop) after merge, we probably want to add `master` and `develop` to the list of branches to run the CI on `push` and not just `pull_request`
33-
run: echo "##[set-output name=branch;]$(echo ${GITHUB_HEAD_REF#refs/heads/})"
34-
id: extract_branch
35-
3628
# Runs a set of commands using the runners shell
3729
- name: Trigger GitLab CI
3830
env:
3931
GITLAB_CI_TRIGGER_URL: ${{ secrets.GITLAB_CI_TRIGGER_URL }}
4032
GITLAB_CI_TRIGGER_TOKEN: ${{ secrets.GITLAB_CI_TRIGGER_TOKEN }}
4133
run: |
42-
echo Running on ref ${GITHUB_REF##*/}
34+
echo Running on ref ${{ github.head_ref || github.ref_name }}
4335
echo Trigger CI pipeline
4436
curl -X POST \
4537
-F token=${GITLAB_CI_TRIGGER_TOKEN} \
4638
-F "ref=master" \
47-
-F "variables[GITHUB_REF]=${{ steps.extract_branch.outputs.branch }}" \
39+
-F "variables[GITHUB_REF]=${{ github.head_ref || github.ref_name }}" \
4840
${GITLAB_CI_TRIGGER_URL}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
build/
33
.ipynb_checkpoints
44
mosaic.json
5+
*.h5

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Assuming you have `conda` installed, this is how you set up your fork for local
4747
$ conda create -n maap python=3.7
4848
$ conda activate maap
4949
$ cd maap-documentation/
50-
$ pip install requirements.txt
50+
$ pip install -r requirements.txt
5151

5252
#### 4. Create a branch for local development::
5353

80.1 KB
Loading
249 KB
Loading
172 KB
Loading
304 Bytes
Loading
460 KB
Loading
205 KB
Loading
163 KB
Loading

0 commit comments

Comments
 (0)