Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2cd4720

Browse files
committed
Release 2.0.0
Bumps up version, updates readme
1 parent 8797ee5 commit 2cd4720

File tree

3 files changed

+18
-9
lines changed

3 files changed

+18
-9
lines changed

README.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,12 @@ runtimes in addition to Docker. The workflow language is strictly a
1919
superset of GHA workflow language so Popper can run a GHA workflow
2020
locally as if it was being executed by the GHA platform.
2121

22+
<p align="center">
23+
<img src="https://systemslab.github.io/popper/images/demo.svg">
24+
</p>
25+
2226
In addition to running a GHA workflow locally, Popper provides other
23-
useful functionality:
27+
functionality:
2428

2529
* [Other runtimes](). Actions can execute locally on the host where
2630
the `popper` command runs (i.e. "outside" a container, thus not
@@ -35,12 +39,14 @@ useful functionality:
3539
* [Continuous integration](). Generate configuration files for
3640
distinct CI services that allow workflows to run on these (Travis,
3741
Jenkins, Gitlab and Circle supported).
38-
* [Action scaffolding]() **(Coming Soon)**. Aid in the
42+
* [Action scaffolding](). Aid in the
3943
implementation of new actions or building upon existing ones.
44+
* As part of our efforts, we maintain a list of
45+
actions available at <https://github.com/popperized>.
46+
47+
-----
4048

41-
As part of this effort, we also maintain a repository of
42-
[actions](https://github.com/popperized/library). The contents of this
43-
repository are:
49+
The contents of this repository are:
4450

4551
* [`cli/`](cli/). The codebase of the CLI tool.
4652
* [`docs/`](docs/). General
@@ -55,8 +61,8 @@ Quick links to other resources:
5561
* [5-minute screencast demo of the CLI](https://asciinema.org/a/227046).
5662
* [Recorded webinar presentation](https://youtu.be/tZcaV31FxUM).
5763
* [Software Carpentry formatted Lesson](https://popperized.github.io/swc-lesson/).
58-
* [List of repositories that implement Popper
59-
workflows](https://github.com/popperized).
64+
* [Github Actions awesome
65+
list](https://github.com/sdras/awesome-actions).
6066

6167
## Installation
6268

cli/popper/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '2.0.0-dev'
1+
__version__ = '2.0.0'

cli/popper/gha.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ def docker_create(self, img):
352352
self.action['name'], img, ' '.join(self.action.get('args', '')))
353353
)
354354

355-
print('docker id:', pu.exec_cmd(docker_cmd))
355+
pu.exec_cmd(docker_cmd)
356356

357357
def docker_start(self):
358358
pu.info('[{}] docker start '.format(self.action['name']))
@@ -395,3 +395,6 @@ def run(self, reuse=False):
395395

396396
if ecode != 0:
397397
pu.fail("\n\nAction '{}' failed.\n.".format(self.action['name']))
398+
399+
pu.exec_cmd(
400+
'docker rm {}'.format(self.cid), self.verbose, ignoreerror=True)

0 commit comments

Comments
 (0)