Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.1 -> main] Antelope rename changes #14

Merged
merged 36 commits into from
Aug 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
c725696
Update submodule URLs
arhag Aug 11, 2022
3687f2e
Rename eosio-wasm-spec-tests to wasm-spec-tests
arhag Aug 11, 2022
9094e03
Update submodule commits
arhag Aug 11, 2022
d93fb8e
Update appbase submodule commit.
arhag Aug 11, 2022
3323183
Remove mandel and https://github.com/eosnetworkfoundation/mandel refe…
linh2931 Aug 12, 2022
8346b12
Bump chainbase and wasm-spec-tests versions, change bios-boot-tutoria…
linh2931 Aug 12, 2022
b33095c
More corrections of leap to Leap in CONTRIBUTING.md
linh2931 Aug 12, 2022
c0ff864
Corrections to Bios Boot Tutorial
arhag Aug 12, 2022
031a170
use leap's own directory for leap-config.cmake
linh2931 Aug 12, 2022
fa381cd
Some package related renaming of EOSIO to Leap.
arhag Aug 12, 2022
2883ea9
Merge pull request #2 from AntelopeIO/remove_mandel_references
arhag Aug 13, 2022
481a458
bump wasm-spec-tests to latest antelope-main
spoonincode Aug 15, 2022
283fd82
Remove leap from deep-mind version logging; bump eos-vm and wasm-spec…
linh2931 Aug 15, 2022
3a797ac
bump wasm-spec-tests to latest antelope-main
spoonincode Aug 15, 2022
98b3240
Merge pull request #4 from AntelopeIO/wasm_spec_test_bump
arhag Aug 15, 2022
e5a6275
Merge branch 'antelope-3.1' into more_cleaning_up
arhag Aug 15, 2022
2a646f1
Update deep-mind.log to match DEEP_MIND_VERSION
linh2931 Aug 15, 2022
e42364c
Merge branch 'more_cleaning_up' of https://github.com/AntelopeIO/leap…
linh2931 Aug 15, 2022
7cc20c3
Merge pull request #5 from AntelopeIO/more_cleaning_up
linh2931 Aug 15, 2022
20cad8b
bump abieos to latest antelope-3.1
linh2931 Aug 16, 2022
1304033
Migrate CI to ENF runners & new platform framework
spoonincode Aug 14, 2022
f00fb49
fix package CONFLICTS
spoonincode Aug 16, 2022
6b759d0
Merge pull request #7 from AntelopeIO/bump_abieos_version
arhag Aug 16, 2022
9d76aed
Merge pull request #8 from AntelopeIO/new_cicd
arhag Aug 16, 2022
e120025
Merge pull request #9 from AntelopeIO/fix_conflicts
arhag Aug 16, 2022
0f9018b
Merge pull request #10236 from EOSIO/disable_appbase_git_describe
spoonincode Apr 12, 2021
920ff0b
Update appbase submodule
arhag Aug 16, 2022
be7f622
Merge pull request #10 from AntelopeIO/update-appbase-submodule
arhag Aug 16, 2022
29a456f
More clearly explain what Leap is in the README
arhag Aug 17, 2022
6c4286d
Add back leap to DEEP_MIND_VERSION
arhag Aug 17, 2022
53ef363
change art to 🅻🅴🅰🅿
spoonincode Aug 17, 2022
0d75d5b
Merge pull request #12 from AntelopeIO/🅻🅴🅰🅿
spoonincode Aug 17, 2022
37cdac8
Merge pull request #11 from AntelopeIO/antelope-3.1
arhag Aug 17, 2022
f27b0c0
bump version to 3.1.0-rc4
arhag Aug 17, 2022
579d3f6
Merge pull request #13 from AntelopeIO/bump-310rc4
arhag Aug 17, 2022
9db5f97
Merge branch 'release/3.1' into antelope-main
arhag Aug 17, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .cicd/actions/discover-platforms-action/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Copyright (c) 2022 EOS Network Foundation (ENF)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
66 changes: 66 additions & 0 deletions .cicd/actions/discover-platforms-action/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
## Discover Platform Image Names & Missing Images

This action discovers the appropriate container registry image tags for a collection of "platforms" (Dockerfiles) defined in the current repo. The returned values are based on the owner of the repo, a configured package name, and the sha256 of the Dockerfile. It will also return an array of platform names whose images are not present in the container registry so the workflow can then go on to build and push them (this action will _not_ build and push them, as most likely you'd want to parallelize them in a follow on matrix'ed job).

### Inputs

Three inputs are required:
* **platform-file** - Path to file in repository that defines platforms & dockerfiles
* **package-name** - The package name in this repo owner's container registry to look for existing container images
* **password** - Token that has read access to repository & package in container registry

Example:
```
steps:
- name: Discover Platforms
id: discover
uses: AntelopeIO/discover-platforms-action@v1
with:
platform-file: .cicd/platforms.json
password: ${{secrets.GITHUB_TOKEN}}
package-name: builder
```
Where `.cicd/platforms.json` is, for example
```json
{
"ubuntu18": {
"dockerfile": ".cicd/platforms/ubuntu18.Dockerfile"
},
"ubuntu20": {
"dockerfile": ".cicd/platforms/ubuntu20.Dockerfile"
}
}
```

### Outputs
* **platforms** - The object from the `platform-file` input (see above) but with the container image and tag added
* **missing-platforms** - An array of platforms that were not found in the container registry (could be an empty array)

Example for `platforms`:
```json
{
ubuntu18: {
dockerfile: '.cicd/platforms/ubuntu18.Dockerfile',
image: 'ghcr.io/AntelopeIO/builder:8c724d9fe6f9819d9f0bd6bdff592dd971d17bd8b69fa7fef05897b8ba7e0291'
},
ubuntu20: {
dockerfile: '.cicd.platforms/ubuntu20.Dockerfile',
image: 'ghcr.io/AntelopeIO/builder:130e29695cbbd21fe2ad5c5ba6e320888a97417ddc7baa0a7a6f7b3cd145cbd2'
}
}
```

Example `missing-platforms`:
```json
["ubuntu18", "ubuntu20"]
```
or if both tags in the above example had already existed,
```json
[]
```

### Rebuilding `dist`
```
ncc build main.mjs --license licenses.txt
```

17 changes: 17 additions & 0 deletions .cicd/actions/discover-platforms-action/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: 'Discover Platforms'
description: 'Discover Platform Tags & Unbuilt Platform Tags'
inputs:
platform-file:
required: true
password:
required: true
package-name:
required: true
outputs:
missing-platforms:
description: 'Array of platforms that need to be built'
platforms:
description: 'Populated map with platform:{dockerfile, tag}'
runs:
using: 'node16'
main: 'dist/index.mjs'
Loading