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

Ilya Taskaev howework DevOps school #15 #7

Open
wants to merge 39 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
452acfe
Create main.yml
arkeyme Feb 3, 2021
3184a61
Update simple_wf.yml
arkeyme Feb 4, 2021
6be5817
111
invalid-email-address Feb 4, 2021
c5eb1e2
Changed added to WF.yml
invalid-email-address Feb 4, 2021
b7abe96
commit
invalid-email-address Feb 4, 2021
b4253c4
Delete main.yml
arkeyme Feb 4, 2021
e076ef2
commit2
invalid-email-address Feb 4, 2021
d736d31
Merge branch 'master' of https://github.com/arkeyme/devops-school
invalid-email-address Feb 4, 2021
cef29a2
fixed
invalid-email-address Feb 4, 2021
2b82a05
111
invalid-email-address Feb 4, 2021
e831f75
1111
invalid-email-address Feb 4, 2021
ba2795d
1234
invalid-email-address Feb 4, 2021
e23f969
22
invalid-email-address Feb 4, 2021
5552347
455
invalid-email-address Feb 4, 2021
61dffee
13245
invalid-email-address Feb 4, 2021
8c49fa8
new_one added
invalid-email-address Feb 4, 2021
3657994
111
invalid-email-address Feb 4, 2021
d645dca
111
invalid-email-address Feb 4, 2021
71ffc21
22
invalid-email-address Feb 4, 2021
126f7a6
41442
invalid-email-address Feb 4, 2021
a85f631
added some changes
invalid-email-address Feb 4, 2021
69dc707
1111
invalid-email-address Feb 4, 2021
e4ddae8
$GITHUB_ENV added
invalid-email-address Feb 4, 2021
ad8675b
ddddd
invalid-email-address Feb 4, 2021
cc2c820
123
invalid-email-address Feb 4, 2021
82f57da
Some changes
invalid-email-address Feb 4, 2021
f13f27e
442424
invalid-email-address Feb 4, 2021
1ad83df
1234
invalid-email-address Feb 4, 2021
02b471e
new_var created
invalid-email-address Feb 4, 2021
efeadd5
44
invalid-email-address Feb 4, 2021
6d56b72
Passing newly created variable into the file log.md
invalid-email-address Feb 4, 2021
e79dd44
Latest commit
invalid-email-address Feb 4, 2021
bbae682
Another change
invalid-email-address Feb 4, 2021
e28a5db
Deleted few lines
invalid-email-address Feb 4, 2021
5d8da3a
GITHUB_WORKSPACE var added to the WS file
invalid-email-address Feb 4, 2021
fa549d3
env fixed
invalid-email-address Feb 4, 2021
e5d5f5a
777
invalid-email-address Feb 4, 2021
ddae1a8
github.workspace
invalid-email-address Feb 4, 2021
201ddd4
Delete new_one.yml
arkeyme Feb 4, 2021
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
9 changes: 2 additions & 7 deletions .github/actions/action_1.2/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
echo "EXECUTING PYTHON SCRIPT..."
python3 /main.py

echo "ls -lah"
ls -lah
#Passing newly created variable into the file log.md
echo " $INPUT_NEW_VAR" >> log.md

echo "pwd"
pwd

echo "ls -lah /github/workspace"
ls -lah /github/workspace
18 changes: 11 additions & 7 deletions .github/workflows/simple_wf.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,26 @@
name: Simple Workflow

name: Manually triggered workflow
on:
workflow_dispatch:

workflow_dispatch:
inputs:
name:
description: 'Write something to add to the log.md'
required: true
default: 'Log stump'

jobs:

TIMESTAMP:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: 1.1 UPLOADING FILES
run: |
cp ./scripts/main.py ./.github/actions/action_1.2/main.py
- name: 1.2 EXECUTING THE PYTHON SCRIPT
uses: ./.github/actions/action_1.2
with:
new_var: ${{ github.event.inputs.name }}
- name: 1.3 DOWNLOAD ARTIFACT
uses: actions/upload-artifact@v2
with:
name: log.md
path: /home/runner/work/devops-school/devops-school/log.md
path: ${{ github.workspace }}/log.md