From 82ed6080ee22a354dc653c128576dc70abaa4979 Mon Sep 17 00:00:00 2001 From: Fernando Theirs Date: Wed, 15 Sep 2021 13:57:56 -0300 Subject: [PATCH 01/15] Actions demo --- .github/workflows/github-actions-demo.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/github-actions-demo.yaml diff --git a/.github/workflows/github-actions-demo.yaml b/.github/workflows/github-actions-demo.yaml new file mode 100644 index 0000000..711d62e --- /dev/null +++ b/.github/workflows/github-actions-demo.yaml @@ -0,0 +1,17 @@ +name: GitHub Actions Demo +on: [push] +jobs: + Explore-GitHub-Actions: + runs-on: ubuntu-latest + steps: + - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." + - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" + - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." + - name: Check out repository code + uses: actions/checkout@v2 + - run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner." + - run: echo "🖥️ The workflow is now ready to test your code on the runner." + - name: List files in the repository + run: | + ls ${{ github.workspace }} + - run: echo "🍏 This job's status is ${{ job.status }}." From 388901f627c3eaf01d9d10cd2c3f9c037ca6508e Mon Sep 17 00:00:00 2001 From: Fernando Theirs Date: Wed, 15 Sep 2021 14:05:13 -0300 Subject: [PATCH 02/15] Add new file --- newFile | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 newFile diff --git a/newFile b/newFile new file mode 100644 index 0000000..e69de29 From e8554b1912cd96968b61a26713c90d993876a753 Mon Sep 17 00:00:00 2001 From: Fernando Theirs Date: Wed, 15 Sep 2021 14:21:35 -0300 Subject: [PATCH 03/15] another new file --- newFile2 | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 newFile2 diff --git a/newFile2 b/newFile2 new file mode 100644 index 0000000..e69de29 From 19fabf6a9df28a95d24af5ed01fb6b0e408c3993 Mon Sep 17 00:00:00 2001 From: Fernando Theirs Date: Wed, 15 Sep 2021 14:22:38 -0300 Subject: [PATCH 04/15] modified actions --- .github/workflows/github-actions-demo.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/github-actions-demo.yaml b/.github/workflows/github-actions-demo.yaml index 711d62e..ccdebac 100644 --- a/.github/workflows/github-actions-demo.yaml +++ b/.github/workflows/github-actions-demo.yaml @@ -15,3 +15,13 @@ jobs: run: | ls ${{ github.workspace }} - run: echo "🍏 This job's status is ${{ job.status }}." + + Try-Something-With-Docker: + runs-on: ubuntu-latest + container: ubuntu/grafana + steps: + - name: Running in container + - run: | + echo This job does specify a container. + echo It runs in the container instead of the VM. + - run: uname -a From 2f468b3c566ea94c53609ff52225a6c56c45bfb4 Mon Sep 17 00:00:00 2001 From: Fernando Theirs Date: Wed, 15 Sep 2021 14:26:56 -0300 Subject: [PATCH 05/15] modified actions --- .github/workflows/github-actions-demo.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/github-actions-demo.yaml b/.github/workflows/github-actions-demo.yaml index ccdebac..7068c56 100644 --- a/.github/workflows/github-actions-demo.yaml +++ b/.github/workflows/github-actions-demo.yaml @@ -23,5 +23,5 @@ jobs: - name: Running in container - run: | echo This job does specify a container. - echo It runs in the container instead of the VM. + - run: echo It runs in the container instead of the VM. - run: uname -a From ecbe90e4651ea7fbdd06e4b1a000da7fb9e6f726 Mon Sep 17 00:00:00 2001 From: Fernando Theirs Date: Wed, 15 Sep 2021 14:28:17 -0300 Subject: [PATCH 06/15] modified actions --- .github/workflows/github-actions-demo.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/github-actions-demo.yaml b/.github/workflows/github-actions-demo.yaml index 7068c56..1ce4b75 100644 --- a/.github/workflows/github-actions-demo.yaml +++ b/.github/workflows/github-actions-demo.yaml @@ -21,7 +21,6 @@ jobs: container: ubuntu/grafana steps: - name: Running in container - - run: | - echo This job does specify a container. - - run: echo It runs in the container instead of the VM. + - run: echo "This job does specify a container."" + - run: echo "It runs in the container instead of the VM."" - run: uname -a From b38b01a7e42a3179b4f0449cd8b6de9972218f27 Mon Sep 17 00:00:00 2001 From: Fernando Theirs Date: Wed, 15 Sep 2021 14:29:48 -0300 Subject: [PATCH 07/15] modified actions --- .github/workflows/github-actions-demo.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/github-actions-demo.yaml b/.github/workflows/github-actions-demo.yaml index 1ce4b75..c20494f 100644 --- a/.github/workflows/github-actions-demo.yaml +++ b/.github/workflows/github-actions-demo.yaml @@ -18,9 +18,8 @@ jobs: Try-Something-With-Docker: runs-on: ubuntu-latest - container: ubuntu/grafana + container: + image: ubuntu/grafana steps: - name: Running in container - - run: echo "This job does specify a container."" - - run: echo "It runs in the container instead of the VM."" - run: uname -a From 9aeb973daf4b11a60e66fc7e720389122ed7fb1b Mon Sep 17 00:00:00 2001 From: Fernando Theirs Date: Wed, 15 Sep 2021 14:32:43 -0300 Subject: [PATCH 08/15] modified actions --- .github/workflows/github-actions-demo.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/github-actions-demo.yaml b/.github/workflows/github-actions-demo.yaml index c20494f..7befa11 100644 --- a/.github/workflows/github-actions-demo.yaml +++ b/.github/workflows/github-actions-demo.yaml @@ -21,5 +21,7 @@ jobs: container: image: ubuntu/grafana steps: - - name: Running in container + - name: ContainerTest - run: uname -a + uses: actions/checkout@v2 + - run: echo "Finished OK" From f3207916240845c0c98d57605c0e92ce6b7d8c8d Mon Sep 17 00:00:00 2001 From: Fernando Theirs Date: Wed, 15 Sep 2021 14:57:54 -0300 Subject: [PATCH 09/15] modified actions --- .github/workflows/github-actions-demo.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github-actions-demo.yaml b/.github/workflows/github-actions-demo.yaml index 7befa11..5bbcd73 100644 --- a/.github/workflows/github-actions-demo.yaml +++ b/.github/workflows/github-actions-demo.yaml @@ -22,6 +22,7 @@ jobs: image: ubuntu/grafana steps: - name: ContainerTest - - run: uname -a - uses: actions/checkout@v2 + # - run: uname -a + - run: echo "Just echo something" + # uses: actions/checkout@v2 - run: echo "Finished OK" From c9bcad4951d4438448f565ac8a2220fc991a6f4e Mon Sep 17 00:00:00 2001 From: Fernando Theirs Date: Wed, 15 Sep 2021 15:03:27 -0300 Subject: [PATCH 10/15] update --- .github/workflows/github-actions-demo.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/github-actions-demo.yaml b/.github/workflows/github-actions-demo.yaml index 5bbcd73..b28da03 100644 --- a/.github/workflows/github-actions-demo.yaml +++ b/.github/workflows/github-actions-demo.yaml @@ -22,7 +22,7 @@ jobs: image: ubuntu/grafana steps: - name: ContainerTest + uses: actions/checkout@v2 # - run: uname -a - run: echo "Just echo something" - # uses: actions/checkout@v2 - run: echo "Finished OK" From 006d9eb10591557b69bb2c142e0218ee9aeeb1cf Mon Sep 17 00:00:00 2001 From: Fernando Theirs Date: Wed, 15 Sep 2021 15:07:52 -0300 Subject: [PATCH 11/15] update --- .github/workflows/github-actions-demo.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github-actions-demo.yaml b/.github/workflows/github-actions-demo.yaml index b28da03..d239922 100644 --- a/.github/workflows/github-actions-demo.yaml +++ b/.github/workflows/github-actions-demo.yaml @@ -19,10 +19,10 @@ jobs: Try-Something-With-Docker: runs-on: ubuntu-latest container: - image: ubuntu/grafana + image: grafana/grafana steps: - name: ContainerTest + - run: uname -a uses: actions/checkout@v2 - # - run: uname -a - run: echo "Just echo something" - run: echo "Finished OK" From c3acb452f0f3e8fdcbaaa8d0d659f0c887c97af2 Mon Sep 17 00:00:00 2001 From: Fernando Theirs Date: Wed, 15 Sep 2021 15:08:31 -0300 Subject: [PATCH 12/15] update --- .github/workflows/github-actions-demo.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/github-actions-demo.yaml b/.github/workflows/github-actions-demo.yaml index d239922..c83e5dd 100644 --- a/.github/workflows/github-actions-demo.yaml +++ b/.github/workflows/github-actions-demo.yaml @@ -22,7 +22,7 @@ jobs: image: grafana/grafana steps: - name: ContainerTest - - run: uname -a uses: actions/checkout@v2 + - run: uname -a - run: echo "Just echo something" - run: echo "Finished OK" From 262e388b50bf0b9f64361d088435848139b76a98 Mon Sep 17 00:00:00 2001 From: Fernando Theirs Date: Wed, 15 Sep 2021 15:28:59 -0300 Subject: [PATCH 13/15] update --- .github/workflows/github-actions-demo.yaml | 26 +++++++++++++++------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/.github/workflows/github-actions-demo.yaml b/.github/workflows/github-actions-demo.yaml index c83e5dd..213de44 100644 --- a/.github/workflows/github-actions-demo.yaml +++ b/.github/workflows/github-actions-demo.yaml @@ -16,13 +16,23 @@ jobs: ls ${{ github.workspace }} - run: echo "🍏 This job's status is ${{ job.status }}." - Try-Something-With-Docker: + node-docker: runs-on: ubuntu-latest - container: - image: grafana/grafana + container: + image: node:14.15.0-alpine3.12 steps: - - name: ContainerTest - uses: actions/checkout@v2 - - run: uname -a - - run: echo "Just echo something" - - run: echo "Finished OK" + - name: Log the node version + run: | + node -v + cat /etc/os-release + + # Try-Something-With-Docker: + # runs-on: ubuntu-latest + # container: + # image: grafana/grafana + # steps: + # - name: ContainerTest + # uses: actions/checkout@v2 + # - run: uname -a + # - run: echo "Just echo something" + # - run: echo "Finished OK" From 115e0ccd3e4ff6abf410d6e8316b20c9bc2c3c0d Mon Sep 17 00:00:00 2001 From: Fernando Theirs Date: Wed, 15 Sep 2021 15:55:51 -0300 Subject: [PATCH 14/15] update --- .github/workflows/github-actions-demo.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/github-actions-demo.yaml b/.github/workflows/github-actions-demo.yaml index 213de44..dc8d302 100644 --- a/.github/workflows/github-actions-demo.yaml +++ b/.github/workflows/github-actions-demo.yaml @@ -25,6 +25,8 @@ jobs: run: | node -v cat /etc/os-release + run: | + uname -a # Try-Something-With-Docker: # runs-on: ubuntu-latest From c839e78d1c74ab0407e233570046be7d0dd4468e Mon Sep 17 00:00:00 2001 From: Fernando Theirs Date: Wed, 15 Sep 2021 15:56:47 -0300 Subject: [PATCH 15/15] update --- .github/workflows/github-actions-demo.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/github-actions-demo.yaml b/.github/workflows/github-actions-demo.yaml index dc8d302..0b8c779 100644 --- a/.github/workflows/github-actions-demo.yaml +++ b/.github/workflows/github-actions-demo.yaml @@ -25,6 +25,7 @@ jobs: run: | node -v cat /etc/os-release + - name: Check uname for this image run: | uname -a