Skip to content

Commit

Permalink
add ascii pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Issanovich committed Oct 29, 2024
1 parent 5152296 commit 23555b1
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 9 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ascii-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: ASCII Workflow

on:
- push

jobs:
first_job:
name: ASCII
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Install Cowsay Program
run: sudo apt-get install cowsay -y

- name: Execute Cowsay Command
run: cowsay -f dragon "Run for cover, I am a DRAGON......RAWR" >> dragon.txt

- name: Test file exists
run: grep -i "dragon" dragon.txt

- name: Read File
run: cat dragon.txt

- name: List Repo files
run: ls -ltra
17 changes: 8 additions & 9 deletions .github/workflows/first_job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@ on:
- push

jobs:
first_job:
name: jomacs-k8s
first_job:
runs-on: ubuntu-latest
steps:
- name: First Message
run: echo "Welcome to the world of CICD with Github Actions "
- name: Checkout Code
uses: actions/checkout@v4

- name: List All Files including hidden
run: ls -1a

- name: Show Present working Directory
run: pwd
- name: List and Read files
run: |
echo "My first GitHub Actions Job"
ls -1
cat dockerfile
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
FROM tomcat:8.0.20-jre8
COPY target/*.war /usr/local/tomcat/webapps/cohort7.war

0 comments on commit 23555b1

Please sign in to comment.