Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Partner Webcast – Setting up Oracle Developer CS for Docker Container builds on OCI

498 views

Published on

Oracle Developer Cloud Service (DevCS) is a cloud-based software development Platform as a Service (PaaS) and a hosted environment for your application development infrastructure. It provides an open source standards-based solution to plan, develop, collaborate, build, and deploy applications in Oracle Cloud.

Oracle Developer CS can automate your software development and delivery cycles, and help your teams manage agile development processes

Read More @ https://blogs.oracle.com/imc/partner-webcast-setting-up-oracle-developer-cs-for-docker-container-builds-on-oci

Presenter: Alper Ozisik

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Partner Webcast – Setting up Oracle Developer CS for Docker Container builds on OCI

  1. 1. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Setting up Oracle Developer CS for Docker Container builds on OCI Alper Ozisik Cloud Adoption & Implementation Consultant Oracle EMEA A&C CCoE IMC August 2019 Partner Webcast
  2. 2. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. 4
  3. 3. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Program Agenda Quick Overview Setup OCI for DevCS Setup Project Docker Build & Docker Registry (OCI) Q&A 1 2 3 4 5 5
  4. 4. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Quick Overview What is DevCS? How do I use it? 6
  5. 5. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Program Agenda Quick Overview Setup OCI for DevCS Setup Project Docker Build & Docker Registry (OCI) Q&A 1 2 3 4 5 7
  6. 6. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | What is DevCS? 8 • A cloud service for developers by Oracle • Basically, it is CI/CD tool + git + wiki • It is free in most circumstances
  7. 7. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | How Do I get started with DevCS? 9 • Create your DevCS instance • Follow the steps, strait forward (Demo) • Make your own
  8. 8. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | • Start with brand new DevCS instance • Setting up OCI for DevCS • Setting up Project • Upload local files via git • Setup a basic git flow, branch protection • Setup Build Machine template • Setup Automated Builds • Setup OCI Docker repository • Build the project • Execute automated tests via build, via Docker, [Multi-stage builds] • Introduce errors in the Project • Docker login into repository • Pull & run image (local) 10 Topics to be covered in ≈1 Hour
  9. 9. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Setup OCI for DevCS Do it once 11
  10. 10. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Program Agenda Quick Overview Setup OCI for DevCS Setup Project Docker Build & Docker Registry (OCI) Q&A 1 2 3 4 5 12
  11. 11. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Setup OCI for DevCS 13
  12. 12. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Setup Project Repeat for all projects 14
  13. 13. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Program Agenda Quick Overview Setup OCI for DevCS Setup Project Docker Build & Docker Registry (OCI) Q&A 1 2 3 4 5 15
  14. 14. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Steps 16 1. Create a new Project 2. Git clone (setup https if not done before) 3. Review the Project 4. Push local files 5. Setup & protect branches (enforce git flow)
  15. 15. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Docker Build & Docker Registry (OCI) Let the games begin 17
  16. 16. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Program Agenda Quick Overview Setup OCI for DevCS Setup Project Docker Build & Docker Registry (OCI) Q&A 1 2 3 4 5 18
  17. 17. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 1. Configure a (Docker) build template 2. Get to know your OCI Docker repository 3. Configure build and it’s automation: branches, tags, target repo 4. Start building 5. Introduce an error 6. Check Docker repo 7. Docker login into repository 8. Pull & Run your container image locally 19 Steps
  18. 18. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Policy for Registry • Allow group DevCSGroup to manage repos in tenancy 20 Target group name Level of access
  19. 19. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Pull image 1. Docker login: docker login <region-code>.ocir.io 2. Username (your user, not devcs.user): <tenancy-namespace>/<username> 3. Password: <Auth Token> 21
  20. 20. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Q&A Answer to the Ultimate Question of Life, the Universe, and Everything (42) 22
  21. 21. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Program Agenda Quick Overview Setup OCI for DevCS Setup Project Docker Build & Docker Registry (OCI) Q&A 1 2 3 4 5 23
  22. 22. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Useful links For further information 24
  23. 23. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Links 1/2 • Region codes: https://docs.cloud.oracle.com/iaas/Content/Registry/Concepts/registrypre requisites.htm#Availab • Sample with OCIR: https://www.oracle.com/webfolder/technetwork/tutorials/obe/oci/registr y/index.html • Policy for repository Access: https://docs.cloud.oracle.com/iaas/Content/Registry/Concepts/registrypoli cyrepoaccess.htm • Sample project: https://github.com/oracleimc/devcs-docker-build 25
  24. 24. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Links 2/2 • Automate CI/CD Docker with DevCS: https://blogs.oracle.com/shay/automating-cicd-for-docker-with-oracle- cloud-infrastructure-registry-and-developer-cloud-service • Required Keys and OCIDs: https://docs.cloud.oracle.com/iaas/Content/API/Concepts/apisigningkey.ht m • OCI setup for DevCS: https://docs.oracle.com/en/cloud/paas/developer- cloud/csdcs/service-setup.html • Generate SSH key: https://docs.oracle.com/en/cloud/iaas/compute-iaas- cloud/stcsg/generating-ssh-key-pair.html 26
  25. 25. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 28

×