From ec2d0b4bb23a1a9efbf30c7b6fffd2e1fba10fd2 Mon Sep 17 00:00:00 2001 From: Chris Ayers Date: Fri, 6 Jan 2023 15:44:16 -0500 Subject: [PATCH] Updates (#1) --- .devcontainer/devcontainer.json | 42 +++ dotnet-sample/dotnet-sample.csproj | 2 +- slides/Slides.html | 394 ----------------------------- 3 files changed, 43 insertions(+), 395 deletions(-) create mode 100644 .devcontainer/devcontainer.json delete mode 100644 slides/Slides.html diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..698acb9 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,42 @@ +// For format details, see https://aka.ms/devcontainer.json. For config options, see the +// README at: https://github.com/devcontainers/templates/tree/main/src/debian +{ + "name": "Debian", + // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile + "image": "mcr.microsoft.com/devcontainers/base:bullseye", + "features": { + "ghcr.io/devcontainers/features/azure-cli:1": {}, + "ghcr.io/devcontainers/features/github-cli:1": {}, + "ghcr.io/devcontainers/features/docker-in-docker:2": {}, + "ghcr.io/devcontainers/features/dotnet:1": {}, + "ghcr.io/devcontainers/features/node:1": {}, + "ghcr.io/dhoeric/features/act:1": {} + }, + + // Features to add to the dev container. More info: https://containers.dev/features. + // "features": {}, + + // Use 'forwardPorts' to make a list of ports inside the container available locally. + // "forwardPorts": [], + + // Configure tool-specific properties. + "customizations": { + // Configure properties specific to VS Code. + "vscode": { + "settings": {}, + "extensions": [ + "cschleiden.vscode-github-actions", + "github.vscode-pull-request-github", + "github.copilot", + "redhat.vscode-yaml", + "yzhang.markdown-all-in-one", + "streetsidesoftware.code-spell-checker", + "marp-team.marp-vscode" + ] + } + }, + "postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}" + + // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. + // "remoteUser": "root" +} diff --git a/dotnet-sample/dotnet-sample.csproj b/dotnet-sample/dotnet-sample.csproj index 4ffc225..3fc2a8f 100644 --- a/dotnet-sample/dotnet-sample.csproj +++ b/dotnet-sample/dotnet-sample.csproj @@ -1,7 +1,7 @@ - net6.0 + net7.0 enable enable dotnet_sample diff --git a/slides/Slides.html b/slides/Slides.html deleted file mode 100644 index 94c8b1d..0000000 --- a/slides/Slides.html +++ /dev/null @@ -1,394 +0,0 @@ -
-

CI/CD with GitHub Actions

- -
-
-

Chris Ayers

-

Senior Customer Engineer
Microsoft

- - -
-
-

Agenda

-
    -
  • YAML
  • -
  • CI / CD
  • -
  • Actions Overview
  • -
  • Demos
  • -
- -
-
-
-

YAML

-

Yet Another Markup Language

-

GitHub uses YAML for workflows

-
-
- - - - - - - - - - - - - - - - - - - - - -
FeatureDescription
ListsStart with a –
Key-ValueKey: value
ObjectsObjects:
Properties of objects
-
-
- -
-
-

What is CI/CD?

-

contain

- -
-
-

Actions Overview

-
    -
  • Actions are Event Driven
  • -
  • Live in the .github/workflows folder
  • -
  • Workflows are defined in YAML
  • -
- -
-
-

Workflows

-
    -
  • Events trigger workflows
  • -
  • Workflows contain jobs
  • -
  • Jobs contain steps
  • -
  • Steps are commands or actions
  • -
- -
-
-

Jobs

-
    -
  • Workflows can contain multiple jobs
  • -
  • Each job runs on a Runner
  • -
- -
-
-

DEMOS

- -
-
-

Questions

- -
-
-

Resources

- - -
-
\ No newline at end of file