File tree Expand file tree Collapse file tree 7 files changed +146
-0
lines changed
Expand file tree Collapse file tree 7 files changed +146
-0
lines changed Original file line number Diff line number Diff line change 1+ apache-mynewt-core
2+ apache-mynewt-mcumgr
3+ apache-mynewt-nimble
4+ arm-CMSIS_5
5+ mbedtls
6+ mcuboot
7+ nordic-nrfx
Original file line number Diff line number Diff line change 1+ #
2+ # Licensed to the Apache Software Foundation (ASF) under one
3+ # or more contributor license agreements. See the NOTICE file
4+ # distributed with this work for additional information
5+ # regarding copyright ownership. The ASF licenses this file
6+ # to you under the Apache License, Version 2.0 (the
7+ # "License"); you may not use this file except in compliance
8+ # with the License. You may obtain a copy of the License at
9+ #
10+ # http://www.apache.org/licenses/LICENSE-2.0
11+ #
12+ # Unless required by applicable law or agreed to in writing,
13+ # software distributed under the License is distributed on an
14+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+ # KIND, either express or implied. See the License for the
16+ # specific language governing permissions and limitations
17+ # under the License.
18+ #
19+
20+ project.repositories :
21+ - apache-mynewt-core
22+
23+ repository.apache-mynewt-core :
24+ type : github
25+ vers : 0-dev
26+ user : apache
27+ repo : mynewt-core
28+
29+ repository.tinyusb :
30+ type : github
31+ vers : 0.0.0
32+ user : hathach
33+ repo : tinyusb
34+
35+ project.repositories.allowed :
36+ - apache-mynewt-core
37+ - apache-mynewt-nimble
38+ - apache-mynewt-mcumgr
39+ - mcuboot
40+ - arm-CMSIS_5
41+ - nordic-nrfx
42+ - mbedtls
43+ - stm-cmsis_device_f3
44+ - stm-stm32f3xx_hal_driver
45+
46+ project.repositories.ignored :
47+ - stm-cmsis_device_f3
48+ - stm-stm32f3xx_hal_driver
Original file line number Diff line number Diff line change 1+ Error: apache-mynewt-core repository must be allowed. Please add it to the allowed list and/or remove it from the ignored list.
Original file line number Diff line number Diff line change 1+ #
2+ # Licensed to the Apache Software Foundation (ASF) under one
3+ # or more contributor license agreements. See the NOTICE file
4+ # distributed with this work for additional information
5+ # regarding copyright ownership. The ASF licenses this file
6+ # to you under the Apache License, Version 2.0 (the
7+ # "License"); you may not use this file except in compliance
8+ # with the License. You may obtain a copy of the License at
9+ #
10+ # http://www.apache.org/licenses/LICENSE-2.0
11+ #
12+ # Unless required by applicable law or agreed to in writing,
13+ # software distributed under the License is distributed on an
14+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+ # KIND, either express or implied. See the License for the
16+ # specific language governing permissions and limitations
17+ # under the License.
18+ #
19+
20+ project.repositories :
21+ - apache-mynewt-core
22+
23+ repository.apache-mynewt-core :
24+ type : github
25+ vers : 0-dev
26+ user : apache
27+ repo : mynewt-core
28+
29+ project.repositories.ignored :
30+ - apache-mynewt-core
Original file line number Diff line number Diff line change 1+ Error: apache-mynewt-core repository must be allowed. Please add it to the allowed list and/or remove it from the ignored list.
Original file line number Diff line number Diff line change 1+ #
2+ # Licensed to the Apache Software Foundation (ASF) under one
3+ # or more contributor license agreements. See the NOTICE file
4+ # distributed with this work for additional information
5+ # regarding copyright ownership. The ASF licenses this file
6+ # to you under the Apache License, Version 2.0 (the
7+ # "License"); you may not use this file except in compliance
8+ # with the License. You may obtain a copy of the License at
9+ #
10+ # http://www.apache.org/licenses/LICENSE-2.0
11+ #
12+ # Unless required by applicable law or agreed to in writing,
13+ # software distributed under the License is distributed on an
14+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+ # KIND, either express or implied. See the License for the
16+ # specific language governing permissions and limitations
17+ # under the License.
18+ #
19+
20+ project.repositories :
21+ - apache-mynewt-core
22+
23+ repository.apache-mynewt-core :
24+ type : github
25+ vers : 0-dev
26+ user : apache
27+ repo : mynewt-core
28+
29+ project.repositories.allowed :
30+ - apache-mynewt-nimble
31+ - apache-mynewt-mcumgr
Original file line number Diff line number Diff line change @@ -100,3 +100,31 @@ jobs:
100100 echo "Checking target ${{ matrix.targets }}"
101101 ! newt upgrade &> tmp.txt
102102 cat tmp.txt | tail -n `wc -l < expected.txt` | diff -w expected.txt -
103+
104+ test_upgrade_filters :
105+ name : newt upgrade (filters)
106+ strategy :
107+ fail-fast : false
108+ matrix :
109+ os : [ubuntu-latest, windows-latest, macos-latest]
110+ runs-on : ${{ matrix.os }}
111+ steps :
112+ - uses : actions/checkout@v3
113+ - uses : actions/setup-go@v3
114+ with :
115+ go-version : ' stable'
116+ - name : Build newt
117+ working-directory : newt
118+ shell : bash
119+ run : |
120+ go version
121+ go build
122+ echo ${GITHUB_WORKSPACE}/newt >> $GITHUB_PATH
123+ git config --global url."https://github.com/".insteadOf "[email protected] :" 124+ - name : Test upgrade allowed-ignored
125+ shell : bash
126+ working-directory : .github/newt_upgrade/allowed-ignored
127+ run : |
128+ echo "Test upgrade"
129+ newt upgrade
130+ ls repos | diff -w expected.txt -
You can’t perform that action at this time.
0 commit comments